Compiz Problems (Plugin Missing, Performance Issues, Development)

If I am allowed, I would like to cover certain doubts and questions in regards to Compiz. I will first start with the original question and add 2 more related sujects in regards to compiz

Compiz Plugins Missing / Theme Decorators

As seen in the following Bug Report and launchpad links HERE and HERE they are part of a much larger group of Addons that still have performance, stability or compatibility issues.

They were removed to assure the end user, that Compiz would have less chance of crashing the system or creating stability issues in general. Although some of them were later implemented, they need proper testing to ensure that when they get added again, they will work correctly. Some might not get added back again, some will do. Others still need more work to let them use less CPU/Memory or create Crashes. The latter is the one that is getting more work since it affects Unity directly.

You can see how everything is coming along here: https://launchpad.net/compiz

And if you look here: https://launchpad.net/compiz/+milestone/0.9.9.0

you can see there are more important things to fix before adding new material/plugins again to the code. For example, the most noticeable of all is performance issues which, in past versions took a big chunk of the frames your video card had (And affected Unity's performance at the end).

Compiz Performance

In the past (Ubuntu 11.04 & 11.10), the performance of Compiz (And Unity as a derivative of it) had a performance impact when using low to mid range Video Cards. Even high grade cards felt the impact. With version 12.04, the performance impact was lowered for most users and it was much better than previous versions. This performance was better improved when the 12.10 came, bringing with it a more updated video drivers (Nvidia and Intel specially). More users reported better performance in general. With the 310.xx series of Nvidia for example, users could feel the huge benefit from video performance.

In fact, I did a check with 5 computers, comparing the 306.xx series with the latest 310.xx series and the results were truly 50% better. I actually did not trust the 50% but using Unity with Wine games, OpenGL games or doing a glx or any kind of benchmark (Before and after using the 310.xx series) I could see a general performance boost. The computers I tested were:

Nvidia Geforce 8600 GT + Intel Core 2 Duo 7200 + 2GB
Nvidia Geforce 9500 + Intel Core 2 Duo 8500 + 4GB
Nvidia Geforce 440  + Intel Core 2 Quad Q9500 + 4GB
Nvidia Geforce 550 GTX TI + Intel Core i7 2600 + 16GB
Nvidia Geforce 560 GTX TI + Intel Core i7 2600 + 16GB

The latest version of Nvidia has an specific improvement for Unity  in the last part were it mentions:

Improved performance and responsiveness of windowed OpenGL applications running inside a Unity session

Nvidia is not the only one working to improve the performance in Ubuntu while using Compiz/Unity. Intel with it's latest drivers also improved for users using Sandy Bridge or Ivy Bridge video technology. (The 3000/4000 series). Apart from this, AMD/Ati is not far behind with much work on the latest proprietary drivers. So basically with the help from several companies in the gaming and hardware world, Unity/Compiz is becoming a much better desktop with performance and stability in mind.

Compiz Performance with OpenGL Apps (Games, 2D, 3D)

Should be mentioned that as part of an ongoing work to improve OpenGL performance, specially with the help from Nvidia, intel and Valve, there has been a lot of work on Compiz and Unity about this. Posts like THIS mention improvements with Compiz of 18%. Between this and the enhancements with Ati, Intel and Nvidia (Nvidia and Intel with performance boosts) you can be sure that performance and stability are #1 with the Compiz project.

Although Plugins come second, they are still worked on if you follow the changelog for Compiz. Apart from this, many performance issues are been worked on for Ubuntu 13.04 (But also for 12.10 and previous active versions) that will come from several parts, including the Linux Kernel 3.8, the Nvidia Drivers, the Intel Stack, the new Ati Drivers, the work done by the Ubuntu Developers in Unity and Compiz and the Testing done by it's users.

Compiz Development Slowed

As some have read, Sam Spilsbury, one of the main Compiz developers left Canonical in pursuit of his university studies (Good decision), but this does not mean Compiz is dead, dying, slowed or other wise. As a matter of fact, Compiz right now has a little over 100+ members related to the Compiz team, of which, 13 are direct ones which are still active and working on either Compiz 0.9.9, Compiz 0.9.8.8 or both.

So this means that there are more developers right now working in Compiz than there were years ago and activity within the Compiz project is not dead at all, so much so that we can see articles that mention Improved gaming performance.

Now, with this is mind, there is also work that has started in relation to Wayland and how it might change the landscape of compiz, Unity and Ubuntu over the following years. There is already talk about Unity moving towards Wayland and how this move is supported more and more over time with all the technical issues surrounding the development of X and the impact Compiz has on some video cards and their performance.

Little by little Ubuntu will be gaining support for Wayland in each new release towards a final goal of switching completely from X to W(ayland).

I hope the users that read this understand all the good news. I wrote all of this to help everyone understand some of the facts about Unity, Compiz and the work done in general.

If you have any additional information please feel free to comment. If you have found bugs, please report them here: https://bugs.launchpad.net/compiz

Hope to help everyone with trouble with compiz. Remember to check Askubuntu for other related Compiz problems or doubts ( Like How to correctly enable Desktop Cube )

Thank you.


No USBs detected on Windows 10 guest with virtualbox (6.1.10-dfsg-1~ubuntu1.20.04.1)?

Adding the current user to vboxusers group fixed the problem. The USB devices are now showing up on the Windows 10 VM.
sudo gpasswd -a yourusername vboxusers

Reference - How to Access USB from VirtualBox Guest OS


how can I install moonlight for Chrome in 12.04?

Take a look at the Moonlight project page http://www.go-mono.com/moonlight/download.aspx (this link returns 403. Use this alternative link):

Steps to install Moonlight

Download the .crx file from here (alternative link: here).
Open chrome://chrome/extensions/ in a new tab and drag the the .crx file onto the page.

Hope this helps.


16.04: Change increments of time to move forward or backward with Videos AKA Totem

Bare key        with Shift     with Control
Left arrow      -15sec          -5sec          -3min
Right arrow     +1min           +15sec         +10min

Hope this helps.


There may be settings built into your physical monitor's menu but other than than Ubuntu can not control the brightness of any monitors other than a built-in laptop display. Sorry for the inconvenience. Hope this helps!


Radeon HD5570 HDMI Video Card 5.1 Audio doesn't work

According to AMD's tech support, AMD graphics cards do not offer drivers for linux to allow 5.1 or 7.1 sound through HDMI. So stereo is the best i'll be able to get with this video card. Nvidia cards are better supported with linux so I will likely end up going with another card.

I'll update this with specifics when I get a new card working properly.


Overwritten /usr/share/bin. Am I doomed?

Not doomed at all.

Nothing critical in a Ubuntu Desktop or Ubuntu Server install uses /usr/share/bin.

Run dpkg -S /usr/share/bin to list your installed packages that use dir. Those packages, if any, should be reinstalled.

If the reply is no path found matching pattern, then you indeed have nothing installed that uses the dir.


Why won't Ubuntu recognize my login and password?

Go to System settings -> Brightness and lock. Turn the lock off, and disable Require my password when waking from suspend.


how to view system startup and shutdown information


Do not know how to open a gedit back-up file, would appreciate some help

Gedit itself is used to open backup files .
 Right click on file open with gedit
Or
 Open terminal to that path and type

gedit filename

(filename that ends with ~)
If u forget to save file i recommend to turn on autosave after every x min in preference option of gedit


Asus ROG GL552VW backlit keyboard driver issue - ububtu 20lts

You need the latest kernel. Do you have 5.6 or 5.7 ?
If not look at this : https://wiki.ubuntu.com/Kernel/MainlineBuilds
Ant this could help too :
Automatic : https://linuxconfig.org/how-to-upgrade-kernel-to-latest-version-on-ubuntu-20-04-focal-fossa-linux
Manual : http://ubuntuhandbook.org/index.php/2020/01/install-kernel-5-5-ubuntu/


How can I restore the administration menu?

To force Gnome to recreate its panels with default values, enter the following commands into a terminal:

gconftool --recursive-unset /apps/panel (This wipes the panel’s settings)

rm -rf ~/.gconf/apps/panel (This deletes the panel’s folders and files)

killall gnome-panel (This forces the panel to close and restart)

Your panel should now be back with all its menus (but of course minus any customisations). If for some reason they don’t appear immediately, a reboot should fix it.


juju doesn't bootstrap due to "ERROR command failed: no tools available" error

See my answer here. How can I copy Juju tools for use in my deployment?

nutshell use $ juju sync-tools to copy from a globally available release to your private cloud.


I manage to boot with kernel option "acpi=off noapic"

and only one core works...


Which are the default installed programs in Xubuntu which are safety to uninstall?

The Xubuntu developers have been working to build a stripped-down core version called Xubuntu Core.  If you look at the xubuntu-core metapackage you'll find what is considered currently the absolute core to keep and still be considered to be running Xubuntu.


software not appearing in Ubuntu software

The default Software app (Gnome Software) does not show the softwares which gained relatively less fame, at least I think so.

There is no software ncbi-blast in the repo, but there is software named ncbi-blast+. To install it:

Press Ctrl+Alt+T to open Terminal and type:

sudo apt update
sudo apt install ncbi-blast+

You can install other packages by sudo apt install <package_name>.

If you are having problems, post the output of cat /etc/apt/sources.list.


How to use cron job to execute python script that sends emails without using MTA?

I find syntax error in my crontab. I have one more * in my crontab.

So this works fine:

15 16 * * 3 cd /home/path_to_app && /home/path_to_env/flaskvenv/bin/python -m app.cron


how to create a tap interface for non-superuser on ubuntu 16.04 xenial

I am reading the ubuntu documentation. I am close to a solution. This question can be marked as answered as I now see a tap0 interface after doing a sudo tunctl -d tap 0, to delete a tap0 interface I created earlier, and then doing a sudo tunctl -u x and then a ifconfig tap0 192.168.1.254 up. I haven't fixed it yet completely , but the interface is there and I can ping it. So I see light at the end of the tunnel and I require no further help. Thank you.


error in installing internet explorer using ies4linux on ubuntu 15.04

I tried playonlinux and it installed ie8 for me.


Clementine doesn't seem to have permissions to orginize files in mounted drive

The clementine snap mentions the removable-media interface, which is used to enable applications to see mounted media like this.
Try snap connect clementine:removable-media.


How to extend root partition using unallocated space?

Run in terminal

 sudo swapoff -a

That will turn off swapping. Now it is on and you can't do anything with sda8.

You can also turn off swap in gparted by right-clicking the swap partition. You will see an option to disable swap.

Then you will be able to move sda8 partition left, then extend sda9.

After you move the left-hand side of your Ubuntu / partition you may have problems with Ubuntu booting. That can be fixed by re-installing grub.


ffmpeg: how to include a later starting dvb-subtitle stream?

Use the ffmpeg option -probesize to force ffmpeg to search enough bytes into the input file, and option -analyzeduration to force it to search for enough seconds.

The ffmpeg documentation, 19 Format Options explains the options. Each takes an integer argument, with suffixes like M to indicate millions, and G to indicate billions. The argument to -probesize specifies how many bytes to search (default: 5 million). The argument to -analyzeduration specifies how many microseconds to search (default: 5 million microseconds, or 5 seconds). In both cases, they measure from the start of the input file.  The search ends when the earlier of these two arguments expires. Put these options before the -i argument naming the input file.

Your example shows this message about the start of the new stream:

New subtitle stream 0:6 at pos:100252692 and DTS:40471.3s

pos is a byte count. The new stream is at 100,252,692, or just over 100 million. DTS means Decoding Time Stamp (I believe, per an ffmpeg tutorial), and is in seconds. The new stream is at 40,471.3 seconds, compared to a DTS of about 40,328.6 seconds at the start of the video, so the new stream is about 147.7 seconds in.

So, you want to search at least 101 million bytes and 150 million microseconds into the input video. Insert these options before the -i fa1.m2t, giving:

$ ffmpeg -probesize 101M -analyzeduration 150M -i fa1.m2t -ss 0:02:22 -to 01:34:17 -map 0:1 -map 0:2 -map 0:6? -c:v libx265 -crf 28 -preset ultrafast -c:a aac -b:a 128k -c:s copy fa1.mkv

[Note: new command not tested, since I don't have your input file.]


Deja-dup failing with "Host key verification failed"

I had the same problem and did some digging.

Deja-dup is a GUI frontend for duplicity, which uses paramiko on the backend.

Parakmiko uses ~/.ssh/known_hosts for its host-key verification.

Make sure that you can SSH in using the same hostname that is configured in Deja-dup. Being able to ssh directly to the server's IP isn't enough, you have to be able to ssh to the specific hostname as well. Use "ssh -F /dev/null server.name" to make sure your local config file isn't doing something weird.

After being able to ssh in to the same hostname declared in deja-dup-preferences, I was able to run "deja-dup --backup" without it complaining about the host-key.


How do I install missing manpages in a chroot running in Ubuntu Touch?

The man pages and man tool simply need be installed, and you need to be running the command within the chroot after doing sudo chroot . inside its root directory.

If man pages aren't working, then likely there is some other underlying issue, such as the files have somehow been removed from disk. I just tested here on my Nexus 4, and man ls in the chroot works just fine.


You can also try as root.

Step #1:
In terminal type:

sudo -i

Step #2:
In terminal type:

umount /dev/sda3

Sources:
https://help.ubuntu.com/community/RootSudo


How can I hide directories or files without changing their names?

Assuming you only care about hiding the files from showing up in nautilus, there is a bug on the GNOME Bugzilla about this. However, currently, that bug has not been resolved.

There is another way to hide files from appearing in nautilus. If you create a file called .hidden inside of a directory, any filename listed in the file will not be displayed.

For example, below is a .hidden file that I created. This file will hide any files or folders named b or e located in the same directory as the .hidden file.

Below is a screenshot of the folder that contains the .hidden file. Note that you only see three files: a, c, and f. You do not see the .hidden file due to the '.' at the beginning of its name.

The screenshot below is of the same folder as before. However, this time, I hit Ctrl+H to cause nautilus to display hidden files and folders. Notice how there are several additional files that show up. You now see several files that were previously hidden due to having names that began with a '.'. There are also now files called 'b' and 'e', which although not having names beginning with a '.', were hidden due to being listed in the .hidden file.

Files mentioned in the .hidden file will only be hidden in nautilus. Tools like ls will still display them. The .hidden file is also not recursive. It only affects files in the same directory as the .hidden file is in.

Some people on the forum have gone ahead and created scripts for nautilus that make it easier to add files to the .hidden file. The first script includes a nice explanation about how to install and use the scripts, but the second script is a bit cleaner and shorter. Feel free to use either script to make your life a bit easier.


How do I remove a PC from the synced list

The following worked for me:

Log into your ubuntu account at https://login.ubuntu.com/. There's a tab called "Applications" showing when you have given access to which applications from which computer. Just remove the relevant entry Ubuntu Software Center @ yourhostname.


How do I sync Google Photos to a hard drive directory?

The above answer will not work. Google stopped syncing Google photo with Google Drive awhile ago.
If you want access to Google Drive then the above works great. If you want to mount Google Photo then there does not seem to be a solution.
This program is useful for backing up and keeping in sync with Google Photo
https://pypi.org/project/gphotos-sync/


MacBook Pro w/ Ubuntu Blank Screen Boot-Up

Found the answer to my question here. If I'm installing Ubuntu, then I have to press 'e' and add 'nomodeset' to the grub menu. After it's installed, I have to follow the directions in the link in order to install proper NVIDIA drivers. I actually have LUbuntu installed now, which doesn't require the 'nomodeset' method at all. But I still need to follow the directions to get the proper NVIDIA driver.

I still don't actually know how to get out of the black screen thing apart from reinstalling the OS. Also, I figured out how to get the USB to be detected on boot. I press Control + Option + R + P, then press the power button, and continue holding everything except the power button. The system start-up noise and gray screen will show, and then turn black, and will make the noise and gray screen again as long as I'm holding the key combos. I let it reboot like this about 3-4 times, then shut down. Then I press Option + Power, and see if the USB shows. If it doesn't I try that method again. Eventually, it shows up and I can reinstall the OS.


What's happen? Suddenly No Sound + Youtube's Videos are played Too Fast in 13.04

Running pulseaudio -k then pulseaudio -d should restart pulseaudio and temporarily fix your issue. For a more complete fix that doesn't stop working, I had to download the latest flash and install manually. This should work for you on firefox - other browsers may need the libflashplayer.so placed elsewhere. Google should help if that is the case.
(directions taken from here)

Open http://get.adobe.com/flashplayer/otherversions/
Choose Linux 32-bit on Step 1
Choose Flash Player 11.2 (tar.gz) on Step 2, download the file
Once download is complete, right click on the file (tar.gz) and click on Extract here
Launch Terminal (Keyboard Shortcut : Ctrl+Alt+T)
Go to that location where you extracted the file
Run this command : sudo mv libflashplayer.so /usr/lib/firefox-addons/plugins
Launch Mozilla Firefox and check do you have Adobe Flash Player


Mouse click events are delayed when moving the cursor in xubuntu 12.04

I had a problem once with my pad, sometimes it stopped working so I had to reboot to get it again.
I solved it by unloading the mouse kernel module and loading it again. I don't know if it's much the same but you could try that.

sudo rmmod psmouse

sudo modprobe psmouse


How to make ClamAV check every file I download automatically and display something noticeable if it contains something harmful?

If you do clamscan --remove=yes -i -r ~/, it should delete all viruses automatically, but I'm new to Linux so I'm not 100% sure. Sorry if this wasn't the answer you where looking for.


Any way to downgrade Ubuntu One recent updates?


Re-installing Ubuntu while mainting dual-boot with Windows?

I would do a new partitioning, removing mint partition and creating your new Ubuntu partitions.
At the end of the installation grub will identify your windows and your new Ubuntu and add the entries for both of them.

I would go for some 30 Gb for /, 8 Gb for swap and the remaining for /home, unless you're a developer and you want to install lots of thing in /opt, then I would use 50 Gb for  /, 8 for swap and divide the remaining between /home and /opt

When you will reinstall/upgrade, you must manually indicate what every partition is used for, and it will only modify the /, nor the others

Personnally I don't like a lot the shared data partition, but if you switch between OS often it could be a good idea.


Remove entries from network drop down menu 14.04

Remove the entries from the bluetooth device lists.


Is there a shortcut key to split view the file manager on Xubuntu 12.04?

Thunar doesn't have a split view function. So no short-cut either.


So you can model fault tolerance in both juju and MAAS. With MAAS you can set up multiple regions, while regions can be anything you want, they typically refer to an entire isolated power+networked area. (Imagine a region being a datacenter). If you configure MAAS in this way using it with juju becomes easy.

After running juju bootstrap you can run juju ensure-ha which will create a cluster of bootstrap nodes. By doing so, you'll have bootstrap node in an high availability configuration. You can even have the extra bootstrap nodes setup in competing regions in MAAS so even if one region goes dark your deployment is still available.

See this link for more info on HA mode: https://jujucharms.com/docs/latest/juju-ha

Now, for when deploying with Juju, you can deploy multiple units of a service and have those units deployed on competing regions (just like with the bootstrap node) this ensures that if a region goes dark your deployment will still be operational.


Download the bundle.
Open up a terminal
Enter following commands:

cd Downloads/
tar -xf tor-browser-linux64-3.5_en-US.tar.xz
cd tor-browser_en-US/
./start-tor-browser

Done


I had a similar issue when Virtualbox Restricted driver was enabled + 3D acceleration was disabled within VirtualBox. To fix I enabled 3D acceleration, logged into unity, disable Virtualbox 3D driver in Additional Drivers, shutdown, disabled 3D acceleration and booted up again with no issues.


Can't Use Wireless Brother Printer (2270DW) Ubuntu 18.04

If you can print via usb; that would suggest the brother drivers are installed;
if you go to the PRINTERS folder; click the ADD button; pause; (with the usb cable disconnected);
does the system "find" your 2270?
__
to run the brother installer tool, get it from here http://support.brother.com/g/b/downloadend.aspx?c=us&lang=en&prod=hl2270dw_all&os=128&dlid=dlf006893_000&flang=4&type3=625 and click to download and SAVE what will be linux-brprinter-installer-2.2.0-1.gz

open a terminal; copy each commmand; paste it into the terminal; hit the ENTER key to make it happen;

cd Downloads

gunzip linux-brprinter-installer-2.2.0-1.gz

sudo bash linux-brprinter-installer-2.2.0-1 HL-2270DW

it will show a list as it works; and ask you which uri you want; it is usually what is shown in number 10


bash script which checks input to see if it is "y", "n" or other - not working

This will make you clear (Check the Whitespaces):

$ var=c

$ ["$var" == "c"] && echo "OK"
[c: command not found

$ ["$var" == "c" ] && echo "OK"
[c: command not found

$ [ "$var" == "c"] && echo "OK"
bash: [: missing `]'

$ [ "$var" == "c" ] && echo "OK"
OK

So, you need to put whitespace prior to and after the condition while using test ([ ])command.


Is it faster to upgrade to ubuntu 12.04 from ubuntu 11.10 with update manager?

If you want it to be faster (more speed and less time) , do this

Install apt-fast from http://www.webupd8.org/2010/01/new-apt-fast-version-now-with-full-full.html

and then run the command

sudo apt-fast dist-upgrade

Download size will be the same in this case but it will be faster because of multiple internet connections.

If you are still getting lesser download speeds, I recommend downloading the 12.04 CD and upgrading from it (backup required data in case something goes wrong)

The difference between two installations is

1)Update manager will update all the packages installed on your system to newer versions if available in 12.04

2)CD upgrade will try to update only some packages of 11.10 to match default packages of 12.04  and if not possible might update some dependencies as well but tries to be minimal.

So obviously, 2nd one is more faster


Downloading 12.04 Beta today - Does it now have the daily distro updates?

Here are the daily live images: http://cdimage.ubuntu.com/daily-live/
They are generated daily.


Message Indicator doesn't indicate new messages

Are you using Unity or GNOME shell?

I don't know about Unity, but Thunderbird doesn't really integrate that well with the messaging tray in gnome-shell. One possible workaround, that might also work in your case, is to install a Thunderbird extension like FireTrayR or similar.


How to magnify a screen area in Lubuntu 18.04

Not that I am aware of, there's none default screen magnifier app for Lubuntu.

But you can install it. xzoom able to magnify part of the screen.

sudo apt install xzoom

Navigate to LXMenu → Universal Access → Screen Magnifier

Drag your mouse cursor to area that you want to magnify. Below youtube videos explain it better.

https://www.youtube.com/watch?v=Li45HK0YEQ0


MAAS with external DHCP or Static assignment

Since I wrote:

  My overall goal is to set up the cluster via MAAS and deploy Hadoop via Juju.

and

  Ps.: If a static solution is possible, it's good enough for me. [...]

The Juju-docs has a solution to this problem: Using a "Manual" cloud

If you know of a better solution, please share your thoughts.


Prevent other sudoers to use apt-get command

You can't! If you wish to give root access to an user, nothing can stop him from do anything he want with the system. Root privileges means no restrictions. So, better, give to an user only the permissions he needs.


The HDMI factor is not Ubuntu relevant, what you need to check is if your video card works with Ubuntu since the HDMI output will be configured using the drivers for your card.

Has a short answer: Ubuntu will support anything that your drivers will.

Your laptop has a Intel GMA HD integrated card that is supported out of the box by Ubuntu. I am assuming all the work it will be is to plugin your screen and configure the drivers so its recognized as a 2nd screen. It wont be very hard to do, maybe not as easy as in Windows ofc but, still doable and simple.


Dual booting issues, windows 8, 12.10, eufi

Edit: It seems the best answer is to use EasyBCD within VCplayer. Check out the link at the bottom. If that link doesn't work for you come back here and we'll solve it old school.

This is not a good fix, but as a work-around you can switch your bios settings to choose which hard drive you boot from. With one Linux hard drive and one windows hard drive that should ease the problem until you can fix it properly.

You need to update your bios. To dual boot Linux & win 8 you need to enable "Legacy boot" and/or disable "Secure boot". This option may not be available to you (yet) which is why I lead with the work around.

I will leave you with this one note. Check out these links: http://blog.hansenpartnership.com/linux-foundation-secure-boot-system-released/
http://www.zdnet.com/more-fun-with-windows-8-uefi-secure-boot-fedora-and-ubuntu-7000009292/
Edit: It seems there is a better answer than these. Goto Dual boot windows 8 and Ubuntu with Windows 8 Boot manager


How do you add launch options on the XFCE launcher?

The XFCE launcher is NOT a shell, so it doesn't like shell tricks.

The easy way to do this is to create a bash script to do what you want, and call that script from the XFCE launcher.

The script would look something like:

#!/bin/bash
LC_ALL=en_CA.UTF-8 LANG=en_CA.UTF-8 wine app.exe

Be sure to chmod +x the script.


If I understand your problem correctly, this is the solution.

Download Universal USB installer: https://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

Then use the Universial USB Installer to convert the USB into a bootable drive. This should be pretty straightforward, but if you are having trouble, view this video: https://www.youtube.com/watch?v=wk5IrdifOrY

After that, close all programs and restart your computer. When it boots into the motherboard screen, there will be a key that you press to go into the bios section (F12, F10, etc.) It might take a few tries to catch it, because it comes pretty fast.

Then, after you go into your bios section, select boot options. While in boot options, you will have to select to boot from your USB drive instead of your main hard drive, which Windows is stored on.

Save the changes and exit. If you have done it correctly, Ubuntu should boot from the USB, and the install from there should be pretty straightforward.


Is 32 bit Ubuntu installation necessary to install 64 bit Ubuntu?

By "requires clean install from 32-bit" (under "64bit Cons") that page is trying to convey exactly the opposite of your assumption. It means that if you start with a 32-bit system, you cannot "upgrade" it to be 64-bit. Instead, you have to start fresh with a "clean" 64-bit installation.

You do not need to start with a 32-bit installation to get a 64-bit installation.

In fact, you really can't convert a 32-bit installation into a 64-bit installation. "Cross-grading" is unsupported and all existing methods for attempting it are likely to leave you with a poorly functioning system that contains some 64-bit and some 32-bit components.

If you want to install the 64-bit version of Ubuntu, just install that. Having the 32-bit version installed first will only complicate things, as you'd have to remove it or install over it.


More information is needed to assist you with your TP due to your reference to a .exe file and no mention of a Windows emulation software like Wine. I'll edit this if you give more information on that with a better option, however if you are truly in need of a windows execution you will have to use something like wine:

How to install and configure Wine?

Without detailed information on your error, I can say that it often results in the need to remove files that aren't compatible with the version you are installing or don't work with the package if already present. If you get a list of files that seem to be associated with a previous install attempt, I would suggest attempting to remove them. Just be careful not to remove something that isn't related to your issue or is part of the system. I can give you a more specific answer with more information on the error.

Also, you might try using gdebi to install your package instead of dpkg. You can install it as follows:

sudo apt install gdebi

This is a .deb installer that resembles apt-get when handling dependencies. I personally almost always use this with .deb files and as soon as I get an error, this is what I always fall back to using.

Just run gdebi in place of dpkg

gdebi file.deb


sshfs empty the source path with -o nonempty

You've mounted the remote machine's (empty) /temp/user1/data over the local machine's /temp/user1/data. All should be good if you simply unmount the SSHFS mount (using fusermount, since sshfs uses fuse under the hood).

Ex. we have a non-empty local directory

$ ls vm
somefile

then we mistakenly mount a remote directory over it:

$ sshfs vm vm:/home/steeldriver/dir
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
$ sshfs -ononempty vm vm:/home/steeldriver/dir

Now when we list vm, we see the contents of the remote dir instead:

$ ls vm
$

but if we unmount the SSHFS filesystem the local directory contents become visible again:

$ fusermount -u vm
$ ls vm
somefile


What's the difference between Ubuntu for free and the Official CD for $5?

There's no difference. The CD is just an annual thing they do for people with slow connections and to raise funds for Ubuntu.


Try Gnucash.

  Gnucash provides accounting functions suitable for use by small
  businesses and individuals. It can track finances in multiple
  accounts, keeping running and reconciled balances. There is support
  for customer, vendor and employee processing. It has an X based
  graphical user interface, double entry, a hierarchy of accounts,
  expense accounts (categories), and can import Quicken QIF files and
  OFX files.

To install click Gnucash

Source:Ubuntu Apps


Installation guide server in portuguese?

During a point release of the 18.04 Ubuntu serverguide, multi-language publication was dropped. For several years the feedback had been that system administrators actually preferred English, even if it was not their native language. Also preparations were underway to switch away from the docbook markup utility to discourse for 20.04, which would only ever be English. Opinions were that the barrier of entry was simply too high for docbook and the Ubuntu Serverguide would benefit from more subject matter expert contributions (i.e. from the server team) with the simpler discourse.
Dropping multi-language publication early was partly as a test, to see if anyone complained. Nobody did.
The Portuguese version of the 18.04 Ubuntu serverguide only had about 16% of the strings translated anyhow. Only French, Russian, and Italian versions had a majority of strings translated.
Please also see:
https://translations.launchpad.net/serverguide
https://help.ubuntu.com/


How do I set Ubuntu as the default OS for Chromebox/Chrome OS?

I figured it out after a few hours of googling - here are the details for anyone that might run into a similar problem:

1.) Remove the firmware write-protect screw inside the Chromebox as shown in the picture here (requires a screwdriver and opening of the case).

2.) Follow the instructions here under the section "Boot to SeaBIOS by default".

Essentially, once the write-protect screw is removed, the commands (in Chrome OS shell) are:

sudo su
flashrom --wp-disable
flashrom --wp-status
/usr/share/vboot/bin/set_gbb_flags.sh
/usr/share/vboot/bin/set_gbb_flags.sh 0x489
flashrom --wp-enable

Some of the above commands might just be informational, I think the wp-status one and the first .sh command, but not totally sure.


Use :

/\v(.*\<location\>)&(.*file:\/\/\/home\/faizal\/Music)@!

\v means that in the pattern after it all ASCII characters except
'0'-'9', 'a'-'z', 'A'-'Z' and '_' have a special meaning.  "very magic"
@! is a negative assertion
. matches any character
* matches any number of the previous atom
& is the boolean AND
() is grouping into an atom
/ is the find command
\ is the escape character

Reference : http://vimdoc.sourceforge.net/htmldoc/pattern.html , https://stackoverflow.com/questions/3883985/vim-regex-how-to-search-for-a-and-b-not-c

Thanks @muru


The error message says
bash: /home/pranish/apache-maven-3.3.3/bin/mvn: Permission denied

That means, you have no access/executable rights for the file.
Correct the access rights of your home folder:
sudo chown -R $USER:$USER /home/$USER
chmod +x /home/$USER/apache-maven-3.3.3/bin/mvn

Explanation

sudo
You are probably not the owner for some files, therefore you need sudo rights to change owner

chown -R
The command to change the owner recursively. All files in your home folder are your files and only your files

chmod +x
The command to set the executable rights

$USER:$USER
Per default in Ubuntu the owner and the group are the same in your home folder and $USER is your username. Try this with echo $USER

/home/pranish
Your home folder, the same as ~ or /home/$USER


The answer to my own question is:

Launcher.cpp, unityshell.cpp, DashController.cpp and HudController.cpp for unity version < 7.4.0 and
Launcher.cpp and UnitySettings.ccp for unity version 7.4.0

from the unity source package.
But I'm answering more than that since everybody looking for the answer to my question will also be interested in knowing what to do with those source files.

Contents:
A. Compile yourself  or
B. Get the binary

Disclaimer: I have no clue AT ALL and this was tested only on 12.04 with unity 5.20.2, on 14.04 with unity 7.2.6, on 15.10 with unity 7.3.2, and on 16.04 with unity 7.4.0

A. Compile Unity to not show the launcher

0. For the impatience

This script should work at least for 12.04, 14.04 and 15.10. Just uncomment at the end as needed:

#!/bin/bash
mkdir temp-build-dir; cd temp-build-dir
export HWE=$(dpkg-query -l xserver*-lts-* | grep ^ii  | cut -d" " -f3 | rev | cut -d- -f1 | rev | sort -u)
sudo apt-get install unity xserver-xorg-video-dummy-lts-$HWE
sudo apt-get build-dep unity
sudo apt-get install apt-show-versions devscripts dpkg-dev fakeroot nano
apt-get source unity
cd unity-*
# you can leave the comment field in the changelog empty but dont forget to save the file
EDITOR=nano debchange --newversion $(apt-show-versions unity | cut -d " " -f2)
find . -iname Launcher.cpp -exec sed -i -e '1,/void Launcher::DrawContent(nux::GraphicsEngine/b' -e '0,/{/s//{\nreturn;/' {} \;
# for unity 7.4.0 comment out this for statement and read the explanation Nr. A.4
for i in unityshell.cpp DashController.cpp HudController.cpp; do
    find . -iname $i -exec sed -i -e  's/launcher_width =/launcher_width =0; \/\//' {} \;
done
dpkg-buildpackage -rfakeroot -d -us -uc -b
sudo dpkg -i ../unity_*.deb
# For 12.04 use:
# gconftool --type Integer --set /apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode 1
# For 14.04 use:
# dconf write "/org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode" 1

Then restart unity and you're done.

1. Look for the right source files

After some trial and error I found out that the source files to be changed are

Launcher.cpp -> add one line to not show the launcher anymore
unityshell.cpp, DashController.cpp and HudController.cpp -> set the width of the launcher to zero

All four files are contained in the source package "unity".

2. Get the sources

I had to install the package xserver-xorg-video-dummy-lts-{your HWE version} manually to fulfill some dependency problems before being able to install the build-deps for unity:

sudo apt-get install xserver-xorg-video-dummy-lts-{put your HWE name here}

You can find the name (version) of your HWE with this command:

dpkg-query -l xserver*-lts-* | grep ^ii  | cut -d" " -f3 | rev | cut -d- -f1 | rev | sort -u

After that the rest worked:

sudo apt-get build-dep unity
apt-get source unity
cd unity-*

3. Put one line in Launcher.cpp

find . -iname launcher.cpp -exec gedit {} \;

Look for the function "void Launcher::DrawContent(nux::GraphicsEngine& GfxContext, bool force_draw)" and put a "return;" just at its body's begin like this:

void Launcher::DrawContent(nux::GraphicsEngine& GfxContext, bool force_draw)
{
  return; //dont show launcher anymore
  ...

This is enough to not show the launcher anymore. But the dash and hud will stil leave the place for the launcher at the left side of the screen unused.

4. Set the launcher width to zero in unityshell.cpp, DashController.cpp and HudController.cpp / UnitySettings.cpp

For unity < 7.4.0:

Use an editor to replace all occurences of "launcher_width =" with "launcher_width =0; //" in unityshell.cpp, DashController.cpp and HudController.cpp.  Or just use this command

for i in unityshell.cpp DashController.cpp HudController.cpp; do find . -iname $i -exec sed -i -e  's/launcher_width =/launcher_width =0; \/\//' {} \; ; done

For unity 7.4.0:

Find the file UnitySettings.cpp and replace the return value at the end of LauncherSize like this:

int Settings::LauncherSize(int monitor) const
{
  if (monitor < 0 || monitor >= (int)monitors::MAX)
  {
    LOG_ERROR(logger) << "Invalid monitor index: " << monitor << ". Returning 0.";
    return 0;
  }

  return 0; // pimpl->launcher_sizes_[monitor];
}

This is needed only if you want the dash to be shown right at the left side of the screen, without any margin that would have been used by the launcher.

5. Set the right version in the changelog

In my case (12.04, unity 5.20.2) I had to change the version of the source of unity from 5.20 to 5.20.2 using

EDITOR=nano debchange --newversion $(apt-show-versions unity | cut -d " " -f2)

before compiling to avoid having broken dependencies when installing. Don't forget to save the file.

6. Compile and install

Then I recompiled using this:

dpkg-buildpackage -rfakeroot -d -us -uc -b

Installed the new package:

sudo dpkg -i ../unity_*.deb

(As far as I can see and test it, the only file actually needed is

find . -name libunityshell.so | grep unity/usr/lib/compiz/libunityshell.so

Replacing /usr/lib/compiz/libunityshell.so with that new one should be enough, but if you want to be sure just install the new unity package as written above.)

7. Set the launcher to autohide

# For 12.04:
gconftool --type Integer --set /apps/compiz-1/plugins/unityshell/screen0/options/launcher_hide_mode 1
# For 14.04:
dconf write "/org/compiz/profiles/unity/plugins/unityshell/launcher-hide-mode" 1

That's it. Restarted unity and the launcher went away!

B. In case you prefer to trust and just get the binary

If you prefer to get the binary and your combination of unity version and PC architecture

unity --version
getconf LONG_BIT

can be found below, just download the right package

32bit

unity_5.20.0-0ubuntu3_i386_nolauncher.deb
unity_5.20.2_i386_nolauncher.deb
unity_7.2.6+14.04.20151021-0ubuntu1_i386_nolauncher.deb
unity_7.3.2+15.10.20151016-0ubuntu1_i386_nolauncher.deb

64bit

unity_5.20.0-0ubuntu3_amd64_nolauncher.deb
unity_7.2.6+14.04.20160408-0ubuntu1_amd64_nolauncher.deb
unity_7.3.2+15.10.20151016-0ubuntu1_amd64_nolauncher.deb
unity_7.4.0+16.04.20160715-0ubuntu1_amd64_nolauncher.deb

and check the deb file after download

md5sum unity_*.deb

The result should be one of these

0a5f7fc9255262e5803656d83f84f7c5  unity_5.20.0-0ubuntu3_amd64_nolauncher.deb
717dc41f4cad6410c997e1014f5f3f1d  unity_5.20.0-0ubuntu3_i386_nolauncher.deb
594eb8b87f8a56697865c051c4db5073  unity_5.20.2_i386_nolauncher.deb
8ed070afa4d7d6da8222d03b8ad5ebf3  unity_7.2.6+14.04.20160408-0ubuntu1_amd64_nolauncher.deb
abd32e40e8a10bd603b9fc44014cb179  unity_7.2.6+14.04.20151021-0ubuntu1_i386_nolauncher.deb
43c56b889028bf368da01780c0a099b9  unity_7.3.2+15.10.20151016-0ubuntu1_amd64_nolauncher.deb
64474d1a8280ed4113d748a57422ddcc  unity_7.3.2+15.10.20151016-0ubuntu1_i386_nolauncher.deb
4fecdb9b4f590e00609baa3b98f55cc0  unity_7.4.0+16.04.20160715-0ubuntu1_amd64_nolauncher.deb

Then install the package

sudo dpkg -i unity_*.deb

set the launcher to auto-hide and restart unity. That's it!
In case something goes wrong and unity doesn't start:

sudo apt-get install --reinstall unity

But if everything works, you might want to prevent the new package from being updated:

echo "unity hold" | sudo dpkg --set-selections

Only the file "unity_5.20.2_i386_nolauncher.deb" was compiled on my PC. The other deb files were made on so called "cloud computers" (because machine rooms look so much like clouds...) using this variation of the script:

#!/bin/bash
sudo apt-get update
sudo apt-get -y dist-upgrade
sudo apt-get -y build-dep unity
sudo apt-get -y install unity devscripts dpkg-dev fakeroot nano
mkdir temp-build-dir; cd temp-build-dir
rm -r unity-*
apt-get source unity
cd unity-*
find . -iname Launcher.cpp -exec sed -i -e '1,/void Launcher::DrawContent(nux::GraphicsEngine/b' -e '0,/{/s//{\nreturn;/' {} \;
# for unity 7.4.0 comment out this for statement and read the explanation Nr. A.4
for i in unityshell.cpp DashController.cpp HudController.cpp; do
    find . -iname $i -exec sed -i -e  's/launcher_width =/launcher_width =0; \/\//' {} \;
done
dpkg-buildpackage -rfakeroot -d -us -uc -j2 -b
cp ../unity_*.deb ../$(echo ../unity_*.deb | sed -e  's/.deb$/_nolauncher.deb/')


How do I Copy one file to many subfolders?

If the folders are in the same folder that the file exists, then use:

for dir in *; do [ -d "$dir" ] && cp YOURFILE.EXT "$dir" ; done

In other scenery, if the file is in a different path, use:

for i in folder1 folder2 folder3 folder4; do cp YOURFILE.EXT $i; done

If you don't know what exactly are the names of the folders where to put the file, try:

There is no need to make a script. Simply drop these commands in a terminal and check the results.

Glossary:

YOURFILE.EXT = The name of your file, may contain the full path.
folder1 folder[...] = the name of the folders where to drop the file,
-- folder names may contain the full path.


Following @aplaice's comment, I added the following line in /etc/ufw/after.rules

-A ufw-after-output -m owner --uid-owner idea -j REJECT
# don't delete the 'COMMIT' line or these rules won't be processed
COMMIT

You have to add it for the chain ufw-after-output and before COMMIT.

Restart ufw service after that.


Is there a start menu with a search box similar to the one in Windows 7?

Try to install Unity 2D:

How do I install and switch to the Unity 2D desktop?

It's similar to Unity but built on Qt and doesn't need compiz to run. So, you will never miss it.

Another way to fix things is to figure out what happened to 3D-support in your Virtual Box. Seems like it turned off and that's why you got GNOME2 desktop as fallback.

BTW, don't install Gnome Shell if you not sure what are you doing. All things in 11.04 built on top of GNOME 2 and it will be hard to get back to Unity or Unity 2D if you install GNOME 3. It's ok to use Gnome Shell in 11.10.


Its simple really, you just said the answer yourself :)

Basicly do this

in terminal make a new file called command.sh (or something you like ending with .sh)

then type the following

#!/bin/sh
sudo apt-get install packages here -y

now I use LXDE for this piece but open alacarte and press new item, then just add the command xterm -e "sh path/to/script.sh"

then everytime you press the button you made, it opens a terminal and starts installing the stuff you want

and if you want to mix it up even more do this

#!/bin/sh
echo -n "Enter the package names you wish to install and press enter: "
read names
sudo apt-get install $name -y

so that when you type the packages, it automaticly goes to download the files you want


Why do I have to remember to upgrade linux-tools-5.4.0-*-generic each time there's a kernel upgrade?

Seems like there should be a package I could install that would
trigger an upgrade on each kernel change.

I believe there is. Please do:
sudo apt update
sudo apt install linux-tools-generic

You should be all set.


Is there a global shortcut for creating strikethrough text?

This is what I did to make this globally available:

I have a folder for stuff I install locally in my user account called ~/.local/bin, but you don't have to put this there, you can put it wherever is most convenient.  This only affects my login.

First Step

Install xsel to enable manipulation of clipboard contents:

sudo apt-get install xsel

Second Step

Create a bash script to add striekthrough to copied text.  I call mine 'strikethrough.sh'.  You can comment out one of the two lines by putting a # in front of the line starting with xsel:

#! /bin/sh
# affects only highight/middle click
xsel --primary | sed $"s/./&\xCC\xB6/g" | xsel --primary

# affects only clipboard text (ctrl-c/ctrl-x and ctrl-v)
xsel --clipboard | sed $"s/./&\xCC\xB6/g" | xsel --clipboard`

Third Step

Create a keyboard shortcut that executes the script.  I use "ctrl-shift-x".  If you're unfamiliar with how to do this, check out How to add keyboard shortcuts?.

Last Step

Use it whenever you need strikethrough text!  Cut/Copy your text as normal, hit your keyboard shortcut, then paste as normal -- V̶i̶o̶l̶a̶ Voilà!

Credits:

CommandLineFu - Add strikethrough to text

AskUbuntu - A command-line clipboard copy and paste utility


A fast and simple way to resolve this is to reset Unity to the default configuration:

rm ~/.compiz-1 ~/.config/compiz-1 -rf

NOTE: This will reset Unity completely, so you'll have to re-setup these settings.


The core problem is that your SFTP server requires SSH Key Authentication to properly permit connections.  You mentioned with FileZilla, so I've written this answer as such.

For Filezilla, you can use this for non-password-protected SSH keys:

Open the FileZilla client.
From the top of the home screen, click on Edit and select Settings.
On the left side of the menu, expand the Connection section and highlight SFTP.

Click on the [Add keyfile...] button and browse your local machine's directories and select your Private Key file.
Then, again from the top of FileZilla's home screen, click on File and select Site Manager.
Finally, on the left side of the Site Manager, click on the New Site button and type a unique name under My Sites that will allow you to easily identify this particular remote server in the future.

Now, under the General tab, fill in the Host (with either an IP address or FQDN) and Port fields (default is 22).
In the Protocol dropdown menu, select SFTP - SSH File Transfer Protocol.
In the Logon Type dropdown menu, select Interactive.

If your SSH key is password-protected then you'll need to use something else.

This said, there is usually a way to use SFTP in most GUIs.  On Ubuntu 16.04, Nautilus has an "Connect to Server" button (there's a similar function in most of the other GUI file browsers) where you can specify sftp://user@remotelocation:22/path/on/server and it should integrate with the ssh-agent tool that is usually already running and indexing your keys.  That should then just 'work' without having to do anything funny, and obeys the SFTP rules.


Quadro 600 display is VGA only - how to fix

FIXED. Finally.

Somewhere along the way the nvidia drivers got blacklisted. I hand-commented out all lines in /lib/modprobe.d/blacklist-nvidia.conf. Rebooted. Back to 1920x1200. xrandr now reports reasonable info.


Where should people give feedback on Ubuntu?

As of 2020, the best place to give general feedback is in https://discourse.ubuntu.com/.


Fix error - mount: only root can do that

To run a command as root, use sudo command. (You may want to read this to learn more.)
So: sudo mount -t vboxf ...
Creating the Mount Point for the Share
If you mount the share at /media/sharename, that directory must first exist. To create it, run:
sudo mkdir /media/sharename

You can mount shares anywhere; they do not have to be mounted in /media. However, these days it's common for filesystems mounted as root, especially if they may be attached and detached, to have subfolders of /media as their mount points.
The more traditional place to put mount points is /mnt. Either way--or elsewhere--will work.
Letting a Normal User Access and Change the Contents of the Share
If the host OS doesn't use a Unix-style filesystem--for example, if you have a Windows host running an Ubuntu guest--then you might want to specify what user you intend to give full access to the files in the share. Otherwise modifying the files (and possibly accessing them at all) will require you to act as root. You probably don't want that; you probably want to mount the share as root, but be able to access its contents as a non-rot user.
To do that, include uid=1000 in the ,-separated list of options issued after -o:

If that's the only option you're specifying, no comma is required. Otherwise, all options should be separated with commas, and no spaces.
Replace 1000 with your actual user ID. If you're the first user created on your Ubuntu system (the user created during installation), typically your user ID is 1000. To find out your user ID, run the command id -u in the Ubuntu system.


How to enable multi-touch gestured with Apple Magic Trackpad on Ubuntu 16.04

I had this same question a while ago and as @xlinbsd said, Touchegg seems to be the most highly recommended package to use to configure multitouch gestures for Magic Trackpad.

Now that you know about Touchegg, there are a ton of resources available explaining how to use it with the Magic Trackpad, e.g. here, here, here (if you just search touchegg magic trackpad in this forum you'll get tons of results)

If touchegg doesn't work for you I've seen other packages recommended, like libinputgestures

Good luck! Let us know how it works out!


Can I have some help installing python-captcha? dpkg error 1

It appears that you have installed python-pycaptcha (maybe from a PPA), which can't be installed at the same time as the system python-captcha. See, if this fixes your problem:

sudo apt-get purge python-pycaptcha python-captcha+


In the script provided by you, the variables actually aren't quoted.

You should update your script and quote the variables with " "

For example:

fullpath="/home/abc/"$folder"/"$filename

Should be:

fullpath="/home/abc/$folder/$filename"

  Thanks for @glenn jackman - who suggested reading Security implications of forgetting to quote a variable in bash/POSIX shells

You can find below the full feedback of shell-check site on your script

Line 5:
read folder
^-- SC2162: read without -r will mangle backslashes.

Line 6:
echo "Folder name is "$folder
                      ^-- SC2086: Double quote to prevent globbing and word splitting.

Line 8:
read filename
^-- SC2162: read without -r will mangle backslashes.

Line 10:
echo "File name is "$filename
                    ^-- SC2086: Double quote to prevent globbing and word splitting.

Line 11:
fullpath="/home/abc/"$folder"/"$filename
                     ^-- SC2027: The surrounding quotes actually unquote this. Remove or escape them.

Line 13:
echo "Full path is "$fullpath
                    ^-- SC2086: Double quote to prevent globbing and word splitting.

Line 17:
echo "Command to be executed is "$fixcommand
                                 ^-- SC2086: Double quote to prevent globbing and word splitting.

Line 19:
echo -n "Is that correct (y/n)? "
     ^-- SC2039: In POSIX sh, echo flags are undefined.

Line 20:
read answer
^-- SC2162: read without -r will mangle backslashes.


How do I adjust the hue (intensity) of GNOME Night Light?

gsettings set org.gnome.settings-daemon.plugins.color night-light-temperature <temperature>

Here are some temperatures values I determined myself (probably not correct):

1000 Lowest value (really red)
4000 Default night light temperature
5500 More pleasant and less intense night light temperature
6500 Default temperature (night light off)
10000 Highest value (really blue)


I changed some setting in the taskbar, removed a panel or something, and now my taskbar doesn't show applications I have open

I know this question was old but someone will benefit from it.
I also did this by right clicking on taskbar and then I clicked on remove taskbar. But I discovered how to bring it back. Just follow these steps:

Right click on taskbar and select "Manage Widgets". A window will open.
Click "+" button and search "task manager" select it and click add widget.
That's all!


Use the ram for something else.  Processes allocating memory or disk IO trying to allocate cache will push out idle pages to swap to make room.  The swappiness variable just makes the system prefer to push applications out to favor using ram for the filesystem cache instead.


Can't connect to the Internet, but can to a router

It's possible that you're not getting the default gateway set to your router. Try looking at the output of route -n and see what's listed for the destination 0.0.0.0.

It's also possible that you're not getting DNS. You might try to do an nslookup on some known URL to see if you get anything.


ia32-libs broken package (Ubuntu 12.04 x64)

in Ubuntu 13.10 the ia32-libs package is no more present.

sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0
sudo apt-get install libgl1-mesa-dri:i386

the second, shall install all its dependencies and resolve the compiling problems.
The dependencies are:

gcc-4.8-base:i386 libc6:i386 libdrm-intel1:i386 libdrm-nouveau2:i386
libdrm-radeon1:i386 libdrm2:i386 libelf1:i386 libexpat1:i386 libffi6:i386
libgcc1:i386 libglapi-mesa:i386 libllvm3.3:i386 libpciaccess0:i386
libstdc++6:i386 libtxc-dxtn-s2tc0:i386 zlib1g:i386

Bye,

E.


Actually i had previously installed mysql-workbench and had completely forgotten about it, hence the mysql server and phpmyadmin was not starting. So, Please be sure to uninstall any other server or ide before installing xampp, also remember to remove the configuration files of the previous server or ide. This worked for me, hopes work for others too.


Maybe you have some bad hardware that is intermittently failing.

Try the StressLinux distro:
http://www.stresslinux.org/sl/

Or you try the stress package directly.

Or it could be you have some bad memory?  Ubuntu ships with a memory test that is access through the grub menu.

https://help.ubuntu.com/community/MemoryTest

It could a loose connection in a chip or something, and when your computer warms up the the circuitry changes.

Also, how does apt-get update and apt-get upgrade work for you?  What is the command that you ran aptitude with?


Installing Ubuntu 16.04 on hardrive of Ubuntu 17.04

this tutorial should help you a long way.

Edit:

Backup your files.
Delete the linux partition(s). most installs have a partition dedicated to  /, /boot and sometimes to /home. Delete the linux swap partition if present. Delete the bootloader partition if present.
Restore the MBR using a windows repair usb. This might differ slightly depending on your operating system.
There is now some unpartitioned space on your harddisk. You could grow your windows partition to span that empty space. (This might not be desireable if you have an ssd and use over provisioning.)


How can I install Ubuntu 64 bits from 32 bits alongside Windows 10

Your windows did not boot maybe because grub is missing. Try this in ubuntu and type this in terminal. Then restart your computer. You should be able to see the grub menu to choose between ubuntu and windows.

sudo update-grub

If you want to create a bootable usb installer, you can use Startup Disk Creator, an app already installed in Ubuntu.


Ubuntu 16.04: No sidebar/playlist in Totem

I suggest using Parole instead. It's very much like old Totem interface and there is the sidebar functionality.


On boot, Ubuntu 13.04 reaches 89º C and shutdown

You can turn off the ACPI through your BIOS.
Try Re-booting and Hit F2 at dell logo.


How to add a rule for loggin packets in ufw

sudo ufw logging on

https://help.ubuntu.com/community/UFW for the full Ubuntu Community documentation.


After logging in my password does not work

Ignore me, found the problem ... Im running this on a MACBook Pro and for some reason the installation has created 2 keyboard configs and my password has a £ sign in it. At the GUI login prompt initially it must use the keyboard layout when Shift+3 is a £ sign, but after logging in it switches to a different keyboard layout where Shift+3 maps to the # symbol, and obviously then my password does not work.

I'll sort my keyboard layouts and I'll be fine. :)


Installing 12.04 - no launcher icons, no wifi

Your wireless device uses the driver b43 and firmware. Sometimes, the wrong driver gets installed and needs to be purged. Before I propose a solution, let's see what driver is installed. Please open a terminal as above and run and post:

lsmod | grep -e wl -e b43

Also, to troubleshoot the ethernet, please provide its details:

lspci -nn | grep 0200

Since you have reinstalled and your ethernet is working, please open a terminal and do:

sudo apt-get update
sudo apt-get install firmware-b43legacy-installer

Detach the ethernet, reboot and your wireless should be working.


Forcefully loading ONLY Nvidia graphics on boot, and not Intel Integrated?

I just found the answer so I'll put it up here for everyone to see. Problem was I didn't finish after I installed Bumblebee, I forgot the terminal commands.

Usage

The command line programm optirun shipped with Bumblebee is your best friend for running applications on your Optimus NVIDIA card.

Test Bumblebee if it works with your Optimus system:

$ optirun glxgears -info

If it succeeds and the terminal you are running from mentions something about your NVIDIA - Optimus with Bumblebee is working!

General usage:

$ optirun [options] application [application-parameters]

Some Examples:

Start Windows applications with Optimus:

$ optirun wine windows application.exe

Use NVIDIA Settings with Optimus:

$ optirun -b none nvidia-settings -c :8

For a list of options for optirun view its manual page.

A new program is soon becoming the default choice because of better performance, namely primus. Currently you need to run this program separately (it does not accept options unlike optirun), but in the future it will be started by optirun. Usage:

$ primusrun glxgears

FULL DOCUMENTATION
https://wiki.archlinux.org/index.php/Bumblebee#Installing_Bumblebee_with_Intel.2FNVIDIA


How to run supported games on Steam with Proton

In Steam settings in the category "Steam Play" check "Enable Steam Play for all other titles".

Then right-click on the game in question, open "Properties", and on the bottom of the "General" tab, check "Force the use of a specific Steam Play compatibility tool".

That will tell Steam to run the game via Proton even if there is a native Linux version available.


Can't change IP address to static - interface isn't in /etc/network/interfaces

It is "normal" to only have the loopback device lo in /etc/network/interfaces
because NetworkManager deals with network settings in an Ubuntu desktop setup.

To see all of your NIC devices, including inactive ones, you can do :
/sbin/ifconfig -a

or : inxi -SNxz (After installing inxi).

You should be able to add a static ip address in the interfaces file, e.g. :

auto lo
iface lo inet loopback
auto enp0s31f6
iface enp0s31f6 inet static
address 192.168.1.100
gateway 192.168.1.1
netmask 255.255.255.0
dns-nameservers 12.34.56.78 12.34.56.79


Can Snap-Windows be set up for 4 windows instead of just 2?

I think you can edit the EDGE settings in GRID using the CompizConfig Setting Manager
(to install this run sudo apt-get install compizconfig-settings-manager in a terminal).

If you set the corner setting (i.e setting Upper Left Corner to Top Left Corner) then when you drag the windows to the corners, it will "SNAP"


Ubuntu /tmp/tmp.XXXXXXXXXX’: Read-only file system

You need to do sudo mount -a after reboot, thats it.


QTQR do not show barcodes read from file or webcam in 16.04!

While we wait for a fix, we can do as the error output and Karl Ricsays says:
open with sudo: /usr/lib/python2.7/dist-packages/qrtools.py

Locate line 181: raw = pil.tostring()

Change it to: raw = pil.tobytes()

Save the python script and start QtQR.

Now it works]1


You have mixed and matched your virtual site directives.  Apache has changed the configuration a bit from 2.2 to 2.4, namely the access control.

  2.2 configuration:

  Order allow,deny Allow from all

  2.4 configuration:

  Require all granted

As you can see, you're using a 2.2 configuration on what I am assuming is apache 2.4.

The following should work for you.

<VirtualHost *:80>
ServerAdmin systems@domain.com
ServerName domain.com
DocumentRoot /var/www/html/admin
<Directory /var/www/html/admin/>
Options Indexes FollowSymLinks MultiViews
Require all granted
</Directory>
</VirtualHost>


Change your keyboard setting.
Search for Keyboard in unity dash
and open keyboard preferences

You can select a country and then choose an language and keyboard variant.  Note that some countries, such as the United States, may show several languages.  Once you’ve made your selection, you can preview it on the sample keyboard displayed below the menu.

Alternately, on the second tab, select a language and then choose a variant.  Click Add when you’ve made your selection.


On Ubuntu 20.04LTS the app called "Ubuntu software" is in reality snap-store (the terminal command running it is "snap-store", not "gnome-software"). Ubuntu 20.04 does not seem to come with gnome-software installed by default. For me, closing the app, then typing
killall snap-store

in a terminal and then re-launching the app solved the problem without a reboot.


I've also lost my Desktop folder and everything in Home displays on the desktop.  Does it have anything to do with this entry in my user-dirs.dirs ?
XDG_DESKTOP_DIR="$HOME/"


How to quickly enable/disable touchpad in Xubuntu 14.04 without installing other applications?

That can be easily done with these two commands (inspired by a different answer):

Disable:

synclient TouchpadOff=1

Enable:

synclient TouchpadOff=0

My initial answer was to use

xinput set-prop 15 "Device Enabled" 0

and

xinput set-prop 15 "Device Enabled" 1

where the id number may be other than 15: it can be be found by running

xinput list

I found about these commands in this answer under a question on how to disable the touchpad.

The commands can be added into launchers.

I prefer creating .desktop files (in usr/share/applications or in .local/share/applications) for the two commands to be run easily with a launcher like Whisker Menu, Synapse, etc

Also:

by adding them into a single launcher,
setting advanced properties like in the image below

(namely 'show last used item' and 'inside button'),

and adding two specific icons,

the launcher will always display the current status of the touchpad.

Also it is never a bad idea to assign shortcuts (Settings Manager - Keyboard - Application Shortcuts) to the two commands.


This is an improvement on Kev Inski's answer:

#!/bin/bash
# Display CPU temperature, if it is above the "high" threshold.

# Desired adapter.
adapter="k10temp-pci-00c3"

# Extract given temperature from `sensors`.
get_temp(){
    sensors -uA "$adapter" |
        grep "$1" |
        cut -d. -f1 |
        grep -oE '[0-9]+$'
}

# Get current temperature.
temp1_input=$( get_temp 'temp1_input' )

# Get high temperature.
temp1_high=$( get_temp 'temp1_high' )

# Compare current temp against high.
if [[ $temp1_input -ge $temp1_high ]]; then
    echo "Your CPU is ${temp1_input}°C"
fi

Why yours won't work:

[ "$STR | grep high" -gt "temp1:        +40.1°C  (high = +70.0°C)" ]

This is comparing two strings, but telling Bash to treat them as integers, hence why the error is "integer expression expected". You need to pare down the string to just the numbers. (See my function above.) And anyway, "$STR | grep high" won't execute until you put it in a command substitution like $(...).

exec $STR | grep "high"

Don't execute a program using exec unless you need to. Also, quote your variables!


how to launch a download, it asks me which file to open with but i have no idea

It depends on what you;re trying do launch. If you download *.exe files it won't be executed unless you use particular apps like e.g wine. If it's only a picture or text document, you'd have to know what extension it has e.g. schedule.pdf (pdf is what's called extension). Afte that you can figure out if you're missing an application to execute this file.


Ubuntu Software Updater randomly popping up

This would help you

Open Software Sources by running following command in terminal(Ctrl+Alt+T):

sudo software-properties-gtk

Then go to Updates tab.
Chose Never Under Automatically Check for Updates option.
Close the window.
Update your repository by:

sudo apt-get update.

After that it should not pop-up any message. Repeat same step if you again want Ubuntu to pop-up for you. Just change Never to any other option.
Try it once.. Reply if something goes wrong..


USB Wifi Dongle changes MAC Address on every boot - How to prevent this?

I used to have a lan USB adapter and used to do something like this. Try in /etc/NetworkManager/NetworkManager.conf
[connection]
ethernet.cloned-mac-address=NEWMAC

and then restart network manager
sudo service network-manager restart


If a live view isn't needed, Munin is a great resource:

  Munin is a networked resource monitoring tool that can help analyze
  resource trends and "what just happened to kill our performance?"
  problems. It is designed to be very plug and play. A default
  installation provides a lot of graphs with almost no work.

Munin generates a set of graphs usually displayed using HTML pages:

default view (day and week):

ability to zoom to pretty much arbitrary timespans:

The Ubuntu LTS Server Guide has a section on installing and configuring Munin.

By default, Munin runs as a cronjob that generates these pages about every 5 minutes. However, it can be configured to run using CGI and be refreshed on-demand.


Is there any simple way to access installed programs?

ClassicMenu Indicator will do the job!

To install it, open a terminal with Ctrl+Alt+T, and type:

sudo add-apt-repository -y ppa:diesch/testing
sudo apt-get update
sudo apt-get install -y classicmenu-indicator


Feedreader seems to support Feedly, consider checking for details on it's  GitHub page.

Keep in mind:

It is most likely not available in the default Ubuntu sources but the project github page mentiones a PPA.


a quick fix that may or may not work is try making a new user, this will force the x.org to reconfigure along with the Nvidia settings; At-least for that particular user.

if anything this wont really fix your problem, just a possible short term work around.

you can do this to your current user by trying dpkg-reconfigure x.org (also to nvidia-settings)


Xubuntu 18.04 freezes constantly requiring a hard reboot

I have seen same issues on my Lenovo Thinkpad and a desktop computer.
I have found, that baloo service has often high CPU usage and the computer was not responsable ..

So i have disabled baloo with balooctl disable, after restart it works without problems.


I found this helpful to resolve the middle mouse button and copy-paste issue:

https://askubuntu.com/a/902976/354678

Looks like Ubuntu and XUbuntu in 17.10 still have the same issue like 12.04.
There are feasible solutions.


How to install/play some old games on Wine?

Good news is that is pretty easy to install and run a Windows game using Wine and a modern version of Ubuntu. So, as you have requested, here is a set of tips and commands:

Install wine...

As you have already done, but my extra tip here is to also install Winetricks:

sudo apt-get install wine winetricks

Under Ubuntu 20.04 this will get you Wine 5.0, a great and very modern version.
Select a game...

There is a nice Wine database that tests Windows applications that work well under Wine but unfortunately this often out of date. For this request of a small Windows game I have chosen for you a freeware card game. It is small and runs well under Wine as my own testing has demonstrated.
Download and install the game...

Two simple commands will accomplish this from a Terminal window:

wget http://www.download-treecardgames.com/downloads/123freesolitaire-v102-setup.exe
wine 123freesolitaire-v102-setup.exe

Then simply follow the default installation prompts and allow the game to install.
Play the game...

The good news is that Ubuntu 20.04 will look after all the messy details and you can select the game from the launcher in the normal way without further use of the Terminal. And I hope you enjoy the game :-)
A small cautionary tip...

This game runs well under Wine but not all games will, so a degree of research and experimentation is required before success is realised. However the basic technique illustrated here is what one will do to get Windows games running under Wine using Ubuntu, at times a more sophisticated approach will be required. However this particular game will run fine, as the screenshot below illustrates:


What's the correct format of a forward zone in bind

The correct line should be:

foo.com.        IN      NS       dns.foo.com.

The  DNS servers should be registered in a NS type record. The name is up to you. If your DNS hostname is "test", write:

foo.com.        IN      NS       test.foo.com.

You'll also need a A type record saying who is "test":

test            IN      A        192.168.X.X


That's a special font. An Internet search for digital calculator fonts will provide many results. Pick and choose.


Lubuntu 14.04 : Unable to enter GUI/system after giving login and password in login GUI

As a new linux user, I'd try reinstalling Lubuntu-desktop packages first.

Let the machine boot into Lubuntu.  When you get to the point you see the desktop background and can move the mouse, press CTRL ALT F2.  This should bring you to terminal #2.  (Graphics environment is on Terminal 7 (F7))

Login using your regular details and you should get a regular terminal prompt.

Type:

sudo apt-get update

Enter your password, when it finishes, type:

sudo apt-get install --reinstall lubuntu-desktop

and allow the system to complete the reinstall.

then type:

sudo reboot

If this does not solve the issue, we can go from there.


odd results in fdisk for a USB sound card with storage

First of all: don't use fdisk -l any more. It's deprecated as it doesn't support GPT.  Use parted --list from now on.

Then, you've very probably run into something called security through obscurity:  the manufacturer of the device needs some space to hide its firmware but still making it accessible for its update process...

There are a number of ways to do this, but the easiest is to take a file system that very few people are still using today, but it still a robust (journaled!) file system, hence "Novell Netware".  The "unknowns" probably fall under this category as well.


dual boot windows 10 and ubuntu 14.04 troubles

Do you know on which hard drive your /boot partition is ? It must be your primary boot devices set in BIOS.

Then under Ubuntu try to do

sudo update-grub

It will detect all your bootable devices and create the grub menu that will allow you to choose your OS during boot.


How can Ubuntu become unresponsive when OOM without thrashing?

It is worth to try to use some improved version of OOM-killer. Like earlyoom or nohang. There are more alternatives described on their websites.

These userspace apps can react much faster than regular kernel OOM-killer.

nohang maintainer on github is very actively responding to issues in case you will have any.

This linux podcast provides some audio introduction on the topic.


Re-enabling Ondemand cpu frequency scaling

You can adjust CPU frequency with indicator-cpufreq available in the software center. See below. I've never tried your method.


I had a slightly different issue, but hopefully some of this applies.
I had a brand new Debian 10.4 install on a Dell laptop (Latitude 5590), and was having issues getting external display ports working with the Dell D6000 dock.
The solution for me has been to:

Ensure secure boot is turned off in the BIOS (I also enabled legacy support - not sure if this is required)
Install the displaylink driver for ubuntu (5.3.1)
Create a file to persist xorg configuration (source):

/etc/X11/Xsession.d/45custom_xrandr-settings containing (source):
xrandr --setprovideroutputsource 1 0
xrandr --setprovideroutputsource 2 0
xrandr --setprovideroutputsource 3 0
xrandr --setprovideroutputsource 4 0
xrandr --output DVI-I-3-2 --mode 1920x1080
xrandr --output DVI-I-2-1 --mode 1920x1080

(You made need to run xrandr -q to check what your outputs are)

Modify /etc/pulse/default.pa (source) to avoid my Dock being suspended (screens turn off seemingly randomly), placing a comment # before load-module module-suspend-on-idle, then restart my laptop

I know to avoid Dell docks in the future.


ps aux|grep dhclient show something? if yes, then killall dhclient and restart network.


Why I can't access partition on which I have installed it?

The windows fs is already mounted since it contains the loopback file you use as the root fs.  You should be able to see it under /host if I am understanding this initramfs script correctly.


Gave up waiting for root device on Ubuntu

I had the very same problem. Thing is that I had the laptop off for long time and when I switched it on it showed the same message. Apparently some configurations changed (most likely to a default setting) with the machine off for long time.

I solved it following this link here on Stack Exchange:

"initramfs" error on boot ONLY on Dell XPS 13 (boots fine on other computer)

Solution is:

Reboot.
Press F12 and go to the BIOS settings.
System Configurations → SATA Operations
Change RAID to AHCI


Mobile broadband showing "Not Enabled" on Lenovo X1 Carbon 5th gen in Ubuntu 16.04

As you have mentioned in your question, this thread in the Lenovo forums says that it is a problem with the version of modemmanager, which must be upgraded to 1.6 or later. That is why it apparently works when you upgrade your distribution; however if you don't want to do so just use this PPA to upgrade just the version of modemmanager to the one you want.


You have to create a bootable USB flash using the ISO, and not just mounting it.  I recommend that you use UNetbootin, and have a look at Install Ubuntu 13.04


Update to 20.10 failed silently, now can't update due to package version mismatch with libc-bin and libc6:i386 / libc6:amd64

You should be able to manually force dpkg to complete the installation of libc6:i386, at which point apt should be able to "think" its way through the dist-upgrade process again. It should just be a matter of invoking:
sudo dpkg -i --force-all /var/cache/apt/archives/libc6_2.31-0ubuntu9.2_i386.deb`

The filename might not be exactly as I've shown it here, though, so you should verify it first with:
ls /var/cache/apt/archives/libc6*


Just install grub to /dev/sdb

sudo grub-install /dev/sdb

grub, by default, uses uuid, so it should work.

If you have problems for any reason, you would need to reinstall grub after the transfer.

https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows


How to create a PPA that just contains links to other PPAs?

You can add PPA's in a script and excecute the script when you need to re-install these PPA's (for instance because of re-installing your system).

Example...

Execute from command line:

touch install_ppa
chmod 775 install_ppa
gedit install_ppa

and copy/paste your PPAs into the file. Rearrange your code to be efficient. Example:

sudo add-apt-repository ppa:tiheum/equinox
sudo add-apt-repository ppa:am-monkeyd/nautilus-elementary-ppa
sudo apt-get update
sudo apt-get install gtk2-engines-equinox faenza-icon-theme equinox-theme
sudo apt-get upgrade
sudo apt-get dist-upgrade
nautilus -q

Put the file on a partition you do not format during installing or on a stick and you can execute the file thus adding these PPA's.
You can also add downloads with wget in it to install tar files etc etc.

Commands have not been tested


wickrme suddenly not opening; core dump; Ubuntu 20.04 LTS

one option I didn't explore was to install an older version:
it seems that we could install:
latest/stable   5.74.8  18 March 2021
latest/candidate    5.59.11     23 July 2020
latest/beta     5.47.25     11 February 2020


Muted sound on left channel via toslink Ubuntu 19.10

OK, the answer is dead simple (and I should had figured it out myself before asking): use pulseaudio's volume control to adjust the balance and everything will be fine. Probelm solved.


Sleep & Wakeup Schedule | Ubuntu 16.04.3 LTS

From terminal :
Suspend and wake up after 60 sec :
sudo rtcwake -m disk -s 60

Suspend and wake up today 16.00
sudo rtcwake -m no -l -t "$(date -d 'today 16:00:00' '+%s')"

Suspend and wake up tommorow 10.00 :
sudo rtcwake -m no -l -t $(date +%s -d 'tomorrow 10:00')

Suspend and wake up specific date and time :
sudo rtcwake -m no -l -t "$(date -d '2017-04-25 16:00:00' '+%s')"

To shutdown for Maintenance use :
sudo shutdown -P +60 "The system is going DOWN to maintenance mode in 60 minutes!"

sudo shutdown -P 22:10 "The system is going DOWN to maintenance mode at 22:10!"

Using Autopoweroff :
Download Autopoweroff:
wget https://github.com/deragon/autopoweroff/releases/download/3.0.0/autopoweroff-3.0.0-1.noarch.deb

Install Autopoweroff:
sudo dpkg -i autopoweroff-3.0.0-1.noarch.deb
sudo apt-get install -f


Have you activated a feature in the bios that would affect your CPU, like power saving, hyper threading?

Check if it works better when plugged in. (If you are using a laptop).

Kind regards


How to reinstall Ubuntu without lose Home Information

You may try TestDisk to recover lost partitions. It won't help at all, it you have already rewrote the partition... if you just modified the partition table, it will help.

Backup is important

You just need to back up (copy to an external location) your /home/YOUR_USERNAME directory, then restore it back.
You can use a simple USB stick (but don't think that that is a forever lasting one). Very important data should be backed up regularly, etc... I'm using Cloud for example (Google Drive, Dropbox, ...)

If you need further help, refer to this documentation: HomeFolder or BackupYourSystem.


I suggest not putting that in while the computer is on as it could fry something. But nonetheless after you install it try running this command in terminal. (It resets your desktop environment and may kick your driver into starting.)

sudo --unity replace

Very Respectfully,

Matthew Kaulfers


LocalStorage on Ubuntu SDK and Ubuntu Touch?

Well, I just installed the Ubuntu SDK PPA and updated to QtCreator 2.8 and now LocalStorage works on the phone and I can run directly on the phone without having to install it every time.

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa

So I think the problem was that...


Hp laptop not booting Lubuntu after upgrade

I had the same issue (Lubuntu 17.10 and an HP Mini 110) and solved it using suggestions from this link:

https://ubuntuforums.org/showthread.php?t=2384579&p=13738255#post13738255

The issue involves a video setting that is incorrect.

While booting hit ctrl-alt-F1
Log into terminal
The bottom line of the terminal is annoyingly below the bottom of the screen, but what you type is still there, just hidden
type sudo vi /etc/default/grub (or nano or your favorite editor)
type under the commented out line "GRUB_GFXMODE":
    GRUB_GFXPAYLOAD_LINUX=1024x600
save file
type sudo update-grub
type sudo reboot

It now should work. With my new drive and added memory I have a ridiculously underpowered machine with a 1TB drive and 2 GB of memory


Problems reconnecting Apple bluetooth devices Ubuntu 16.04

most BT mouse and keyboard can only be paired to one computer (one OS to be specific)
I had the same with Win/Ubuntu and MS Sculpt mouse

You can try to use the same key see here
How can I avoid having to pair my bluetooth mouse all the time?


After installing the proprietary NVIDIA driver, my boot splash is very large and stretched. Any fix?

Instructions for modifying:

/etc/default/grub
/etc/initramfs-tools/modules
/etc/grub.d/10_linux

As found on:  http://paolobernardi.wordpress.com/2011/05/01/fix-plymouth-on-ubuntu-after-installing-nvidia-or-ati-proprietary-drivers-for-ubuntu-11-04-natty/

This did the trick for me.  Paolo even includes a script to make it easy.


Why can't I arrange the icons on my Xubuntu 16.04 desktop?

After wiping out the .config/xfce4 directory and starting over, I think I've figured out what's going on. It has to do with the alignment of dual monitors.

I have an external monitor on this laptop. If I extend the desktop and align the bottom of the laptop monitor (small) with the bottom of the external 27" monitor, things work great.

If instead I align them to reflect the real-world orientation where the laptop (primary) monitor is about 1/4 of the screen lower and on the left (which I'd prefer because it makes movement between monitors a lot smoother), that's when this behavior shows up. The tricky part is it doesn't show up until I log in again.

It appears that with this display orientation, something decides at login time that there are only three rows worth of icon space on the primary monitor (when there are actually still 7). Since there were icons below that, the whole desktop gets randomly rearranged. I can then move icons around as long as I only use the first three rows. If I try to use any row beyond that, the icon won't move. I can drag it there -- it just won't stick.

When I adjust the orientation of the two monitors, the number of apparent usable icon rows changes, even though there are no icons on the external monitor and the screen size of the primary monitor hasn't changed.

I only have full use of all icon rows if the two monitors are aligned at the bottom.


try live , not from wubi .
first download , unetbootin . then open it and follow the instraction it says.
then open your boot menu and select boot from USB . then restart your PC :)


It all depends on how you want your system If you just want bare xfce as your desktop and run all the applications you have been running. You can just do

apt-get install --no-install-recommends xubuntu-desktop

and remove those unity and gnome related desktop packages using synaptic and choose xubuntu session from gdm during login. Adding to what jpfluery pointed out the given script tends to replace applications such as libreoffice, evolution, totem, empathy, banshee, gedit with some lighter alternatves i.e abiword,gnumeric, thunderbird,parole,pidgin,gmusicbrowser,mousepad etc which are recommended packages of xubuntu. With xubuntu what you will get is

xfce alternative to gnome,unity
thunar alternative to nautilus[although they both can co-exist]
xfwm alternative to compiz[although compiz can be run with xfce] and metacity

If you need xubuntu-artworks, plymouth theme and even gdm theme you can install them as well.


Find this section:

## no compositor
own_window_type conky
own_window_argb_visual yes

## xcompmgr
#own_window_type conky
#own_window_argb_visual yes

## cairo-compmgr
own_window_type conky
own_window_argb_visual no

Copy this code over top of the section:

## no compositor
#own_window_type conky
#own_window_argb_visual yes

## xcompmgr
own_window_type conky
own_window_argb_visual yes

## cairo-compmgr
#own_window_type conky
#own_window_argb_visual no


Apply menuconfig changes on current kernel

You do need to compile the kernel after changing the config.  The config in question is the configuration used to compile the kernel.  Its not configuration for the running kernel.  Config for a running kernel typically done via the /proc filesystem.


Where can i get nohup.out, if script starts at startup

Add cd /root/folder at the top of start.sh.  Never trust the current directory in startup jobs.

BTW, this is overly complex. You do not need nohup for jobs that are not started by a terminal; so you can use in /etc/rc.local

/root/folder/nohup_test.sh > /root/folder/my_output_file.log 2>&1 &

and be done.


What are the procedure to install the drivers for the ati radeon mobility x2300?

I've checked the AMD support website and found out that they don't offer any drivers anymore. Nether for Linux nor Windows nor Mac OS. It seems you have to live with the open source/default driver.

You could have a look at this open source driver. It says the 3D doesn't work as fast as with the fglrx driver but you could try...


How do I use MAAS to deploy CentOS images?

I thought I would share the answer I found, thanks to this post on travnewmatic.com:

Once CentOS images are generated one should import them using the api after login:

maas root boot-resources create name=centos/centos6 title="CentOS-6" architecture=amd64/generic  content@=centos6-amd64-root-tgz

Builder script seems to be the way to go. Analyzing it, I tried to to use directly CentOS cloud images with populated curtin directory and virt-sysprep but with no success (installation of image doesn't complete correctly an MAAS node is stuck in deployment). I would need to spend more time to look at what is wrong with this approach as it would be more efficient.

Note that I recommend to modify the builder script and contrib kickstart configuration file to speed up image creation. Using kernel.org mirror lead to image creation failure... Instead, using near by mirror lead to image creation success with reasonable speed on homemade 32 GB RAM server.


How can I compile an 4.2.x version of Guest Additions on Ubuntu 14.04.3 LTS?

X-server-1.5.-support is only available from Virtualbox >= 4.2.28.

So the error we see is related to Ubuntu using a newer XServer version which is not yet supported in older releases of the VirtualBox guest additions (also see this bug report).

This is why guest additions version 4.2.12 refuse to compile in Ubuntu 14.04.


My Ubuntu is suffering from ACPI errors. Also is not loading

boot to the -42 or -40 kernel
open terminal

dpkg -l linux-* | grep ii | grep 5.6.0 # show you the kernel 5.6.0 files

Should give you about 5 lines, all related to kernel 5.6.0

sudo apt-get purge enter_one_filename_here # do this for each of the 5 filenames

sudo update-grub # update GRUB

reboot # reboot the computer

Update #1:

MSI MS-16GD (CX61 2PC)

To try and eliminate the ACPI errors, we'll need to update your BIOS.

Make sure you have good backups before updating the BIOS.

You have BIOS E16GDIMS.50O. Current BIOS is E16GDIMS.60Q and can be downloaded from here.


You can just point your web browser at the index page

xdg-open /usr/share/doc/sqlite3-doc/index.html

and navigate the documentation from there.


to make sure the SDK works by itself, open up terminal.
Then go to the sdk-directory/tools and run sdk manager by typing "./android".
If you see the similar thing you have right now, you must be missing some requirements like java. Read the section. Hope it helps you. :)

https://help.ubuntu.com/community/AndroidSDK#Setting_up_Java


I found the solution here. VNC was bound to local host and I had to bind it to lan interface
I ran vncserver -localhost no and it worked.

https://superuser.com/questions/564658/vnc-viewer-error-unable-connect-to-socket-connection-refused-111


how to configure USB mounted WiFi WLAN Adapter

I want to know as how to configure it as a wireless network, in
  infrastructure mode.

I believe what you want is to configure it as an Access Point, is that right? The steps are the following:

find out the name of your usb dongle ( i.e, wlan1, wlan2 ) through iwconfig
sudo ifconfig wlanX down
sudo iwconfig wlanX mode Master
sudo ifconfig wlanX up

Basically , bring the interface down, change mode, bring back up.

If this is not exactly what you want, please add explanation into comment bellow or into your question; also, rate this question up if it was useful


Problem building Qsynth 0.4.3 FLUIDSYNTH library not found

Installing libfluidsynth-dev as below allowed the configure to complete.

sudo apt-get install libfluidsynth-dev


Using Ubuntu/Rackspace Server as an audio-stream

From what I can tell, Nicecast appears to be a pretty simple broadcast service with a built-in icecast server (or optional remote server setup).

If using built-in server:
(ie: on your local machine) the world will not be able to connect to your address, unless you set up port forwarding on your router.

If using a remote hosted icecast server:
Simply add the remote server's icecast URL:8000 to your broadcast list, and connect.

So, now that my assumptions are out of the way, where exactly are you having the issues Do you just need help installing and setting up Icecast on an Ubuntu server at Rackspace? (If so... if you give me a bit, I can assist much deeper when I get to my desk. I'm working from the house at the moment, and about to leave for the office.)


Unable to boot ubuntu 14.4 from usb on dell inspirton 15 3537

Sir,It is mainly caused by bad installation or corrupt structure. SO I request you to wipe the flash drive and do the installation once again using universal usb installerand try again.
It worked for me ;-)

Download Link for UNIVERSAL USB INSTALLER:
Refer this link for download and installation guide


Automate script on boot to connect via ssh

Ok so I've figured this out after some tinkering around.

Permissions on the .ssh folder and authorized_keys file on the pi needed to be set to 655 on both and the user needed to be changed to pi not root. This managed to fix my issue with passwordless login.

From this point I could just issue a standard ssh command in rc.local, though I found out that this executes as root. In which case I needed to specific the following.

ssh -fN -i /home/user/.ssh/id_rsa -R 9000:localhost:5253 pi@x.x.x.x

Sure enough it now persists on reboot and OwnCloud is now reachable via the net.


Keyboard layout changes but when I type I still get the original layout

Logging out should do it, no need to reboot.


The network-manager package just provides the backend networking service - the GUI interface is called nm-applet and is provided by the network-manager-gnome package, so first step would be to check that package is also installed.

The nm-applet program should run automatically in the Ubuntu desktop, and create an icon on the indicator bar at the top of the screen - for a wired connection it will look like an 'up-down arrow' rather than a 'fan' that you may be expecting (which is only used for wireless connections).

If nm-applet is running but the indicator is not showing for some reason, then you can access the configuration GUI by opening a terminal and typing

nm-connection-editor

If nm-applet is not running, then you can attempt to start it from the command line as well, i.e.

nm-applet & disown

(the & disown puts it in the background and stops it from being killed when the parent terminal is closed). However you should attempt to find out why it is not running - it can be configured not to start via files in /etc/xdg/autostart or ~/.config/autostart but that should not be the case in a clean install.


I think you want these two eCryptFS tools (scripts really):

ecryptfs-recover-private - find and mount any encrypted private directories

Use this to mount your old encrypted home, and copy / back them up somewhere safe.
ecryptfs-migrate-home - migrate a user's home to directory to an encrypted home setup

It's man page contains this warning:

WARNING: Make a complete backup copy of the  non-encrypted  data  to
another  system  or  external media. This script is dangerous and in
case of an error, could result in data lost, or lock USER out of the
system!

So I'd definitely do the ecryptfs-recover-private and create backup copies first, if the data has any value.

BUT you absolutely must have your old login passphrase in order to decrypt your old encrypted home (unless you already have a backup copy of the actual eCryptfs mount passphrase). From your statement I forgot my password you might be out of luck unless you can guess/remember your old password.

Recovering your files from a backup copy would be much easier, if you have a backup copy (everyone really should have backup copies of important data, all drives fail eventually, and forgetting passphrases is easy to do).

FYI, your actual encrypted files and wrapped-passphrase file should be stored in /home/.ecryptfs, along with every user's encrypted home. The actual home folder (for example /home/[username] only has links to the actual folders, and 2 help files. Specifically:

Your encrypted files should be in /home/.ecryptfs/[username]/.Private
wrapped-passphrase and other config files should be in /home/.ecryptfs/[username]/.ecryptfs


Ubuntu 16.04 samba sharing can't change permissions

You can do this in two ways:

use nautilus to share a folder, or
write directly to the samba configuration file here /etc/samba/smb.conf

For the first case do this:

create a share folder and call it what you want
right click on the folder and select local network share
on the dialogue box that appears select two things:

share this folder, and
allow others to create and delete files in this folder

Then a file will be created in the location /var/lib/samba/usershare with the changes you added, so you can manually change things there.

For the section option you added individual shares to the /etc/samba/smb.conf file:

[Your Share name goes here]
    path = /your/folder/goes/here
    writeable = yes
;   browseable = yes
    guest ok = yes
    create mask = 777
    directory mask = 777

Note:

To use the above (second method) you will need to un-share any _previously_ shared folder from _option 1_ or that which you had done.
To set permissions of newly created documents / files edit /etc/samba/smb.conf and in the [global] section add :
create mask = 0644
directory mask = 0755

I rather prefer the former but it up to you I guess.

Sources:

https://ubuntuforums.org/showthread.php?t=1124810
https://help.ubuntu.com/community/Samba/SambaServerGuide
https://www.samba.org/samba/docs/using_samba/ch06.html (excellent article on samba)
https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html


Ubuntu Battery not charging or not detected

Everything was be related to ACPI (Advanced Configuration and Power Interface) in my case.

On my configuration ASUS N750J with kubuntu 13.x but I suspect on a lot of new laptop with some "smart" energy managers, the solution was to edit your GRUB entry and add the following parameter:

acpi=nolapic

GRUB is your boot screen, (default config, recovery config, etc). TO edit it, select the entry (or keep the default one) and press "e".

I have found various "solutions" some hacks like "pluggin/unplugging your power source 8 times and things like that. Most don't work and some only provide a temporary relief. The problem is at a very low level, some acpi tables get corrupted while dealing with the hardware. Somehow this parameter fixed my problem.


unresponsive keyboard and mouse after update

If you have a spare keyboard or mouse then login go into setting > software and updates then under the tab additional drivers what till you see drivers keep you other keyboard and mouse plugedin so it can look for those as well. If it doesn't work then you might want to reasearch you piticular mouse and keyboard and look for anything similar to your situation.


Video/Graphic render issue with high quality (HD)

I just posted a HD playback fix. If you're after drivers, open settings and select restricted drivers.


Yes, it should be possible, but Skype must run in background and use two bridges:

Empathy <-> libpurple  <-> Skype.

I personally use only the second one.

The Empathy/libpurple bridge is provided by telepathy-haze

The libpurple/Skype bridge is provided by the pidgin-skype package


How can I associate a folder to some file descriptor?

It needs to be open read-only.
exec 33< /path/to/dir

Apart from some system calls, I cannot imagine any use for a directory file descriptor.