I am getting the following errors while using the sudo nautilus command as root. Please suggest a way out

If you want to use nautilus as root you should use gksudo nautilus instead as the 'gk' provides a graphical front-end for sudo meaning it can be used to safely launch programs that require a GUI


Where/how have you created the link? Is it definitely pointing to your copy of  libmmbd.so.0? Have you seen this post which states:

The instructions for adding libmmbd support are outdated/incomplete.
The correct place to put the symlink on modern 64-bit Debian-based
systems is in /usr/lib/86_64-linux-gnu/, not /usr/lib.


Lenovo ideapad320 laptop(amd a9 processor) touchpad is not working Ubuntu 17.10

You need to upgrade to linux kernel 4.15 or above. Ubuntu 18.04 uses 4.15, so install that.

I have the exact same machine. Ubuntu 18.04 works just fine, though the boot time is a little long.


/boot is almost full preventing Software Updates

Try this:

Open a terminal,Press Ctrl+Alt+T

Run it:

$ sudo -i
# OLDCONF=$(dpkg -l|grep "^rc"|awk '{print $2}')
# CURKERNEL=$(uname -r|sed 's/-*[a-z]//g'|sed 's/-386//g')
# LINUXPKG="linux-(image|headers|ubuntu-modules|restricted-modules)"
# METALINUXPKG="linux-(image|headers|restricted-modules)-(generic|i386|server|common|rt|xen)"
# OLDKERNELS=$(dpkg -l|awk '{print $2}'|grep -E $LINUXPKG |grep -vE $METALINUXPKG|grep -v $CURKERNEL)
# apt-get clean
# apt-get remove --purge $OLDCONF
# apt-get remove --purge $OLDKERNELS
# rm -rf /home/*/.local/share/Trash/*/** &> /dev/null
# rm -rf /root/.local/share/Trash/*/** &> /dev/null


18.04 Gnome Desktop No permanent workspace number shown on desktop

Install the following gnome extension:

workspace-indicator

Or install from Ubuntu package with the default Gnome Shell extensions - it's probably more reliable.

You can install it using:

sudo apt install gnome-shell-extensions

After installing that package, restart Gnome Shell using Alt+F2 and typing r, then press the Enter key.
And finally enable the "Workspace Indicator" extension using Gnome Tweaks.


Will installing OpenJDK 7 set it automatically as the default jre?

Surprisingly, keeping OpenJDK 6 is a good idea for old Java applets that don't work in OpenJDK 7.

As to making OpenJDK 7 the default, that may be relevant to the browser, or installation order - but don't quote me on this, please.


Ralink Technology, Wireless adapter MT7601U (Mercury MW150UH USB) not working

sudo apt install git build-essential dkms
git clone https://github.com/jeremyb31/mt7601u.git
sudo dkms add ./mt7601u
sudo dkms install mt7601u/1.0

Reboot and plug the USB in.  This will only fix the vendor request errors in the 5.0 kernels but the module should work.

This also works for EDUP-MS8552S


As said, it's seen like an USB drive by Ubuntu, but the system is designed to sync over the net. Most of the stuff don't need a computer, for example my contacts and phone numbers sync with my gmail and facebook account. Pics with picassa, Files with Dropbox, task with Remember the Milk, etc...

I really only attach it to a computer to make backups when I do system updates (I own a HTC Magic with the latest Cyanogenmod RC). All the other syncing is done magically over the net.


What happened with SourceForge UbuntuZilla repository?

According to SourceForge.net Twitter they really have disaster:

  SourceForge SF.net Operations  @sfnet_ops · Mar 3
  We are still working around the clock to restore full capacity to SourceForge. We do not have an ETA yet but we will update here when we do. We appreciate your patience. Thank you.

  SourceForge SF.net Operations @sfnet_ops · Mar 2
  We now have a much better idea as to what is causing the recent performance issues. We're now executing a plan to get SourceForge back to full capacity. We may be some hours off yet, but our team is working around the clock until stability is restored. Thank you for your patience

  SourceForge SF.net Operations @sfnet_ops · Mar 1
  SourceForge is experiencing issues. We are investigating.

  SourceForge SF.net Operations @sfnet_ops · Feb 26
  We are still working to restore full capacity after today's DDOS event. Updates to follow.

Update 1: they are online since 6:45 AM · Mar 4, 2018

  SourceForge SF.net Operations @sfnet_ops · 6:45 AM · Mar 4, 2018
  SourceForge is back online.

but ubuntuzilla is still unavailable:

$ wget -O - http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt
--2018-03-04 14:14:46--  http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-04 14:14:52 ERROR 404: Not Found.

and files from ttf-mscorefonts-installer too:

$ wget -O - http://downloads.sourceforge.net/corefonts/andale32.exe
--2018-03-04 14:16:46--  http://downloads.sourceforge.net/corefonts/andale32.exe
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-03-04 14:16:52 ERROR 404: Not Found.

Update 2: downloads are fixed:

  SourceForge SF.net Operations @sfnet_ops · 6:12 PM · Mar 4, 2018
  The issue affecting downloads and search has been resolved.

UbuntuZilla repository and corefonts works as expected.


Bluetooth

At least for Bluetooth you can do the following:

Use adb

To use adb you must have developer mode enabled and adb installed (the sdk is enough, you don't need the entire IDE, which is Android specific anyway). If you have it installed you can follow these commands

$ adb shell
phablet@ubuntu-phablet:~$ sudo vi /etc/machine-info
[sudo] password for phablet: {fill in your passphrase/PIN}

Now you can enter the name you want after PRETTY_HOSTNAME

PRETTY_HOSTNAME="Your preferred name here"

In stead of vi you can also use nano (i.e.:

phablet@ubuntu-phablet:~$ sudo nano /etc/machine-info

)

There is lots of help available on how to use vi or nano

Use a terminal app

In the Ubuntu Store there is an app called Terminal. When installed, you can use it to type the same commands as for adb.

Setting up adb is far more work, but I had it installed already and I prefer using a real keyboard over an on-screen keyboard for these kind of things.

Device Hostname

You can also change the device hostname, but it is doesn't work as well as changing the PRETTY_HOSTNAME setting.

phablet@ubuntu-phablet:~% sudo hostname <new-hostname>

Note that the actual hostname must be a valid hostname

A (big) caveat with this is, that – apparently – /etc/ is not writeable by default, meaning that hostname will not update /etc/hosts since that file is not writeable. To be able to resolve its own hostname, the system needs /etc/hosts to contains a reference to its own hostname, otherwise you'll get error messages like "unable to resolve host ", since /etc/hosts only contains references to ubuntu-phablet.


Why are my Nvidia drivers "installed but not in use"?

I have seen this problem before where the nVidia chipset is integrated into the motherboard; a lot of them use the 7xxx series. The only thing I can say is that even with this error, the nVidia chipset ran as expected.

Are you using a separate graphics card (on a PCI-e slot), or is it integrated?


No output on `gpg --fingerprint` when retrieving the key for Launchpad

By default, there are no keys on your keyring. Those messages can be ignored, if you remove your ~/.gnupg directory, those messages will be visible again.

You need to create the GPG key first, both a GUI and CLI way are described on the help page of Launchpad: https://help.launchpad.net/YourAccount/ImportingYourPGPKey


Silverlight 3 streaming via future Moonlight version?

Yes. As a matter of fact, the Silverlight 3 API is considered feature complete in the Moonlight 4 Preview 1 version:

Release Notes Moonlight 4 Preview
Moonlight 4 Preview 1 is the first preview of Moonlight that includes support for the Siverlight 3 APIs and partial support for Silverlight 4 APIs. We consider the Silverlight 3 API support to be feature complete while the Silverlight 4 APIs are both partial and might be missing features.

[From the release notes.]
You can download it here. However, it's possible that some sites do stupid system checking based on your user agent - so it might be possible that you technically could view the content, but the site prevents it from being displayed. Just post the site in question.


How can schedule to run 'deluge BT client' in ubuntu 12.1 using gnome schedule

I assume you already know how to create a New Recurrent Scheduled Task, so after you open that option, try typing: deluge-gtk & in the command section.

Then pull down the tab under command, place it as X application. Then in the Time & Date section, click on Advanced, put the time you want, remember that it uses a 24-hour clock so, say for 9PM you'd want to say 21:00 (that is put 00 in Minutes and 21 in Hour). That's it!

I use transmission to download between midnight and 6am, and this always works for me.


Nvidia support for Linux is actually terrible, my first laptop with Nvidia optimus made me lose 1 week to properly install the first version of bumblebee.
Bumblebee only runs a program if you ask it to, with the optirun or primusrun.
You can uninstall bumblebee and install it easily again, but I don't think there is a way to disable it since you need to call it to use. (I could not comment due to small reputation)


Removing the GDM Nvidia rules works for me, with a similar problem; it may help you.

Boot into a Ubuntu Live ISO, and click Try Ubuntu

Open the "Disks" app

In the left panel, click on your system disk

In the main panel, select your root partition

Click the ▶ symbol towards the bottom left to mount the parition

You will see a "Mounted at" link appear next to the the "Contents" label

Click on this link to open the location in Nautilus

From the Nautilus location bar, click the down arrow, and select "Open in Terminal"

In the terminal type the following
sudo nano ./lib/udev/rules.d/61-gdm.rules

(Make sure the path starts with ./ because you want to edit the 61-gdm.rules file relative to the current mounted location).

Comment out all of the lines, as shown:
# disable Wayland on Hi1710 chipsets
# ATTR{vendor}=="0x19e5", ATTR{device}=="0x1711", RUN+="/usr/libexec/gdm-disable-wayland"
# disable Wayland when using the proprietary nvidia driver
# DRIVER=="nvidia", RUN+="/usr/libexec/gdm-disable-wayland"
# disable Wayland if modesetting is disabled
# IMPORT{cmdline}="nomodeset", RUN+="/usr/libexec/gdm-disable-wayland"

Type CtrlX, then Y, and then Enter to save your changes and exit Nano

Remove you Live ISO and reboot


If you have a 32-bit CPU, then you have no options. Only a 32-bit OS can be installed.

Ubuntu is shipped with pae-enabled kernels. Up to 64 GB of RAM can be used.

But not more than 4 GB per process.


I'm not sure about arbitrary embedded Flash videos, but for YouTube, I used to use this Chrome Extension that replaces the Flash player with a VLC player. Playback is much smoother.

Unfortunately this extension is not working at the moment, not until VLC fixes their Lua script. So now I use this, which basically enqueues the selected YouTube video into my current queue in VLC (it needs to be running or the extension will fail).

You can probably try alternative Flash players, like gnash or whatever, but they don't improve much at all. And people say they are still unreliable.


Will GNOME Online Accounts ever support Ubuntu One?

Its not on the roadmap of both of them.

Not trying to guess stuff out and say no but the short answer will be that: no, not that its known atm.


 Printing PDFs to file but name of file saves with weird box-symbol  with F022 inside

That symbol represent no other thing but a unicode character. Basically, it displays that kind of characters (the ones with hexadecimal numbers inside a square) when the particular character is not supported by the font you're currently using.

You can check, if you've got a font which is able to display it, in the following link: http://www.fileformat.info/info/unicode/char/f022/browsertest.htm

And here they are the fonts which support that character: http://www.fileformat.info/info/unicode/char/f022/fontsupport.htm

I doesn't look like is a particular issue of your system or of your installation. I neither can to display that character.

Greetings.


Why does 11.04 boot so slow on my system?

you can try to trace down the issue by installing bootchart available in repos.
http://en.wikipedia.org/wiki/Bootchart


Installing for the 1st time, having trouble setting up dual boot between Ubuntu 17.10 and Windows 10 UEFI

If it's an Acer computer, you have to follow the procedure here: Acer Aspire E15 will not dual boot
If Ubuntu is already installed, you should just do steps from 2 to 16 (not all of them, only what's in your BIOS and is different from what's written there), and, most important, steps from 34 to 43. There is a small mistake in step 40, you have to write grubx64efi without the dot.

You should also do this to make the touchpad work, if it's a laptop Just installed ubuntu on an acer latop and now the touchpad wont work. How do i fix this?


issue : USB-LIVE Lubuntu ntpdate time is not getting sync

it seems that ntpdate is depreciated try:

sudo service ntp stop
sudo ntpd -gq
sudo service ntp start

OUTPUT:

{~}:$ sudo service ntp stop
{~}:$ sudo ntpd -gq
 1 Jun 08:55:37 ntpd[9331]: ntpd 4.2.8p4@1.3265-o Fri Apr  8 20:58:07 UTC 2016 (1): Starting
 1 Jun 08:55:37 ntpd[9331]: Command line: ntpd -gq
 1 Jun 08:55:37 ntpd[9331]: proto: precision = 0.124 usec (-23)
 1 Jun 08:55:37 ntpd[9331]: Listen and drop on 0 v6wildcard [::]:123
 1 Jun 08:55:37 ntpd[9331]: Listen and drop on 1 v4wildcard 0.0.0.0:123
 1 Jun 08:55:37 ntpd[9331]: Listen normally on 2 lo 127.0.0.1:123
 1 Jun 08:55:37 ntpd[9331]: Listen normally on 3 eth0 192.168.1.20:123
 1 Jun 08:55:37 ntpd[9331]: Listen normally on 4 lo [::1]:123
 1 Jun 08:55:37 ntpd[9331]: Listen normally on 5 eth0 []:123
 1 Jun 08:55:37 ntpd[9331]: Listening on routing socket on fd #22 for interface updates
 1 Jun 08:55:38 ntpd[9331]: Soliciting pool server 184.105.192.247
 1 Jun 08:55:39 ntpd[9331]: Soliciting pool server 107.170.242.27
 1 Jun 08:55:39 ntpd[9331]: Soliciting pool server 204.9.54.119
 1 Jun 08:55:40 ntpd[9331]: Soliciting pool server 104.156.99.226
 1 Jun 08:55:40 ntpd[9331]: Soliciting pool server 50.116.52.97
 1 Jun 08:55:40 ntpd[9331]: Soliciting pool server 129.250.35.251
 1 Jun 08:55:41 ntpd[9331]: Soliciting pool server 67.18.187.111
 1 Jun 08:55:41 ntpd[9331]: Soliciting pool server 45.79.10.228
 1 Jun 08:55:41 ntpd[9331]: Soliciting pool server 209.114.111.1
 1 Jun 08:55:41 ntpd[9331]: ntpd: time slew -0.001862 s
ntpd: time slew -0.001862s
{~}:$

See if this will do what you need. Also .. .ntpdate will not be able to connect if the service is running .. so you may be able to use

sudo service ntp stop
sudo ntpdate -s us.pool.ntp.org
sudo service ntp start

OUTPUT:

{~}:$ sudo service ntp stop
{~}:$ sudo ntpdate -s us.pool.ntp.org
{~}:$

But I tried this and didn't seem to get any output like I did with the ntpd -gq command.


EXT4-fs error on Ubuntu 15.04 crashing after installing an HDD for extra space, Kernel panic on live USB boot

Before continuing, it looks like your SSD drive is hosed, but the below will ensure/not ensure this.  Sorry for posting this as an answer but the comments are too short for this...

Remove all drives from the machine and put them in a USB enclosure
Ensure the USB drive's md5 hash is correct.
Boot from the USB drive.
If that works, press Ctrl+Alt+T to go to a terminal and type:

sudo apt-get install smartmontools
sudo smartctl --scan

Note the output of the last command. (that is your USB drive)
Insert the SSD drive in a USB port and run:

sudo smartctl --scan

again.  The difference between the output in step 4 and step 6 is your SSD drive.
Run:

sudo smartctl --all /dev/XdY

where Xand Y is the disk name that step 6 gave you.

Edit your question and post the output of the above.  We'll take it from there whether your SSD just needs to be reformatted or replaced by the 1TB HDD.


Canon mg2550 printer: How to install printer driver?

Go to the dash (the "start" button in the opper left corner if using Ubuntu or the button in the lower left corner if using Lubuntu)
Click printers
Choose Add
Ubuntu will find the printer for you!
Click the printer, choose "forward"
If you want to customise the settings, click "Canon" and choose "forward"
then scroll down to MG2500 (to the right it will say MG2500 series)and take that!
forward, enter your customizations, Click apply

Done!


Download this software UnetBootIN |Download the windows version if you plan to run the software on windows

Restart the Live USB drives making process from scratch.

I think something went wrong when the first time you tried. It should work fine this time :)


Ubuntu 12.10 has reached End Of Life and is no longer supported.

You use digitalocean mirrors,

edit your /etc/apt/source.list to:

deb http://archive.ubuntu.com/ubuntu precise main

deb http://archive.ubuntu.com/ubuntu precise-updates main

deb http://security.ubuntu.com/ubuntu precise-security main universe

deb http://archive.ubuntu.com/ubuntu precise universe

deb http://archive.ubuntu.com/ubuntu precise-updates universe

and then execute

do-release-upgrade

This is just a temporary workaround for those who haven't upgraded yet, but still its strongly recommended your system to latest version ASAP, to avail all security updates.


Ubuntu dual boot installation in Acer Aspire boots straight to windows 10, no EFI file found

I have seen your Acer forum link there is missing EFI partition. Have you created it or not? If not then reinstall Ubuntu again using manual partition. Use this video as guide to create partition https://www.youtube.com/watch?v=lG0jWnBZhY0 Once you finish then you have able to choose trusted boot file.


I have managed to fix this problem asking a friend who uses Vundle already.

All I did was to move the .vimrc file that I have prepared to my home directory then it'll be

~/.vimrc

and Now it's all working.


"Error calling fsync(2) on /dev/sdc1: Input/output error" while formatting my pendrive?

I had the same problem. I tried many methods on Linux but failed. However, when I insert my pen drive into the computer running windows 7, the system offered to repair my pen drive; after I clicked 'OK', the system repaired my pen drive automatically.

Hope this may help you ...


How do I set different settings for different mice?

You can have multiple hardware-specific configurations now, in /etc/X11/xorg.conf.d/.

See X/Config, or New configuration world order which has some more specific examples.

If anyone is interested in helping improve X via wiki editing, a really easy thing to do would be to copyedit the directions at X/Config to be in the form of xorg.conf.d snippets instead of whole xorg.conf's.  If not, us developers will get to it eventually, but it could save time that developers could then spend on fixing more X bugs.  :-)


For a thorough answer you should elaborate on the problems you're experiencing.

Oracle 12c R1 has been released just recently and AFAIK there is no "tutorial" on installing Oracle 12c on Ubuntu, yet. I am afraid you have to stick with what's in the webs for 11g R2.

The relevant prerequisites that changed from 11gR2 to 12cR1 are about minimum required swap space and maximum number of file descriptors (65536 instead of 4096). I did not observe any other changed pre installation requirements, but note that I actually did not install 11gR2/12cR1 on Ubuntu, but on Solaris and conclude from the differences I've observed there.

Further information:

http://docs.oracle.com/cd/E16655_01/install.121/e17720/toc.htm

NOTE: This is an answer to the original question, if there was a tutorial for 12cR1/Ubuntu available.


How change colors of top bar control panels?

Gnome Shell uses a different theme than your application windows and dialogs. You can change the theme of Gnome Shell in Gnome Tweaks, appearance tab, provided you have installed the User Themes extension first.

Once you installed that extension, the selection box next to "Shell" on the "Appearance" tab in Gnome Tweaks, will be active to set a Gnome Shell theme.


Cannot login after removing password from user account

When you encrypted your user folder, you used the Ecryptfs program. Ecryptfs actually uses two different passwords to encrypt this folder. When you removed your login password, you needed to also change your Ecryptfs password. This protection exists to prevent root from tampering with the password of your encrypted directory. If you want to read more about Ubuntu and encryption, check out:

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

The problem with .Xauthority was likely caused by this Ecryptfs lockout. Try these suggestions, and reply if the .Xauthority problem isn't fixed by solving the lockout problem.

To change the Ecryptfs password, try:

ecryptfs-rewrap-passphrase /home/.ecryptfs/$USER/.ecryptfs/wrapped-passphrase

For more information, visit:

http://goshawknest.wordpress.com/2011/02/17/how-to-change-ecryptfs-home-cripted-filesystem-password-on-ubuntu-and-get-your-files-back/
The Ecryptfs tutorial is also very helpful. If you remember your Ecryptfs password, you may be able to use that live CD to access your directory using chroot:

http://bodhizazen.com/Tutorials/Ecryptfs


Is there any disk defragmenting GUI like piriform's Defraggler for Linux?

The question is not if there is fragmentation. All file systems have some fragmentation.
The question is if the fragmentation is enough to affect performance.
On Linux file systems, fragmentation is typically less then 5%, often 1 or 2% unless the disk is 99% full. In the event of a full disk, you can see significant fragmentation, but in that case the problem is a full disk.
$ sudo fsck.ext2 -fn /dev/sda1
e2fsck 1.42 (29-Nov-2011)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Ubuntu_Rescue: 291595/1222992 files (**0.2% non-contiguous**), 1927790/4882432 blocks

So yes, there is 0.2 % fragmentation, but this is well below the 85% threshold to affect performance.
See the blog post Why doesn't Linux need defragmenting?.
On Windows, it is not uncommon to see 50% or higher rates of fragmentation (I have seen 200% plus). Thus windows needs defragmentation tools.
On Windows they advise defragmentation at thresholds of about 85%.
See:

Defragging: Why, How, and Whether
The Biggest Disk Defragmentation Myths

So, bottom line, defragmentation is not a large enough problem on Linux to affect performance, so there are no significant defragmentation tools and you are sort of wasting your time worrying about it.


video/audio output via HDMI Ubuntu 12.04

Good day, lostNfound.

I have the same problem, although with a different NVIDIA graphics card.
I was also having jockey/additional drivers crash. Since recent updates, it no longer crashes but I still can't display to my HDTV via HDMI port.

Mega sadface.

I've been trying to sort this out on and off for some time and it's been quite a ball ache, so much so that I'm starting to regret not having paid £60 for the Windows 7 licence...

Anyway, here's as far as I've got so far:

Additional Drivers application presents me with 4 drivers, which I can activate one at a time. The Ubuntu 12.04 application has never detected anything other than the HP monitor I am using at the moment.

Online, I found that one needs the NVIDIA X Server Settings application to work and NVIDIA GPU properly. Everyone seems to agree that's the way to go. Try

  sudo nvidia-settings

which should allow to establish if you already have it installed. I'm afraid I don't recall how I installed it myself. Like I said, I've been on this for some time and tried many things!

I went to the NVIDIA website and downloaded the appropriate driver for my graphics card & OS. This was a .run file. I had some serious issues installing from this, it wasn't user friendly (I am not an Ubuntu expert, but not a complete novice either) I eventually succeeded by following the instructions here
I've no idea what CUDA is, but the installation was successful.

NVIDIA X Server Settings correctly identifies the driver version that is installed.
However, the Detect Displays button still fails to detect my telly.

See if it works for you and good luck!


Can I install Ubuntu Touch on a HP TouchPad?

Yes, unfortunately Touch on HP Touchpad seems to be a back-of-the-queue for developers, (which is strange considering the number of TP's out there - natural potential hosts for Ubuntu Touch, especially now that WebOS is out of support).

I'm not going to agree that the "solutions are outdated" - get yourself over to XDA-Devs (specifically Ubuntu Touch 13.10 Saucy on the HP Touchpad DUAL BOOT ANDROID) and you'll see that there's still some interest out there - last post April 2015.

As to first steps, and especially doing it properly, (ie without Windows), that might be tricky. I'm thinking that Novacomm (required) should work via Wine, failing that FreeDOS VM?. Once that's in place the instructions on the first page look reasonable, although I think you'll end up with WebOS/Android/Ubuntu, rather than just Ubuntu (like I guess you want).

I've now got two "surplus to requirements" TP's so it's maybe possible that at least one of them will get the Ubuntu Touch treatment. If I get the chance to do the "upgrade" then I'll feed back on this.


libGL error: MESA-LOADER: failed to open radeonsi (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri)

I faced same error for ANSYS2020R1 which was rectified by installing appropriate driver from amd website.
https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-20


Problems with login after startx command

I got your question completely. You could try the following method, it solved my problem as well.

You must have run startx with root privileges. Doing sudo startx or sudo su; startx makes the root owner of a file called .Xauthority required for X session login by xauth
NEVER use sudo for opening graphical applications. root will create files which will be owned by it, which others can't access. Since in Ubuntu by default root will have no password set, this can severely mess with your settings and your not being able to access your configuration files. Next time use a gksudo instead.
Since your .Xauthority file is owned by root, there is no way you can log in.
Find another terminal, like log in to another account and open terminal, but don't log in to  guest account.
In case you have only one account which you can't log in, then finding a terminal is difficult since you can get one only if you can log in.
In that case find a terminal tty1 through tty7 by pressing Ctrl+Alt+F1throughF7. This should provide you a terminal in case you have none at your disposal.
Enter the login credentials of your troubled account. You can log in through a command line terminal because .Xauthority affects only X window sessions.
Do cd; sudo chown username:groupname .Xauthority; Replace username and groupname with your own. Usually it is the same.
If it successfully returns prompt, then do sudo shutdown -r 0 and login again.


Grub menu won't show after installation (two-disk)

I solved my problem.

I  pressed Esc during boot while showing the BIOS prompt and a menu opened with options for booting from available hard disks and there I choose option: P2 (The second hard disk) and then the grub menu showed.


Missing Date and Time from top panel on Ubuntu 16.04

Have you checked the solutions suggested here.

I faced the same problem, and pkill -f indicator-datetime-service fixed my issue.


You can stop the process from running by changing the permissions.

Look for the process and remove the execute permission.

use -x option with chmod command to remove the execute permission.

Be sure of what you are doing. Few process might depend on other process. So make sure what you stopping.


What about a Distro dedicated to engineers?

Indeed, it really does not make sense to me something like "fully loaded with engineering tools".

I know engineers that use Matlab, some else that use CAD, some else Mathematica, some does pretty good sound engineering, someone use Windows, someone use Macs.

Someone other, thought, have everything they need inside the standard Ubuntu, which is a text editor and a compiler.

If you can be more specific on what your needing is, well, maybe there is something for you out there, but your question, as it is, does not really allow for a serious answer ;)


It depends of what you like to run on the web server - complex php site with hundreds consumers for example.

I have a VPS with Ubuntu 16.04 and Apache2 and in its initial state, it consumes under 100 MB RAM when it is idle. But with couple of additional modules, SQL server, Wikimedia site, etc. it consumes about 400 MB RAM on idle state.


Can't find external CD/DVD in Virtual Box/Windows XP mode?

Your computer icon inside Windows will show only the virtual hardware that you have created on your virtual machine, not your real one. By default, all virtual machines are created with only one CD driver.

But you can assign any of your real drives to this one, even just iso images. You can righ click on the CD icon on the bottom rigth of the screen or use the Device Menus to do this. If you are using the seamless mode, you will find the menu on the bottom bar.

In the following screenshot sr0 is an external USB drive.


Cannot boot to Windows 8.1 after installing Ubuntu

If you can Connect to the Internet try Following Code in a new Terminal Window.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

this will install boot-Repair in Ubuntu. after Installed launch it by typing "boot manager" in Bash or Terminal. When window came up, Select Recommended repair.

further information in here


Install Acer Aspire One ZG5 microphone on Ubuntu 12.10

I had an Acer ZG5 with this issue on 12.10.  To fix it I installed Pulse Audio Manager, PulseAudio Volume Control PulseAudio Volume Meter(capture) and Pulse Audio Volume Metere (playback).  You then at least could see the settings...  After this, the trick is to turn down the volume on ONE of the microphone channels (Left or right doesn't matter) to zero, and keep the other one turned on.

This worked for me..

Also managed to get the fancontrol by applying acerhdf fixes.. do a google on acerhdf ZG5, then I set the fan to come on at 55 deg off at 50 deg...

Now works A OK..


The simplest approach would be something like this:

command -v gpg &>/dev/null &&
    echo "gpg found at  $(command -v gpg)" ||
    echo "Cound not find gpg. Aborting."

Of course that is not very elegant since it needs to run command twice. An alternative would be:

gpg=$(command -v gpg 2>/dev/null) &&
    echo "gpg found at $gpg." ||
    echo "Cound not find gpg. Aborting."


Ubuntu 16.04 LTS won't boot after restart: Hangs after fsck

The solution that worked for me was to reinstall lightdm. TTY and execute the following:

sudo service killall lightdm

apt-get install --reinstall lightdm

sudo reboot

I don't know why this worked, but it may help others ...


How to uninstall Avira antivirus from Ubuntu 14.04?

From Official Avira Antivirus man:

Uninstalling AntiVir.

You can use the uninstall script, located in the temporary AntiVir directory, to remove
Avira AntiVir Server/ Professional. The syntax is:

uninstall [--product=productname] [--inf=inf-file] [--force]
[--version] [--help]

where productname is Guard.
Open the AntiVir directory:

cd /usr/lib/AntiVir/guard

Type:

./uninstall --product=Guard

The script starts uninstalling the product, asking you step by step, if you want to
keep backups for the license file, for the configuration files and logfiles; it can also
remove the cronjobs you made for Guard and Scanner.

Answer the questions with y or n and press Enter.

Avira AntiVir Server/ Professional is removed from your system.


Problems with Broadcom bcm4311 wireless card on HP Pavillion dv6000

Please get a temporary wired ethernet connection. Open a terminal and do:

sudo apt-get remove --purge bcmwl-kernel-source
sudo apt-get install linux-firmware-nonfree

Detach the ethernet, reboot and you wireless should be working correctly.


Different settings for Midnight Commander running as root and as regular user

If you invoke sudo with the -H switch, mc should read/write its settings to root's home directory /root/.config/mc instead of writing them to your own home directory ~/.config/mc. From man sudo:

 -H, --set-home
             Request that the security policy set the HOME environment
             variable to the home directory specified by the target user's
             password database entry.


(I Have to put this as an answer because i can't make a comment due to low rep)

Try using wget --no-passive-ftp. There might be a problem trying to access the passive port.


Bumping changelog when building Ubuntu kernel from git not changing version

OK, figured it out. The problem was I was building this way:

fakeroot debian/rules binary-headers binary-generic binary-perarch

I don't know the inside and out of Debian kernel builds but I guess those are build targets. I switched to:

fakeroot debian/rules binary

And it built everything, including the version with my name.


QtLocation and QtPositioning not installed

As you are talking about developing, in other words about programming, then you need to install development packages with headers:

qtlocation5-dev for /usr/include/x86_64-linux-gnu/qt5/QtLocation/QtLocation;
qtpositioning5-dev for /usr/include/x86_64-linux-gnu/qt5/QtPositioning/QtPositioning.

Install them along with QML bindings with

sudo apt install qtlocation5-dev qtpositioning5-dev
sudo apt install qml-module-qtlocation qml-module-qtpositioning

Next time you can use the file search on packages.ubuntu.com.


Ubuntu 12.04 login screen flickers. “Could not write bytes: broken pipes”

What display manager do you have installed? I just had the exact same problem when I tried using anything other than lightDM. If you installed the gnome desktop meta package it's possible you accidentally set it for GDM. Try reinstalling and reconfiguring lightDM.


How to install the latest Emacs in 12.04?

The package emacs24 isn't available on Precise, the command

sudo apt-get build-dep emacs24

wouldn't help.

To compile the current (2015-11-25) stable release

sudo apt-get install checkinstall
mkdir -p ~/src
cd ~/src
wget http://ftp.gnu.org/gnu/emacs/emacs-24.5.tar.gz
tar xf emacs-24.5.tar.gz
cd emacs-24.5
./configure
make
sudo checkinstall

Or you could use the PPA ppa:ubuntu-elisp/ppa to install the bleeding edge version.

I quote (from here):

  The Official ;-) Ubuntu Emacs Daily Snapshot PPA.

sudo apt-add-repository ppa:ubuntu-elisp/ppa
sudo apt-get update
sudo apt-get install emacs-snapshot

The commands above will install an additional version of emacs in your system.


You have been correctly informed that Ubuntu is indeed an Open Source Project.

While its completely possible to compile each package - and spend the hour(s) it will take to undertake such a task - it's not really recommended for first time users. Judging by the varying levels of questions here - it seems like this would be a good thing for you to explore in a Virtual Machine so you're not going to disrupt a working PC while you explore and learn the wonderous world of building your own Operating System.

You can compile and create your own ISO not just with ubuntu - but any distribution of linux that makes its source available to the public. The primary means behind this process is to pick your base system packages (from a debian based distribution - possibly more) and get started building this with remastersys.

Once you've completed this process you can then choose an ISO format to build, and thus install your own distribution. However - its likely to cause you problems if you don't know what you're doing. Again - I urge you to use a Virtual Machine to test anything you build by hand out of remastersys before attempting to install on your primary workstation.

Information on Remastersys

  Remastersys is a tool that extracts the configuration from a running Ubuntu or Debian installation and then turns this into an installable ISO image. This means that you carry out the customisation using the standard tools that you normally use, such as the package management system and GUI configuration tools. When you have everything set up the way you want it, you can clone the system and deploy it. Additionally, you can use Remastersys to make a clone of a working system.

link to tutorial here

If you want to get started by building everything from source - as other users have pointed out there are distributions that are engineered to provide this experience. Such as a stage 1 Gentoo isntallation - where you literally start from a minimal linux instance in ram - and build your base operating system one piece at a time. The entire process can take up to a day if it's your first run through - and its not uncommon to encounter strange and cryptic error messages that will require deeper learning about the process you're undertaking.

What is the difference between the Kernel Source and Ubuntu Source?

This could mean one of three things, and I will attempt to cover all paths.

The Kernel source is the official linux kernel source distributed by the core kernel team headed by Linus Torvalds. This is often referred to as a "vanilla kernel".
The "Ubuntu Source" may refer to Canonicals fork of the kernel which we keep up to date with patches, vendor hardware stacks (called HWE - shorthand for Hardware Enablement), and other customizations that help Ubuntu to perform and behave in the way you would expect Ubuntu to behave.
Or the "Ubuntu Source" could mean the thousands of packages we have available - which range from basic system utilities like Dash (or Bash), to a full GUI Desktop environment like Unity - which is in reality a meta-package, consisting of several micro-services and components that make up the interactive desktop on Ubuntu.

What does the kernal source code as a package do?

Most packages you encounter in Ubuntu will be binary distributions. Meaning they are pre-compiled for your CPU architecture, and shipped ready to run with zero compilation required by your machine. This speeds up installation, and gives you a sane set of defaults to consume.

Some packages, such as linux-headers - distribute the source code for use in compiling other packages. And this can be required to install things like kernel modules, building developer-level packages, or installing the bleeding edge package from a project that requires the linux headers as other code includes. (if you need more information on this subject, I encourage you to find a getting started with programming guide, and give that a thorough read through)

Hopefully this has answered your tiers of questions - and you feel armed with enough information to get moving. Again - please use caution with this advice if you choose to build your own flavor of an Operating System. It's taken teams of people a varying amount of time to build a robust operationg system such as Ubuntu. While its a great learning experience - it's certainly not for everyone.


How to resize a picture for sharing (email, chat, social) in Ubuntu touch?

Sadly I don't have access to a device like yours for testing purposes but
avconv has a good scaling filter.

avconv -i BigInputimage.jpg -s 640x480 640x480smalloutput.jpg

This should do the trick. For multiple files:

for i in *.jpg; do avconv -i "$i" -s 640x480 "out-$i.jpg" ; done

Where jpg is the extension of the images you wish to rescale.

multiple file command inspired by January answer regarding video here: How can I use avconv to convert multiple files in the terminal?

Based on what little I could find it doesn't look like the Ubuntu touch gallery app supports resize as an edit option. If this is incorrect,
please advise.

Since the terminal is available now and it seems cli tools can be run on ubuntu touch. This seems a valid answer.

To follow the Ubuntu Touch core apps development, you may find this page of interest: https://launchpad.net/ubuntu-phone-coreapps


How to change LCD brightness from command line (or via script)?

Open your terminal and type this

xrandr -q | grep " connected"

it will gives you the output as

LVDS1 connected 1680x1050+0+0 (normal left inverted right x axis y axis) 331mm x 207mm

There LVDS1 Stands for your display. So now you have to do as

xrandr --output LVDS1 --brightness 0.5

there 0.5 stands for brightness level and it ranges from 0.0 to 1.0 .
0.0 -> Full black .so you have to choose the required value of brightness .

This doesn't change brightness at a hardware level. From randr manual:

  --brightness brightness Multiply the gamma values on the crtc currently attached to the output to specified floating value. Useful for overly bright or overly dim outputs. However, this is a software only modification, if your hardware has support to actually change the brightness, you will probably prefer to use xbacklight.


Quoting your question:

  The /var directory may be put in its own filesystem...

(Emphasis mine.) They key phrase here is may be. It's not uncommon to do so. But the default Ubuntu installation settings don't do so, so you don't have /var on a separate partition.

There are many scenarios where /var belongs on a different filesystem (or even a different disk):

You have an application that does a lot of logging. In this case you'd want to protect root (/) from becoming full.
You're using an SSD for / and have an application that makes a lot of read/writes to /var. In this case you'd want it on a normal HDD.
You're using an application that is I/O intensive (using both storage space and a lot of read/writes), such as a mail server. In this case you'd want /var on a RAID array.

And so on... Also see: Why put things other than /home to a separate partition?


Fresh install: Everything is fine. After installing updates - screen resolution is wrong. NVIDIA GeForce 8600M GT

In my case, adding this line to "Device" Section of the xorg.conf file solved the problem.

Option      "ModeValidation" "NoMaxPClkCheck"

As seen in this Question.


Enable dark mode on chrome's internal pages

Note: as of chrome Version 78.0.3904.87 (Official Build) (64-bit) you can easliy turn chrome's internal pages to dark mode,its under chrome flags by default

run chrome://flags in the url
search for dark and you should see this option Force Dark Mode for Web Contents just enable it and relaunch chrome.

this is how it looks

for those who don't have the above option under flags To enable dark mode on Ubuntu, you need to edit the google-chrome.desktop file.

If you use GNOME desktop, simply run the command below which opens up the required file in editable format. If not, open the file in a text editor of your choice

sudo -H gedit /usr/share/applications/google-chrome.desktop

All you have to do is search for two lines and add a dark mode flag in front of them.

Search for

Exec=/usr/bin/google-chrome-stable %U

and replace it with:

Exec=/usr/bin/google-chrome-stable %U --force-dark-mode

Search for

Exec=/usr/bin/google-chrome-stable

and add the dark mode flag after it like this:

Exec=/usr/bin/google-chrome-stable --force-dark-mode

Once you have done these changes, simply try restarting chrome. If that doesn't work, rebooting your Ubuntu system should do the job.

For me rebooting my Ubuntu 18.04 system worked. Also note that if you update the chrome app, the changes will be gone, since the file will be overwritten.


Grub menu not showing after installing ubuntu 15.04 in dual boot with windows

Ubuntu will install perfectly fine on the G80 using UEFI mode. Do the following to install Ubuntu properly:

Return the laptop to the original boot setting, not legacy
Download Rufus to create the bootable USB drive (which works with UEFI and MBR)
Reboot with flash drive connected (pressing F8 for boot options or F1 for BIOS setup whichever allows you to boot from USB)
Install Ubuntu as normal (by creating custom partitions "only need root '/' and swap partition or '/home' if so desired") or choosing "along side Windows". This would be the quick way to get Ubuntu installed on the computer.

Also whenever you remove the partitions for a Ubuntu installation, because grub is installed you have to run a Windows installer to fix the boot for Windows. When you insert the Windows installation media choose "Repair my computer>Troubleshoot>Advanced>Command prompt". Run the following command:

bootrec.exe /fixmbr

This will fix the Windows boot loader so Windows boots right up after restarting, if you don't have something else installed that requires a boot loader.

I would suggest starting over with Ubuntu if you can to properly install it. Get booted up into the installer, remove the old partitions (not the Windows ones), and then recreating them again. This would ensure a fresh install of Ubuntu.


Unable to execute new pre-installation script (/var/lib/dpkg/tmp.ci/preinst)

You're missing the executable that appears in the preinst script's shebang line.

Extract the package metadata to a temporary directory: dpkg -e wtbuild.deb tmp
Open tmp/preinst in a text editor.
The first line should begin with the characters #!.  The text that appears after that is the program that will be used to run the file.  You're missing that program.
Determine the package that provides the missing program.  For example, if the program is /usr/bin/python, you should install the python package: sudo apt-get install python

If you maintain wtbuild.deb, you should take the time to add the missing dependency to the package's control file.  If someone else maintains wtbuild.deb, you should file a bug report and include the name of the missing dependency package.


different pip version conflicts how can I solve this

You need to upgrade pip first:

pip3 install --upgrade pip


You can use Ex Falso to edit mp3 etc. tags, but I'm not sure if song duration is exported from those. But give it a try. Maybe there is a corruption in those files, possibly they are created via a buggy software.


GRUB doesn't show up installing Ubuntu 14.04 alongside Windows 10, on a UEFI x64 HP laptop

I know this is old but for anyone who comes across this, heres how I solved it. It based on the info in the link oldfred posted.

Problem

I had the same problem on a HP Laptop. There are a lot of laptops which love to boot windows as priority despite what you configure. You need to overwrite the windows boot manager with the grub. It's a bit of a hack, but it's worked great for me and others. Windows will overwrite this every time it updates.

Solution

I created an SH (script file) with the following commands and run it as sudo. (make sure your boot partition is mounted at /boot/efi, which it should be by default)

7z a /boot/efi/EFI_`date +\%d\%m\%Y`.7z /boot/efi/EFI/
cp -a /boot/efi/EFI/ubuntu/* /boot/efi/EFI/Boot/
mv /boot/efi/EFI/Boot/grubx64.efi /boot/efi/EFI/Boot/bootx64.efi
cp /boot/efi/EFI/ubuntu/grubx64.efi /boot/efi/EFI/Microsoft/Boot/
mv /boot/efi/EFI/Microsoft/Boot/grubx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi

Notes

The script basically backs up the current EFI configuration (using 7zip, modify this to your preferred flavor of backup), then overwrites the efi boot scripts of the windows boot manager.

It will need to be run everytime windows does a major update.


Most of your questions should be answered by looking at the developer pages of ubuntu.

Especially:

"I dont' know where to start":  http://developer.ubuntu.com/get-started/
"Where can I learn how to do it": http://developer.ubuntu.com/resources/
"I never developed [...] anything for Unity": http://developer.ubuntu.com/resources/platform/unity/ especially http://developer.ubuntu.com/resources/technologies/lenses-and-scopes/
"tag option in Nautilus": I have no idea if this is to stay, but I cant find plans to remove it: https://live.gnome.org/Nautilus/Roadmap
"Make it public": http://developer.ubuntu.com/publish/

As an additional note: you probably should have a look at "tracker-tags", a nautilus extension for tracker-tag support.


It's a 32-bit binary and requires the 32-bit version of libgtk. Make sure that the package libgtk2.0-0:i386 is installed.

sudo apt-get install libgtk2.0-0:i386

Update:

Though you'll need other libraries as well and if that library is missing, the other 32-bit libraries are probably missing as well, thus

sudo apt-get install ia32-libs

ia32-libs depend on a lot of 32-bit libraries which gets installed when you install it.


Why is the icon for the 'copy dialog' indicator a mouse pointer?

This depends on the icon theme you choose.

Ubuntu Mono Dark

Oxygen:

Humanity:

Hight contrast inverse:


Although this might not be entirely an answer, it might help you narrow down your problem, this is what recently happened to me.

My story

I have an i5 Laptop which I had dual boot on (i5 SSD, 8GB RAM). I loaded an Ubuntu 18.04 alongside a Windows 10. The first 2 weeks everything was wonderful. I then started picking up weird issues, and by weird I mean packages going missing, sections of my settings menu disappearing (exactly...weird). Part of my problem was also excruciating lag at times. I started perusing forums and tried all sorts of fixes and it basically came down to my installation had somehow become corrupted. Some of the core packages were missing and irrespective of what I did, I could not get it fixed.

What I did

I created a virtual machine within my Ubuntu (which surprisingly worked) and I played around with a fresh Ubuntu 18.04 VM as well as some other distros and I was unable to recreate any of the issues. I eventually backup-up all my data and dedicated a Saturday and 3 or 4 cups of coffee and started over using a spare HDD I had lying around with a fresh install of Ubuntu 18.04 ONLY (i.e. no dual boot).

What I discovered

When I loaded a fresh install on a new HDD (without the dual boot) I found my boot times dropping drastically. My installation also seemed to install perfectly and my performance in the OS was MUCH better. This was indeed weird and I couldn't explain it but then a colleague of mine who had the same setup as I experienced the same problem with Ubuntu 18.04 and dual boot. I suggested to him to try the same and he wiped his SSD. He installed Ubuntu 18.04 without the dual boot and he too did not experience any of the afore-mentioned issues. He then wiped his SSD again and went back to a dual boot setup and within a week his troubles started again.

What I ended up doing

During my VM escapades I tried XUbuntu and I came to like it far more than stock Ubuntu (I prefer a less flashy GUI). Consequently, I then wiped my laptop SSD, created a fresh XUbuntu 19 installation. Since then I have never had any issues, I don't experience lag any-more, my packages do not go missing and my settings menu does not disappear. Its been almost 6 months now and I have never had any issues. I recently needed to do work on Windows so I created a Virtual-Box VM within my XUbuntu and created a Win-10 VM. I have only been doing this for a out 2 weeks now but so far everything seems fine. My Windows performance is alright and my XUbuntu never gives any issues.

As I said at the start, this might not be an answer but perhaps my experience could assist you.

P.S.

Your question is similar to this post.


Im trying to install pygame on spyder

&

  So i want this to work specidically in the newest version of spyder(spyder3)(maybe with pythonpathmanager

You don't install Pygame for Spyder, it's a Python module, so you install it for a particular Python interpreter (or for various).

  i have tried pip, conda but every time when i import it i get the error no module named pygame

There's nothing to import, you never installed the module because of UnsatisfiableError.

  UnsatisfiableError: The following specifications were found to be in conflict: - pygame -> python 2.7 -> openssl 1.0.1* - python 3.6**

That particular conda package you are trying to download seems to depend on python 2.7, if you download the tarball, you can check the info/index.json file, it marks python 2.7* as dependency.

Installing with pip

1) Activate the virtual environment where you want to install Pygame or, if you are not using environments, make sure that you are using the Python interpreter for which you want to install the module, do this with which python, it should point to your intended interpreter.

Note: The location to where pip installs modules depends on the selected Python interpreter. The Python interpreter you use and the launched spyder instance depend on their precedence on your PATH. If you use environments, these aren't problems, because the env tool (conda, venv, virtualenv, &c)  will modify the PATH as needed.

2) pip install pygame, add sudo if you intend to install for the system's default interpreter on /usr/bin/python.

That's it, you should be able to import it.

Additional notes:

If you are interested in using the PyPi package (this is what pip installs), but manage it with conda, then you need to build a conda package.

If you have already installed Pygame somewhere and wants to use it with a Python interpreter that doesn't know about it, you can use the PYTHONPATH environment variable to let Python know from where else it can try to find it. This may not be such a good idea depending on the situation.


How to change the keyboard shortcut to take screenshots with Shutter?

You may use the Custom Shortcuts available in Keyboard Settings to capture screenshots using Shutter with different key combinations.

Open System Settings and click on Keyboard.

Next, switch to the Shortcuts tab, select Custom Shortcuts in the sidepanel and click on the + icon to add a new one. In the dialog that pops up, give a name so that you would be able to quickly recognize it later on and the command which you wish to run when the keyboard shortcut gets activated; and click Apply.

I have put "Snap with Shutter" as Name and shutter -f as the Command. (shutter -f captures the full screen, for other available commands, refer to CAPTURE MODE OPTIONS given in man shutter.)

This would create an entry with the name you provided and shortcut as "Disabled" (since you haven't yet provided one to it). To bind a shortcut to it, click on the "Disabled" text and hit the shortcut keys you would wish to bind to it. It it succeeds, the key combination would be visible to you, otherwise it would ask you to provide an another one.


How can Ubuntu behave more quickly on a USB stick than installed?

When you install it..Startup applications get added..they make booting a bit longer.

What i did was introduced a shell script that did this job of starting the startup apps but with a delay.

So now in my startup apps,i have just 2 scripts...they start,execute a delay and then progresively start otherapps.

Also compiz is a major reason why ubuntu gets slower! I dont know why!

Also resorting to diabeling networking before shut down will boot the system a biiit faster...

Also,for your question about why 12.10 is slower, Ubuntu becomes stable over a period of time.

As it is open source and has a pretty fast release cycle(of 6 months) the bugs that were not either exactly encountered during beta tests(as not all use beta) and the ones not fixed untill released(though such things are not introduced untill complete mostly).

As the users all over use Ubuntu,new problems and bugs are found and fixed.Even 12.04 was not perfect at release. It became better over a period of about 2 months after the exact release and so do the other versions.Also, 12.04 being LTS(5 yrs) will recieve more stability as many users prefer staying there.


How to disable ethernet check during boot

Fire up your favorite text editor: /etc/systemd/system/network-online.targets.wants/networking.service

Find and edit this line with your meat fidgets: TimeoutStartSec=5min


How to reinstall linux-image-4.4.0-70-generic to correctly remove it?

As you have found, removing files before purging their package causes problems for the package manager.  You basically just have to restore the things you deleted, that the package manager is complaining about.  The restored file(s) may be of zero length, package manager doesn't care, so use the "touch" command. e.g.:

sudo touch /boot/vmlinuz-4.4.0-70-generic

You might have to make some directories too, but when the package manager finds the files it wants, it will successfully complete.


Why is Skype a `top` process after the application was closed?

Closing the window doesn't shutdown the program. It merely sends it to the background. The process is still there and your session is still open/alive.

Use the Menu Skype > Exit (or Quit) to actually close Skype.


Wine Not Working ! Error : Invalid directory prefix32 in WINEPREFIX: not an absolute path

The exact error is self-explanatory: the WINEPREFIX environment variable needs to be an absolute path to the wine prefix.

Based on your echo $WINEPREFIX, it is only set to prefix32 which is going to be a relative path to your current directory.

If you know that your wine prefix is always going to be prefix32 then edit your ~/.bashrc to do this at the end:

export WINEPREFIX="/home/$USER/prefix32"

If you only need it to use that prefix temporarily, then put it in front of your wine command:

WINEPREFIX=/home/$USER/prefix32 wine somefile.exe


Ubuntu Phone with USB Keyboard - Howto change external keyboard layout to German?

This was fixed with OTA-10. One can now configure the art of layout of the BT keyboard.


How can I recursively make a directory in the last directories using the command line?

First turn on recursive globbing

shopt -s globstar

Now we can look in all directories with **. To unset, you can use shopt -u globstar (it's off by default, so it will be off when you open a new shell).

In all of the below, remove echo after testing to actually create the directories.

If the end-of-tree directories are empty, you could test for emptiness and make the directory only if it is detected... something like

for d in **/; do [[ -z "$(ls -Aq "$d")" ]] && echo mkdir "$d"Texture; done

i.e. if the output of ls -A (hidden files except current and parent dir) -q (printing ? for non-printing characters) is empty, make a directory.

But since the directories contain files, we'd better test that there are no directories

for d in **/; do [[ -z "$(find "$d" -maxdepth 1 -mindepth 1 -type d)" ]] && echo mkdir "$d"Texture; done

mindepth -1 is to stop the current directory being found... find sees hidden files, so we know those are included. Since any character should pass the test (we only want to check the output is empty), this should be fairly safe...

A more concise way (sorry Greg) (but actually all these methods do something similarly iffy - we can just about get away with using filenames as text since we aren't actually trying to do anything with those files themselves here):

for d in **/; do (ls -Alq "$d" | grep -q '^d') || echo mkdir "$d"Textures; done

here we add the -l flag for long output, which prints every file in the form

drwxrwxr-x 5 zanna zanna 4096 Sep 27 22:00 Dir1

we then gulp pipe that stuff into grep to see if any of the lines starts with d (meaning there's a directory). We don't want grep to print any of that meaningless unreliable text, so we just check its exit status with -q to see if it found anything. If it didn't, we make a directory (using the || or operator, meaning, do the next command if the last one failed). This should work, actually, even if your filenames contain horrible characters such as newlines, since ls prints them as ? - every line should start with a letter indicating the file type, so, probably, no kittens will die.


How to install apple theme offline on ubuntu?

I think you can copy .config of your theme in your home directory into USB and copy them to your friend's home directory.


ubuntu 20.04 error undefined symbol: FT_Property_Set

You have locally compiled version of LibFreetype. To make things run smooth you have to remove such library and use official packaged version.
Open terminal and type:
sudo rm -rf /usr/local/freetype
sudo apt-get install --reinstall libfreetype6 libfreetype-dev

and then retry running wkhtmltopdf or your Python script which uses it.


Unable to to install Heimdall on Ubuntu 18.04

Answer to your question

According to this page on Launchpad, the newest versions of this PPA are devel and utopic, dated August 2014. Your current distro (bionic) is therefore too young to be found in this PPA.

Answer to your problem

Heimdall is in Ubuntu 18.04, only it's not called heimdall but heimdall-flash:

$ apt search heimdall
Sorting... Done
Full Text Search... Done
heimdall-flash/bionic 1.4.1-2 amd64
  tool for flashing firmware on Samsung Galaxy S devices

heimdall-flash-frontend/bionic 1.4.1-2 amd64
  tool for flashing firmware on Samsung Galaxy S devices - Qt GUI

So you can install it with

sudo apt install heimdall-flash


Defaulting new child files and folders to the parent folder ownership

Using the setfacl tool you can set this with:

sudo setfacl -R -d -m o::rwx /opt/lampp/htdocs
sudo setfacl -R -m o::rwx /opt/lampp/htdocs

The first line sets this to default, while the second just modifies and leaves the acl ( access control list ) values. The first line is what your looking for.

Info:

-d: default for future subfolders
-m: modify existing acl
-R: make changes recursively
o: set acl for folder others

See man setfacl


How do I identify the partitions of my hard drive in order to then shred them all?

Why not shred then entire device (important! choose the right device to shred!):

shred /dev/nvme0n1

... rather than

shred /dev/nvme0n1p1


Installing Bookworm on Ubuntu 20.04 Failed due to Unresolvable Dependencies

You can get binary deb-package from Ubuntu 16.04 LTS directly by
cd ~/Downloads
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/ninja/ninja_0.1.3-2_amd64.deb
sudo apt-get install ./ninja_0.1.3-2_amd64.deb

and install Bookworm from the PPA.


Why does Python in Linux require the line #!/usr/bin/python?

Python does not have any such special requirement on Linux. It's the program loader on Unix/Linux that uses the "shebang" line, as it's called. This is actually a feature rather than a limitation, but we'll get to that in a moment. The Wiki page on "shebang" has more details, but I'll try to give an overview as well as a comparison to Windows here.

First, let's look at the situation on Windows:

When you attempt to open or run a file, Windows first examines the extension of that file. This is the last part of the filename starting with . In the case of Python files, this is typically .py.
Windows looks up what action to take based on the file extension.

This information is recorded in the Windows registry; when Python is installed, it typically tells Windows that .py files should be opened using the newly-installed application Python (i.e. the Python interpreter).
Several file-types have built-in behaviors; for instance, executable files (such as the Python interpreter itself) must end in .exe, and .bat files are executed as Windows batch-scripts.
The action taken for a particular file-type is customizable. You can, for instance, tell Windows that instead of running .py files using python.exe, it should open them with some other program, such as the text editor notepad.exe.

In this case, in order to run a Python script, you would need to manually call python <scriptname>.py (or write a .bat file to do this for you).

Now, what happens if there's a shebang line (#!/usr/bin/python or #!/usr/bin/env python) at the top of the Python script? Well, since # is a comment line in Python, the Python interpreter just ignores it. This is one reason why most scripting languages used in the Unix/Linux world use # to start comment lines.

So it's a bit misleading to say that Windows "doesn't need" the #! line; Windows doesn't see the #! line, and in fact relies on the file-extension to tell it what to do. This has a couple of disadvantages:

You must name Python scripts with .py at the end in order to have them automatically recognized as such.
There's no easy way to distinguish Python2 scripts from Python3 scripts.
As previously noted, if you change the default launch behavior for the .py file-type, Windows will no longer automatically run those scripts with Python. Note that this could be done unintentionally.

Now, let's look at how Unix/Linux launches scripts:

The first thing to note is that Unix/Linux, unlike Windows, isn't trying to "open" Python scripts using a particular program, at least conceptually; the OS knows that the script is something that can be executed because of something called the "execute bit" (which is outside the scope of this answer). So, if you accidentally type #!/usr/bin/pthon instead of #!/usr/bin/python, you'll get an error message that includes this text:

/usr/bin/pthon: bad interpreter: No such file or directory.

The word "interpreter" gives us a clue about the role of the shebang line (though technically the specified program can be something other than an interpreter, such as cat or a text editor). When you attempt to execute a file, here's what happens:

The Unix/Linux program loader looks at the first two bytes of that file; if these two bytes are #!, then the loader interprets the remainder of the shebang line (excluding the shebang itself) as a command to launch an interpreter with which to run the file contents as a script.
The program loader launches the specified interpreter, feeding it the path of the original file as an argument.

This has a couple of advantages:

The script-writer has more control over which interpreter will be used (which solves the Python2/Python3 issue) and can sometimes pass an extra argument to the interpreter (see the Wiki page for details).
The filename of the script is ignored, so you can name Python scripts whatever you want.

Note, finally, that Unix/Linux does not need the shebang line in order to run a Python script. Recall that all the shebang line actually does is allow the program loader to select an interpreter. But just as in Windows, this can be done manually:

python <myscript>


Are Ubuntu Phone apps compatible across different devices? And if yes, how?

It depends on the kind of app being developed.

If you use the Ubuntu SDK and QML, your app isn't compiled but instead is interpreted by the Qt runtime.  This means that your app will be able to run anywhere that Qt5 is available.  And since it's not compiled, you don't need to worry about the physical device's CPU Architecture at all.

Because Ubuntu is the base system for all of these devices, and because of work that has gone into projects like Linaro, we can offer apps the same runtime environment across multiple ARM devices, which means you don't need to compile C++ apps for specific devices, just for Ubuntu.  If you have clean C++ code, you can compile the same source for arm, x86 and x86_64.


apt-cache does not show older versions of a package

If you have a look at this file:

less /var/lib/apt/lists/pkg.jenkins.io_debian_binary_Packages

You will see the only version provided for your chosen distro is 2.54, actually apt-cache data comes from here too.

And as you already seen, other versions are available in form of .deb format as their descriptions stats:

  If you need *.deb for a specific version, use these.

grab you specific versions deb file, use gdebi or dpkg -i to install it.


Windows 7 Pro/Ubuntu 14.04.1 installation issues

I believe I know what the problem is, and I can tell you how to fix this without deleting or reinstalling Windows.  I've run into this problem twice and fixed it both times with this method.

You see, prior to EFI/UEFI, there was a grandfathered-in limit of how many partitions any drive was permitted to have.  I seem to recall the limit is three, or is it two... maybe it is four?  In any case, if you want to have more than x-number of partitions, the "trick" involves making one or more "virtual" partitions within an "extended" partition.  It's been this way since the early 90's or there abouts.  It was always awkward and kludgey, but we accepted and worked with it because that was what we had to do.

It appears that Microsoft finally realized they could beat out us LINUX geeks and gain a semi-monopoly of the PCs upon which Windows was installed if all they did was fill the hard drives with primary partitions, so that novices to the artificial limitation would be unable to partition the drive further, but there's a way around this which I will now explain.

If you boot your drive with external boot media, such as an Ubuntu Live CD, you can manipulate all of the partitions.  One of the partitions will be quite small, perhaps only a gb and be formatted in something weird like MS-DOS.  If you copy the contents of that partition into a new folder under one of the larger partitions (give it a name like "moved from msdos partition"), that frees up an entire partition slot.

After deleting the tiny partition, use gparted to slide all the remaining partitions neatly to the left and create an "extended" partition to the right.  But you don't really have to do that because once there's room your ubuntu installer will take care of the rest.  This partition juggling thing is the only thing Ubuntu cannot do for itself.

Something else that I do, which you don't really need to do, is that I usually resize partitions while I'm at it to give the new Linux partitions not less than 80gb, personally and divide it into two partitions, one being a 4gb swap partition.  All these things are usually done automatically by Ubuntu to one degree or another.  I've simply been at this long enough (as I can see you have been as well.

Your final partitioning scheme could very well look EXACTLY like this image I found online.


Re-installing ubuntu to format my dual-boot system configuration?

Well, if you want just Ubuntu on your hard disk and nothing else, you can do that during installation or you could just delete the Windows installation.

To erase the entire disk and install Ubuntu, just select Erase and use entire disk when you boot from your Ubuntu CD / USB stick.

A standard installation guide is given here.


Dell Power Managerment Drivers for Ubuntu 16.04

Some power management tools pm-utils are installed by default.

You can install laptop-mode-tools to use extended power management features by

sudo apt-get install laptop-mode-tools

This package will do most of power saving automatically, but you can tune it using config files.

For Ubuntu 16.04 pm-tools and laptop-mode-tools do not automatically detect events of switchng from battery to AC because of systemd limitations. This can be fixed in udev.

For the details see this answer for details.

In addition you can use powertop to check power settings.


How to run sudo .sh file after wakeup : Touchpad disabled after upgrading to Ubuntu 17.10

To automate the call to your script on wakeup, you can add it under /lib/systemd/system-sleep instead of /usr/lib/pm-utils/sleep.d

Here is what I've done:

sudo touch /lib/systemd/system-sleep/touchpadwakeup
Put the following content:

#!/bin/sh

case $1 in
  post)
    rmmod i2c_hid
    modprobe i2c_hid
    ;;
esac

sudo chmod +x /lib/systemd/system-sleep/touchpadwakeup

It works fine but I hope we'll have a cleaner solution (e.g, a patch) in the near future.


Chrome 30 completely broken in Ubuntu 13.10

Delete the Chrome Profile folder.

1 - Open your Home folder

2 - Press CTRL & H to show the hidden folders

3 - Click on the folder named .config

4 - Right click on the folder named google-chrome and delete it.

Now restart Google Chrome and see if the problem persists.

Deleting the profile folder just resets Chrome as if it's a new install.


Steam, missing 32bit libs but it won't install

I think you're using HTTPS mirrors (see the error about the missing method driver). You might want to switch to a non-HTTPS mirror (the default mirror is usually non-HTTPS), install apt-transport-https and then switch back to your HTTPS mirror. Then run apt-get update and try installing the other packages.


Samba error: reply_trans: invalid trans parameters

bind interfaces only = Yes

  interfaces = lo eth0

You are telling samba to use only certain interfaces but the one you specified ( eth0 ) doesn't exist in Ubuntu 18.04. It's a different form.

Unless you have a reason for specifying anything and would rather just let samba figure this out on its own I would remove those two lines from smb.conf and restart smbd:

sudo service smbd restart

If you do want to specify a certain interface use this command to find its real name:

nmcli device show | grep DEVICE


rdesktop is not accepting a 3 key combination

Edit /usr/share/rdesktop/keymaps/it:

Search these lines:

braceleft 0x08 altgr
braceright 0x0b altgr

And change to:

braceleft 0x1a shift altgr
braceright 0x1b shift altgr


You need to also install the kernel header files. For that, just open a terminal with ctrl+alt+t and type the following command:

sudo apt-get install linux-headers-$(uname -r)

If you do not have any make-tools or autoconf/autotools installed, you must also type:

sudo apt-get install build-essential


The display probably shows up as "Unknown" because you are using the proprietary Nvidia drivers, which do not fully support the RandR extension.  You should still be able to associate a colour profile with the display though.

As far as creating a profile goes, you've got two options:

See if the display manufacturer provides an ICC profile for your display and add that.  This will only be an approximation, since different batches of the same model can differ slightly and a display can change over time.
Use a supported colour calibration device to create a profile for your display.  This will give the best results, but you will need the extra hardware.  A relatively inexpensive device is the ColorHug, which was developed by the author of the colour calibration control panel.


Sudo hangs after password entry - issue with /dev/null

The output of sudo -l indicated that sudo logging was being directed to /dev/null.

An examination of /etc/sudoers showed the following lines.

## supress Console messages from sudo
Defaults logfile=/dev/null
Defaults !syslog
##

Not sure when (or why) these were added to the sudoers file, but commenting them out solved the problem.


Probably the most powerful solution you can use is GnuCash. It's not the easiest to learn, but there is quite a bit of documentation available to teach it, and it has a lot of useful features such as double-entry, hierarchical accounts, and the ability to import from Quicken. The GnuCash developers have specifically stated that they will not take on the responsibility for encryption, as it goes against their philosophy of making a program do one thing well; but they state that they are in full support of using encrypted file systems to store your data.


How to exit gpick color picker after picking from a keyboard shortcut?

gpick has the following issues:

It does not terminate itself after picking a color is done (you already know that)
If you copy something to the clipboard and then kill it, you'll have an empty clipboard.

Solution 1 (recommended)

(gpick -p &); pid=$(pidof gpick); sleep 5; xclip -se c -o | xclip -i -se c -l 1; kill $pid

To workaround the problem of empty clipboard, the idea is to start gpick in a subprocess and copy the content of the clipboard before killing the subprocess.

Create the following bash script and use if as the shortcut program:

#!/bin/bash

(gpick -p &);
pid=$(pidof gpick)
sleep 5
xclip -se c -o | xclip -i -se c -l 1
kill $pid

It will allow persistence of the clipboard data.

Solution 2 (with a clipboard manager)

The first thing to do is to install a clipboard manager that will offer Clipboard persistence, open a terminal and type the following command:

sudo apt-get install clipit xsel

Now restart your session to have clipit started by default.

The command that you can use in your shortcut to save to the color code to the clipboard and quit gpick is:

timeout -k 5 5 gpick -p ; clipit -c | xsel -b

It will give you 5s to select your color before killing gpick.

Note: For this solution it seems that a xsel process remains after the command but it does not consume CPU.


How can I remove python 2.7 after installing python 3.3?

You can't.

From the Ubuntu wiki / Python:

  Longer term plans (e.g. 14.04)

  Move Python 2 to universe, port all Python applications in main to Python 3. We will never fully get rid of Python 2.7, but since there will also never be a Python 2.8, and Python 2.7 will be nearly 4 years old by the time of the 14.04 LTS release, it is time to relegate Python 2 to universe.

This means that a lot of base packages have hard dependencies on 2.7 and it will still take a lot of time tot get things migrated. Note that Python 3 has numerous backwards incompatible changes -- it's not a regular package upgrade.

If you really want to get rid of Python 2.7, you'll have to wait for the 14.04 release, but there's no guarantee.


As far as I know, almost every nvidia GPU is supported (I have a gf 635M, works flawlessly).

Based on this article, the GTX650 works good with both the binary (proprietary driver) and the open source driver.


I have similar symptoms. All this happened after upgrade from 13.10 to 14.04. No explanation - pure voodoo.

Grub loads the selection screen. For me Ubuntu boots perfectly. Choosing Windows leaves the screen either purple or purple with black spots. And stays like that. Numlock works, ctrl-alt-del works.

I exercised several different combinations with boot-repair. Restoring MBR instead of grub lead to straight boot into windows as expected. Any other configuration - installing grub in MBR or on linux partition - returned the situation as described in the beginning.

After a desperate attempt of checking keystrokes, I managed to discover an unexplainable (for me) but stably working procedure - when the blank purple screen is reached after choosing windows at grub menu, I hit 'y' - seems to me that it could stand for 'yes' but then it promptly proceeds into windows. Like Magic.


Does "Wallch" work with Ubuntu 18.04? Or another app?

The variety app is actively developed and available in the Ubuntu repositories. It allows use of local files and/or online services.
It can be installed from the Software Centre or using the command line:
sudo apt install variety


The name is qtstalker So why do you use qtsalker? But is will not work with the correct name since it does not exist in Ubuntu.
The newest PPA I can find mentions Lucid (says enough does it not?)
http://sourceforge.net/projects/qtstalker/files/qtstalker/qtstalker-0.36/ shows a .tar.gz and not a .deb So if you want to install it from source read the readme and the installation method in the tar file and use this as a reference: How do I install a .tar.gz (or .tar.bz2) file?

qtstalker is available from 'precise'.
I found a .DEB here: http://mirrors.ccs.neu.edu/ubuntu//pool/universe/q/qtstalker/qtstalker_0.32-3.3ubuntu1_i386.deb so might be worth a shot to try and install it in 13.04 (download it and double click the download and USC will take over).


How do I install oracle jdk 7 on ubuntu server 12.04?

The most popular way NOW is: https://github.com/flexiondotorg/oab-java6 NOTE: build .deb from OTN binaries and set up a local repository, install from there.

You can run update-alternatives --config java and see installed JDK/JRE and configure.

I personally prefer to use the tar.gz packages and write scripts to automate the install/config/update;-)


How to make users gain root privileges from another account?

Simply add the user to the sudo group:

sudo adduser <username> sudo

More detailed explanation: https://help.ubuntu.com/community/RootSudo#Allowing_other_users_to_run_sudo

If you really need to run vim as a user named "administrator" (not root!) you should use

sudo -u adminstrator vim

But even in that case the normal user has to be member of the sudo group.


In order to diagnose the 'lsusb' and reboot issue, I suggest that we blacklist the wireless drivers to see if the issue is resolved. We will then find, from 'lsusb' the correct driver for your device.

From the terminal:

sudo -i
echo "blacklist 8812au"  >>  /etc/modprobe.d/blacklist.conf
echo "blacklist 8814au"  >>  /etc/modprobe.d/blacklist.conf
modprobe -r 8812au
modprobe -r 8814au
exit

Can you now properly reboot?

Please now show us:

lsusb

I will add to this question after we gather further information.


I had a similar problem with my microphone not working.
All I did is type this - alsactl init
This command resets the setting to default.
Hope it helps.


add this option in kernel drivers settings

echo options iwlwifi 11n_disable=1 | tee -a /etc/modprobe.d/iwlwifi.conf

Then restart the system this must fix wifi problem.


Ubuntu 19.10 freezing on Dell Vostro 14 5490

We must make sure that you don't have Nvidia's proprietary driver installed (or any installed pieces of it).

Nvidia's proprietary driver tend to cause problems (aka bugs) in general i noticed mostly happening when is installed with Gnome3 (on Ubuntu) even with Ubuntu's login screen (after login), this does not apply to everyone.

Boot until you see the login screen but don't login.

Press:

  Ctrl+Alt+F1

and type you password.

To trace and remove any possible installed pieces of Nvidia  even after proper removal done in the past by the Nvidia's uninstaller or even some possible auto-installed portion of it.

Type the followings:

sudo service lightdm stop
sudo nvidia-uninstall
sudo apt purge nvidia*
sudo apt update
sudo apt install mesa-utils nouveau*
sudo reboot

Keep in mind:

If you definitely willing to install at some point the Nvidia's proprietary driver try to install their latest from their website (at your own risk).

Worst case scenario if everything fails:

  Install and try a different UI (for ex. xfce) but like i said again you should also aware that Ubuntu's login screen
  (after login) may also cause problems with the proprietary driver even with other UI's.
  Try to live boot to a different Ubuntu base distribution (for ex. Xubuntu) which includes a different login screen.

https://www.youtube.com/watch?v=MShbP3OpASA&t=49m53s

I have the same MX series GPU which is similar to yours (MX110) on my laptop but i use a different distribution and UI (xfce) with graphic driver Nouveau (free open source) which i always prefer.


Make gconftool-2 set wallpaper from root dir

One simple solution:

#Make wallpaper directory in an appropriate location
mkdir /var/wallpaper
#Set RW permission for all
chmod 666 /var/wallpaper
#Set sticky so all new files catch that permission
chmod +t /var/wallpaper
#copy your wallpapers there
cp ./wallpapers* /var/wallpaper/

then select wallpaper from /var/wallpaper/ in gconftool-2

that should do it...


Is the CGI module enabled? If not, use these commands:

sudo a2enmod cgi
sudo service apache2 restart


I got the same issue and found a solution. But I never consider about my gcc version. This solution works fine on kernel 4.6.x. Need to change some c codes.
Actually this solution for fedora but works well on Ubuntu 16.04 kernel 4.6.x.x.

find following archives on /usr/lib/vmware/modules/source

vmmon.tar
vmnet.tar

Before make any changes backup original archives.

untar vmmon.rar and find /vmmon-only/linux/hostif.c file and change "get_user_pages" to "get_user_pages_remote"
tar and replace original
untar vmnet.tar and find /vmnet-only/userif.c file and change "get_user_pages" to "get_user_pages_remote"
tar and replace original

then start vmware workstation.

source : https://bugzilla.redhat.com/show_bug.cgi?id=1278896


Nautilus will not launch after update to 12.10

I have updated my Nautilus and since the update I experience the same issues, obviously this is a bug in the current release and will hopefully get fixed as soon as possible.

if you want to get it back to work you either wait for an update or you roll back to Nautilus 3.4, using the following command:

 sudo ppa-purge ppa:gnome3-team/gnome3

if you haven't installed it yet, just run

sudo aptitude install ppa-purge

it should be in the offical repository, if this is not the case, here is the ppa

ppa purge  ppa

EDIT: the latest update of Nautilus solved this issue, its now possible to use nautilus 3.6 again!


Can't shut down due to "A stop job is running for Docker Application Container Engine" (endless counting / no limit)

What's your Kernel Version?

I have experienced the same problem with latest kernel in 18.04 (5.3.0-52-generic) and in 20.04 (5.4.0-30-generic).

I have a thinkpad T590.

Apparently switching to a different kernel version helps:
See

https://askubuntu.com/a/1236711/827401
https://serverfault.com/questions/1015711/docker-ce-suddenly-broke-cannot-reinstall-hangs-in-systemd-service-enable


Unable to: add-apt-repository in Ubuntu Server 14.04

Your error message says it can't find mintSoursces.py.

The Ubuntu version of add-apt-repository does not look for that script, but...the Mint version does. (See the Mint version of add-apt-repository ). So you somehow ended up with the Mint version of add-apt-repository.

It looks like you probably tried something once that you might not remember, perhaps trying a ppa or other software meant for Mint. I don't know for sure, but you may have have left something behind when you cleaned that up.

Check your sources lists (don't forget to look in sources.d). If you find something, take it out, run apt update, and reinstall add-apt-repository.


How to add multiple workspaces in Unity 2D?

Update: Unity 2D now has workspaces, see this Omg!Ubuntu! post for more info.

You can set them as described in this answer.

From the Unity 2D announcement blog post:

  In it’s current state, many of Unity’s features from Maverick have already been implemented (dash, places, launcher, panel) and others (uTouch, workspace switcher, accordion effect, etc) will be landing over the next few months.

(Emphasis mine).

Unity 2D does not yet support workspaces, but it will in the near future.


If you are using compiz, you can turn off window decoration in Compiz Config Settings Manager through Effects -> Window Decoration. In the 'Decoration Windows' text box, delete 'any':

The question Optimizing Gnome desktop for netbook may provide you with some extra tips for maximising screen space.


Failed to fetch 'us.archive.ubuntu' when sudo apt-get update, cannot connect to network

"host only" means just that; the VM can only talk to the host, nothing beyond that. So that's expected.

When you say you switched to bridged mode, did you actually restart the VM? If not, it would still have the old, host-only address, and of course it wouldn't be able to talk to the outside world, as it wouldn't be getting an address from your router (an improper use of the term, but we're stuck with it).

Either bridged mode or NAT-ed mode should work, no reason why it shouldn't,


There is a fantastic article here on how to remove unwanted entries from the menu. I'll give you a short summary of it, but it's worth a full read.

You'll want to run these in Terminal:

mkdir -p ~/.config/indicators/messages/applications-blacklist/

ln -s /usr/share/indicators/messages/applications/evolution ~/.config/indicators/messages/applications-blacklist/evolution

ln -s /usr/share/indicators/messages/applications/empathy ~/.config/indicators/messages/applications-blacklist/empathy

ln -s /usr/share/indicators/messages/applications/gwibber.indicator ~/.config/indicators/messages/applications-blacklist/gwibber.indicator

This will remove CHAT, BROADCAST, and EVOLUTION from the menu. I can't tell you how to install the Thunderbird one, however; this command MAY do it, but there's no promises. I don't use Thunderbird, so I can't give an absolute answer.

sudo cp /usr/share/applications/thunderbird /usr/share/indicators/messages/applications/thunderbird


The problem was an old libpdf.so that I ported from Chrome a few weeks ago.

I only had to delete /usr/lib/chromium-browser/libpdf.so


Hauppauge WinTV-soloHD usb stick does not work on 16.04.1

You can build a separate driver for your hardware like shown here: How (recipe) to build only one kernel module?.
No need to build all modules for dvb.


Ho to set minimum and maximum processor state on ubuntu?

For Intel processor to set minimum idle state to 1 do the following, presumably there are analogous parameters that can be passed by GRUB to the kernel for other CPU states and for Maximum, but I am no black belt in the subject:

sudo nano /etc/default/grub

then in that file change

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"

sudo update-grub
 sudo reboot


On the download page for PlayOnLinux, what is Cosmic, Bionic, Xenial, etc.?

This are the code names of the Ubuntu releases which are supported. To put it into perspective ill list them below with their version numbers. If they are already end of life or still supported you can see on this page.

18.10    Cosmic Cuttlefish
18.04    Bionic Beaver
16.04    Xenial Xerus
14.04    Trusty Tahr
13.10    Saucy Salamander
12.04    Precise Pangolin


USB Flash drive partition encryption for OSX, Windows and Ubuntu

HFS+ (Journaled) or JHFS+ has been used as a great encrypted file system on macOS since ages and it's one of the best file systems available. I would recommend you to go with JHFS+ formatted drives. But, there's one problem, the filesystem is not supported on Ubuntu and Windows, but there is a small fix to get this working on both the Operating Systems.

On Ubuntu:

Install hfsprogs:

sudo apt-get install hfsprogs

Next, mount or remount the HFS+ drive; commands need to be as follows:

sudo mount -t hfsplus -o force,rw /dev/sdXY /media/mntpoint

or

sudo mount -t hfsplus -o remount,force,rw /mount/point

Finally, if the drive was improperly unmounted or has otherwise become partially corrupted run fsck.hfsplus ... as such:

sudo fsck.hfsplus -f /dev/sdXY

On Windows:

It's as easy as installing a driver. Driver download and instructions here: https://forums.macrumors.com/threads/apple-hfs-windows-driver-download.1368010/


How do I play a game i installed by disk?

You have to download NoCD patch and apply it. The game should work. Also consider making a report about your experience.


You are after the command line application atomicparsley:

sudo apt-get install atomicparsley

You can see the available options with:

andrew@ilium~$ AtomicParsley -h

AtomicParlsey sets metadata into MPEG-4 files & derivatives supporting 3 tag
 schemes: iTunes-style, 3GPP assets & ISO defined copyright notifications.

AtomicParlsey quick help for setting iTunes-style metadata into MPEG-4 files.

General usage examples:
  AtomicParsley /path/to.mp4 -T 1
  AtomicParsley /path/to.mp4 -t +
  AtomicParsley /path/to.mp4 --artist "Me" --artwork /path/to/art.jpg
  Atomicparsley /path/to.mp4 --albumArtist "You" --podcastFlag true
  Atomicparsley /path/to.mp4 --stik "TV Show" --advisory explicit

Getting information about the file & tags:
  -T  --test        Test file for mpeg4-ishness & print atom tree
  -t  --textdata    Prints tags embedded within the file
  -E  --extractPix  Extracts pix to the same folder as the mpeg-4 file

Setting iTunes-style metadata tags
  --artist       (string)     Set the artist tag
  --title        (string)     Set the title tag
  --album        (string)     Set the album tag
  --genre        (string)     Genre tag (see --longhelp for more info)
  --tracknum     (num)[/tot]  Track number (or track number/total tracks)
  --disk         (num)[/tot]  Disk number (or disk number/total disks)
  --comment      (string)     Set the comment tag
  --year         (num|UTC)    Year tag (see --longhelp for "Release Date")
  --lyrics       (string)     Set lyrics (not subject to 256 byte limit)
  --lyricsFile   (/path)      Set lyrics to the content of a file
  --composer     (string)     Set the composer tag
  --copyright    (string)     Set the copyright tag
  --grouping     (string)     Set the grouping tag
  --artwork      (/path)      Set a piece of artwork (jpeg or png only)
  --bpm          (number)     Set the tempo/bpm
  --albumArtist  (string)     Set the album artist tag
  --compilation  (boolean)    Set the compilation flag (true or false)
  --hdvideo      (boolean)    Set the hdvideo flag (true or false)
  --advisory     (string*)    Content advisory (*values: 'clean', 'explicit')
  --stik         (string*)    Sets the iTunes "stik" atom (see --longhelp)
  --description  (string)     Set the description tag
  --longdesc     (string)     Set the long description tag
  --storedesc    (string)     Set the store description tag
  --TVNetwork    (string)     Set the TV Network name
  --TVShowName   (string)     Set the TV Show name
  --TVEpisode    (string)     Set the TV episode/production code
  --TVSeasonNum  (number)     Set the TV Season number
  --TVEpisodeNum (number)     Set the TV Episode number
  --podcastFlag  (boolean)    Set the podcast flag (true or false)
  --category     (string)     Sets the podcast category
  --keyword      (string)     Sets the podcast keyword
  --podcastURL   (URL)        Set the podcast feed URL
  --podcastGUID  (URL)        Set the episode's URL tag
  --purchaseDate (UTC)        Set time of purchase
  --encodingTool (string)     Set the name of the encoder
  --encodedBy    (string)     Set the name of the Person/company who encoded the file
  --apID         (string)     Set the Account Name
  --cnID         (number)     Set the iTunes Catalog ID (see --longhelp)
  --geID         (number)     Set the iTunes Genre ID (see --longhelp)
  --xID          (string)     Set the vendor-supplied iTunes xID (see --longhelp)
  --gapless      (boolean)    Set the gapless playback flag
  --contentRating (string*)   Set tv/mpaa rating (see -rDNS-help)

Deleting tags
  Set the value to "":        --artist "" --stik "" --bpm ""
  To delete (all) artwork:    --artwork REMOVE_ALL
  manually removal:           --manualAtomRemove "moov.udta.meta.ilst.ATOM"

More detailed iTunes help is available with AtomicParsley --longhelp
Setting reverse DNS forms for iTunes files: see --reverseDNS-help
Setting 3gp assets into 3GPP & derivative files: see --3gp-help
Setting copyright notices for all files: see --ISO-help
For file-level options & padding info: see --file-help
Setting custom private tag extensions: see --uuid-help
Setting ID3 tags onto mpeg-4 files: see --ID3-help

----------------------------------------------------------------------
AtomicParsley version: 0.9.6 (utf8)

Report issues at http://bitbucket.org/wez/atomicparsley/issues/new/
andrew@ilium~$

There is an undocumented --overWrite tag which will allow you to edit your files 'in place' as well...


How to get a live speedmeter at the topbar?

There is an app called indicator-multiload that displays CPU, memory, swap, load, etc. and also includes net speed.
First, run the following commands to install the app:
sudo apt update
sudo apt install indicator-multiload gnome-tweaks gnome-shell-extensions gnome-shell-extension-appindicator

Next, search your installed apps for "indicator" or "indicator multiload". Launch the app. It will show in the top bar. It usually shows a graph without numbers by default. If it doesn't show on the top bar at this time, you may need to use the Gnome tweak app to enable the appindicator extension.
To display numbers, hover over the graph and then scroll up/down using the mouse wheel or touchpad. Scroll all the way up to disable number display. From this position, scroll down three clicks of the mouse wheel to display net speed.
Then, right-click on the graph and select "Preferences". Under "Monitored Resources", you can enable or disable graphs. If you only want to show net speed, untick all the other boxes.
You can also set the graph colors, update speed, etc.

Alternatively, you can install the netspeed Gnome Shell extension.
You will need to install the following packages:
sudo apt update
sudo apt install chrome-gnome-shell gnome-tweaks gnome-shell-extensions

Then, install this Google Chrome extension or this Firefox extension. Close or restart Google Chrome or Firefox before you proceed.
Next, visit the netspeed Gnome Shell Extension page to install the extension from the website.
Use the Gnome Tweak application to enable this extension after it is installed.
See this related post and these instructions on omgubuntu! for more info.


How do I port software that I have written for Windows to Ubuntu?

As @Rinzwind has said you will find more accurate responses in stackoverflow but for a beginning ...

I would recommend you to try to port to linux your programming knowledge instead of your code, and give python a try. It is a simple even powerful language totally multiplatform and with very nice learning curve. For database access there are a lot of frameworks and libraries ( SQLAlquemy for example ) and for the GUI you can try wxPython, QtPython, ...  for example.  If you want to develop database applications you should give dabo a try

But, if you still want to try to port your VBase code you can try with:

Gambas Which is a development environment based on a Basic interpreter
Mono Which is a .NET-like framework for linux. ( see mono-develop ide also )

And for the database access ... sorry but i think i can not help you with that may be these frameworks have some database support

Hope this helps.


(FlexNet Publisher) No such file or directory when trying to run Elf 32-bit LSB executable

I've figure it out myself. Several things should be check:

If the lmadmin is a dangling link
If the lmadmin really exists
Check that all the discrepancies are installed and found (have all a
directory and a 8bit address loaded in the RAM)

If all those are checked and it couldn't still be run (which is my case):

You need to do file lmadmin on the same folder to check if lmadmin is written in 32bit architecture while your PC is on 64bit. If so, install the 32bit-architecture library depanding on your Linux distribution.
(Which fix my problem) Install also the LSB (try both tiny/capital letter with apt-get) library. My Ubuntu version is strangly missing this or not up to date.