How can I make all applications use Nemo's file selection dialog instead of Nautilus? I switched to nemo a long time ago, because I think it's superior to nautilus in many ways. One small thing bothers me however:

Whenever I want to open a document in gedit (or evince, but I'm sure there are other programs as well) not the nemo file-selection window appears but the nautilus one.

I did of course replace nemo with nautilus as suggested in a lot of other posts:

 gsettings set org.gnome.desktop.background show-desktop-icons false

and

 xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search

and also did

 ln -s /usr/bin/nemo /usr/local/bin/nautilus

in order to completely replace nautilus, but this doesn't help. Which program/executable is triggered when hitting open (Ctrl+o) in gedit/evince?

It's not a nemo vs nautilus issue. It's a GTK+2 vs GTK+3 issue. Apps written for GTK+2 will use the familiar-looking Humanity-themed file selection dialog, while apps written for GTK+3 will use the alien, hollow-looking default theme for GTK+3.

Unfortunately, the only way to get a consistent UX is to use all GTK+2 apps, or switch to a Qt-based DE like LXQT or KDE.

Sorry.

I think you have to run next commands:

xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
gsettings set org.gnome.desktop.background show-desktop-icons false
gsettings set org.nemo.desktop show-desktop-icons true

And check Nemo is default:

xdg-mime query default inode/directory

Also here exists a guide to change
https://help.ubuntu.com/community/DefaultFileManager


Is it normal to not have desktop effects after installing on an Asus N53S? I've just installed 11.10 and so far so great, except I just discovered (after looking at another installation) I'm missing some effects.

First of all, I am using unity 3d (I chose ubuntu at the login menu), and have already the correct nvidia drivers. Yet, my launcher is the same from unity 2d, the same as the app switcher, and when dragging windows to screen corners, they don't get grabbed.

This "error" was present since the begining, so I was not able to detect it.

Please help, I want to have an ubuntu experience as nice as everyone else.

EDIT 1:

I'm using an Asus N53S. My graphic card is Nvidia geforce GT540M. It says cuda, if that matters.

540M are hybrid cards, you have a intel + nvidia card running in your system, the drivers you are installing for you nvidia are not working correctly because they are not being loaded on startup.

You Intel card is running as primary so you have 2 options:

1) If you BIOS allows to turn off the Intel card and leave the nVidia one running then the drivers will work correctly;

2) Use software that enables you to use some functions of your nVidia card, its called Bumblebee and its largelly discussed on use/installation, etc, on the site.

if you like, you can install the comiz manager or CCSM as its known, its controls what effects are enabled and what ones arent't.

if you go to the software centre and search for CCSM, install it, then search CCSM in the dash and click to launch, it will give you a better idea of whether the effects you are expecting are enabled to begin with


I accidentally deleted administrator account and the other accounts are asking root password I unexpectedly deleted my user account (the only administrator for the machine). I have another account which is a standard account and now I can't access my hard disk or anything with that standard account - it is asking for the root password. Is there any way I can recover access to the administrator account?

You can use recovery mode to add the standard user to the admin group (which is now called sudo in 12.04). Below is a set of simple instructions copied from my personal website.

Using Recovery Mode To Add Users To The Admin / Sudo Group

First shutdown your computer.

Then restart whilst holding shift on the keyboard to load grub menu.

Select recovery mode from the grub menu.

Select drop to root shell from the recovery menu.

Use the following command to remount the drive mount -o rw,remount /

Now type adduser username sudo replacing username with your user name  ie. 'adduser  phil sudo'

You should now see a message saying 'adding user' followed by 'done'.

Type shutdown -r now to restart the computer.

EDIT: If it is telling you that user xxx does not exist, first you can use the following command to list users and make sure that you have the correct username

ls /home

The other option is add a new user, from recovery mode using the following commands :

useradd username -m -s /bin/bash
passwd username
adduser username sudo

Again replacing username with your desired username.

I had the same problem
Select recovery mode (if you are using laptop it differents but it's in the same place you get in bios)
Then select root
Write the command(# adduser )
Then the command(# password root)
And write the new password
And restart by the command( #reboot)


Steam crashes on launch (18.04) I recently installed Ubuntu 18.04 on my laptop.  Then I installed Steam via the website yesterday, and it worked.  When I tried to launch Steam today it simply crashed as the auto-update began.  I used sudo apt-get purge steam when uninstalling and have tried to re-install both with the download from the website and with sudo apt-get install steam.  The problem persists however.

This is the output I get when trying to run Steam from the terminal:

~$ steam
cp: cannot stat '/usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz': No such file or directory
Running Steam on ubuntu 18.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1522709999)
Installing breakpad exception handler for appid(steam)/version(1522709999)
Installing breakpad exception handler for appid(steam)/version(1522709999)
Gtk-Message: 16:31:00.768: Failed to load module "atk-bridge"

...

Gtk-Message: 16:31:00.786: Failed to load module "canberra-gtk-module"
dbus[8768]: arguments to dbus_message_new_method_call() were incorrect, assertion "path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
crash_20180502163059_1.dmp[8775]: Uploading dump (out-of-process)
/tmp/dumps/crash_20180502163059_1.dmp
/home/magnus/.local/share/Steam/steam.sh: line 927:  8768 Aborted                         (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20180502163059_1.dmp[8775]: Finished uploading minidump (out-of-process): success = yes
crash_20180502163059_1.dmp[8775]: response: CrashID=bp-a9833971-19cb-45ce-a771-2cb7f2180502
crash_20180502163059_1.dmp[8775]: file ''/tmp/dumps/crash_20180502163059_1.dmp'', upload yes: ''CrashID=bp-a9833971-19cb-45ce-a771-2cb7f2180502''

Since the file /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz is missing, it looks like steam-launcher is not installed.  Apparently, the steam package has been replaced by steam-launcher.

Try the following to uninstall the old package and install the new one:

sudo aptitude purge steam steam:i386
sudo aptitude install steam-launcher libatk-bridge2.0-0

If steam-launcher is not available, try installing steam-installer instead.

sudo aptitude install steam-installer libatk-bridge2.0-0

The package steam-launcher does not install Steam itself.  Rather, it is a program that downloads and installs Steam into the user's home directory at $HOME/.local/share/Steam.  If Steam is already installed, it is run.

That Steam was interrupted during an update and is now crashing indicates a problem with the installation directory.  You can force a reinstall by moving the installation folder:

mv "$HOME/.local/share/Steam" "$HOME/.local/share/Steam.bak"
mkdir "$HOME/.local/share/Steam"
cp -rl "$HOME/.local/share/Steam.bak/package" "$HOME/.local/share/Steam/package"

Then select the option to "reinstall" when running steam.  A few-hundred megabytes of data may need to be downloaded.

After successfully reinstalling and running Steam, you can look for old games in $HOME/.local/share/Steam.bak and move them to the new installation $HOME/.local/share/Steam.  If you have nothing you want to move, $HOME/.local/share/Steam.bak is safe to delete.
Last Resort: If none of the above fixes the problem, and you don't mind reinstalling Steam from scratch, you can try deleting all Steam-related files from your home directory:

\rm -rf $HOME/.steam*
\rm -rf $HOME/.local/share/Steam*

run this in your terminal

~/.local/share/Steam/ubuntu12_32/steam

credit to MaiconKeller on the Steam community forum


Cannot boot from SSD in ubuntu 15.10 I bought a new SSD and decided to migrate my Ubuntu(in HDD).

/dev/sda (SSD)
/dev/sdb (HDD)

Using a Live USB I created a partition in SSD and copy /dev/sdb2(which is /) to /dev/sda1 using rsync -a. After that I changed UUID entry(SSD) for / in /dev/sda1/etc/fstab.

I have an efi partition and I did the following steps for grub installation in SSD

sudo mount /dev/sda1 /mnt
sudo mount /dev/sdb1 /mnt/boot/efi
sudo grub-install --efi-directory=/mnt/boot/efi --root-directory=/mnt /dev/sda

Now problem is doesn't matter which HDD I choose for first boot, grub always mount my old HDD as /. I cannot mount SSD as /.

I have found the problem. When I tried to clone the HDD partition, it also copy /boot/grub from HDD to SSD. For some reason(maybe a bug) grub-install didn't update /boot/grub.

So I deleted /boot/grub from SSD and run grub installation process again.

sudo mount /dev/sda1 /mnt
sudo rm -rf /mnt/boot/grub
sudo mount /dev/sdb1 /mnt/boot/efi
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys
sudo mount --bind /proc /mnt/proc
sudo grub-install --efi-directory=/mnt/boot/efi --root-directory=/mnt /dev/sda
sudo chroot /mnt
update-grub

Now everything is fine.

Trying using a program called Clonezilla.

You can use it to make exact replicas of your system hard drives and can be used to replace one that is in use.

So say you have a 1TB drive as your main OS for Linux, make a clonezilla copy of it and restore that image onto your new SSD drive. By removing the old 1TB drive and replacing it with the new SSD you should be good to go.

Keep in mind going from a larger drive to a smaller drive might cause you some issues and may require you to shrink partitions to resolve the issue.

For help using Clonezilla there are numerous youtube videos explaining how to use the application to backup and restore hard disks.


I need my pendrive to boot into Ubuntu, how to correct this and boot from the HDD? I installed Ubuntu through USB. Instillation was successful.

But when I restarted my laptop it didn't boot. So planed install it again when started selected install from USB. it booted my previous installed Ubuntu. So after went Ubuntu boots no need of that pen drive, so in short, every time I want to start my pc I need that pen drive to boot.

The most likely cause was that you installed GRUB in your Pendrive. To correct this situation you have to Install GRUB correctly in the Hard Disk. First you need intel to do this, you need to know what partition is your Ubuntu. For this we rely in fdisk.

Using your pendrive in a live session, open the terminal, then type sudo blkid. You will get a output similar to this:

/dev/sda1: UUID="bf554a2f-a035-4c22-bca8-162def35a03c" TYPE="ext4"
/dev/sda2: UUID="3962db06-3776-4f38-8ab9-eab6feeccc1d" TYPE="ext4"
/dev/sdb1: UUID="AA64B45A64B42AC9" TYPE="ntfs"
/dev/sdb2: UUID="F66E431C6E42D551" TYPE="ntfs"
/dev/sdb3: UUID="75a0854b-8b6b-453f-8aec-2a081a1f19e3" TYPE="swap"
/dev/sdb5: UUID="279a18da-130b-46dd-8b54-84da48eb445f" TYPE="ext4"
/dev/sdb6: UUID="393cd35e-b827-4dea-acb5-2a66f2369dce" TYPE="swap"
Here you can see that my Hard Drive is in the sda and my pendrive is sdg. We are interested in sda. Now lest look at the descriptions of the partitions. We want the partitions that are ext4. In my case I have two ext4 partitions. This is because I have my /boot separated, I will take note about that, but lets assume that you don't have /boot separated for now and that your / (root) is sda1. Now we will mount sda1.

sudo mount /dev/sda1 /mnt
sudo mount -o bind /proc /mnt/proc
sudo mount -o bind /dev /mnt/dev
sudo mount -o bind /dev/pts /mnt/dev/pts
sudo mount -o bind /sys /mnt/sys

Tecnical note: This is the minimum. If you have a /boot partition (or any other) separated just mount it the same way, in my case sudo mount /dev/sda2 /mnt/boot. Please take note that I used /mnt/boot, you should change it if using other mount points.
Now we will proceed to CHROOTING the partition:

sudo chroot /mnt /bin/bash

Now we will proceed to install grub:

sudo grub-install /dev/sda

Done. Now reboot in your system without the pendrive.

I hope this help

  https://help.ubuntu.com/community/Boot-Repair.

Use 2nd option to install after boot your ubuntu with pen and recommanded repair should work. After that you dont need pen to boot your system.


Ubuntu 17.10: where can I find libgstinterfaces-0.10.so.0 or something compatible? I'm trying to install Maya 2016 in Kubuntu 17.10 64-bit (though I imagine this issue will affect all flavors of Ubuntu 17.10). I've managed to meet every dependency it has except for one shared library: libgstinterfaces-0.10.so.0

This library comes from libstreamer, and Maya 2016 requires a number of other libraries from it. All of them except libgstinterfaces can be obtained by installing the libgstreamer-plugins-base1.0-0 package. You can then make symlinks with filenames matching the older versions of the library that links to the newer versions, e.g.:

ln -s /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so /usr/lib/libgstreamer-0.10.so.0

However, libgstreamer-plugins-base1.0-0 does not include any version of libgstinterfaces. I'm not sure what I can do to satisfy it. This library was included in older versions of Ubuntu. Is there anyway I can install it from an older repo?

edit: I should have mentioned specifically that apt-file search libgstinterfaces returns no results.

identify which package it lives in issue

apt-file search libgstinterfaces

so you will see you can install one of these

libgstreamer-plugins-base0.10-0: /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0
libgstreamer-plugins-base0.10-0: /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0.25.0
libgstreamer-plugins-base0.10-dev: /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so

I would install the xxxx-dev since header files come with packages ending with -dev

If above search is empty goto  ... Settings -> Software & Updates -> Ubuntu Software -> and checkmark ON that list of software sources ... then do the normal

sudo apt-get update && sudo apt-get dist-upgrade

then try the search again

I was able to install the packages by using a Linux Mint 17.2 / Ubuntu 14.04 system and download the packages using apt:
apt install libgstreamer0.10-0
apt install libgstreamer-plugins-base0.10-0

And then installed both of them with dpkg in that order.
That said, I know there's an easier way to get at these packages than to use another Ubuntu installation, but I still don't know what that is.


allowing user to run systemctl/systemd services without password I want the default user, ubuntu to be able to run a specific service without being prompted for a password.
Specifically systemctl restart unicorn_my_app.service.
Have followed the instructions here to add user ubuntu to a newly created group, LimitedAdmins, which is confirmed with:
$ getent group LimitedAdmins
LimitedAdmins:x:1001:ubuntu

Created a new file, limitedadmins (using sudo vim) in the /etc/sudoers.d directory containing the following text:
%LimitedAdmins ALL=NOPASSWD: /etc/init.d/unicorn_ofn_america restart, /etc/init.d/unicorn_ofn_america start
I have also tried:
%LimitedAdmins ALL=NOPASSWD: /bin/systemctl/unicorn_ofn_america restart, /bin/systemctl/unicorn_ofn_america start
(And /bin/systemd)
Content of /etc/sudoers/ is the default as confirmed with sudo visudo (or sudo cat /etc/sudoers):
#
# This file MUST be edited with the 'visudo' command as root.
#
# Please consider adding local content in /etc/sudoers.d/ instead of
# directly modifying this file.
#
# See the man page for details on how to write a sudoers file.
#
Defaults    env_reset
Defaults    mail_badpass
Defaults    secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"

# Host alias specification

# User alias specification

# Cmnd alias specification

# User privilege specification
root    ALL=(ALL:ALL) ALL

# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

# Allow members of group sudo to execute any command
%sudo   ALL=(ALL:ALL) ALL

# See sudoers(5) for more information on "#include" directives:

#includedir /etc/sudoers.d

(The hash sign in #includedir is not a comment, but part of the #include directive syntax).
However there's still a password prompt following running systemctl restart unicorn_my_app.service
Service is there in the init.d directory:
$ ls -l /etc/init.d | grep unicorn
-rwxr--r-- 1 ubuntu ubuntu 1874 Oct 29 06:47 unicorn_my_app

Tried chmodding 755 on the app, but don't think that should make a difference, since ubuntu owns it anyway.
Even tried rebooting the system with no difference. Am I missing a step, like a restart/reload)? Configuring something wrong?
I should also mention that I used vim to create the new file within /etc/sudoers.d, as it seems that the visudo command is only for editing /etc/sudoers.

The sudoers file is fairly flexible, and with that comes complexity. What you want here is to permit access to the command /bin/systemctl, with specific parameters:

%LimitedAdmins ALL=NOPASSWD: /bin/systemctl restart unicorn_my_app.service

Basically you just take the exact command line that you would type, hard-code the path name for safety's sake, and put that into your sudoers file (or /etc/sudoers.d). And note that 'start' and 'restart' are completely different as far as sudo is concerned; permitting one won't grant access to the other.

sudo chmod 777 app.service

Now you give the permission for the file to be read, write and execute for everyone.
Now you can start the service without sudo
service  app restart
service  app status


hdparm will not set spindown for disks 14.04 server I have 4 HDD, one WD and 3 Identical generic brands.
I have edited /etc/rc.local to change hdparm -B to 127 for the 3 generic drives (WD is unsupported and probably handles itslef) and -S to 180 for all 4 drives.
After reboot
hdparm -B /dev/sd*
 shows 127 for the 3 drives, however
hdparm -S /dev/sd*
 returns:

-S: bad/missing standby-interval value (0..255)

for all 4 drives.
hdparm -S180 /dev/sd* gives:

/dev/sd*:
  setting standby to 180 (15 minutes)

however hdparm -S /dev/sd*
again returns:

-S: bad/missing standby-interval value (0..255)

I have searched for a solution but am at a loss as to how to make the drives spindown. Any help would be appreciated.

hdparm -S 242 /dev/sd[a-d]

Sets spindown to 1 hr.


List of available wi-fi networks does not show up. Just 'Add' button Here's the screenshot.

It just has 'Add' button, where I have to manually set up wifi (ssid etc). I want to click on Wi-Fi symbol at top right corner and see the list of available networks. How do I do that?

Go to System Settings, then click on Software and Updates, go to Additional Drivers. Then select the Broadcom driver and apply changes.

The above video didn't help in my case - software updates didn't provide any additional drivers.
I looked into log files under /var/log and discovered that some firmware files are missing for wireless connection. After downloading these files I could see a list of available wireless networks.


DNS Resolution fails, and /etc/resolv.conf isn't persistent, how can I force the use of certain DNS servers? I have this persistent and annoying issue. When I first boot up, my desktop can't resolve any DNS names unless I edit the /etc/resolv.conf file and remove the entry for name-server 127.0.0.1 and change it to 8.8.8.8

This is only a temporary fix because this file is reset after each reboot.

I googled this for hours and tried multiple solutions but can't find a solution. I think there also might be a bug associated with this issue? Not sure though.

Can someone help?

Edit: This answer is assuming you are connected using DHCP, which most people are

You have two options;

First, properly setup the DHCP server that is giving your machine it's local IP address.  If you use a router, go into the router's settings and make sure it is providing its clients (you), proper DNS servers.

If you are not using a router and get your DHCP directly from your ISP, call your ISP.

This is most likely the issue you have.

Second, solution if you can't do the first solution is to manually edit the connection rather than /etc/resolv.conf.  Doing it this way should survive a reboot.

On the top panel, click on the network applet and go to Edit Connections.  Choose the connection that you're having issues with and click Edit.  On the IPv4 Settings tab, choose Automatic (DHCP) addresses only and fill in the DNS servers you want to use.

This will restart the connection, only pulling an IP address, while still using the DNS servers you just specified.

This is maybe not a complete solution,it's just a temporary solution untill you can resolve it.

you can make a permanent change in resolv.conf

try this Link :)


How to install Android Studio on Ubuntu? Please tell me the full process of installing Android Studio and its necessary dependencies.

Installing Java

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

After that

sudo apt-get install oracle-java8-set-default

  Note: WebUpd8 team's PPA has been discontinued with effective from April 16, 2019. Thus this PPA doesn't have any Java files. More information can be found on PPA's page on Launchpad. Hence this method no longer works and exists because of historical reasons.

Installing Android Studio

Download Android Studio from here, use All Android Studio Packages
Extract the archive file into an appropriate location for your applications, eg: /opt. Use the filename of your downloaded archive, in my example android-studio-ide-141.2178183-linux.zip

sudo unzip android-studio-ide-141.2178183-linux.zip -d /opt

To launch Android Studio, navigate to the /opt/android-studio/bin directory in a terminal and execute ./studio.sh. Or use a desktop file, see below.

You may want to add /opt/android-studio/bin to your PATH environmental variable so that you can start Android Studio from any directory.

Create a desktop file

Create a new file androidstudio.desktop by running the command:

nano ~/.local/share/applications/androidstudio.desktop

and add the lines below

[Desktop Entry]
Version=1.0
Type=Application
Name=Android Studio
Exec="/opt/android-studio/bin/studio.sh" %f
Icon=/opt/android-studio/bin/studio.png
Categories=Development;IDE;
Terminal=false
StartupNotify=true
StartupWMClass=android-studio

Installing Android SDK (if necessary)

Click the marked button

Get the latest SDK tools

As a minimum when setting up the Android SDK, you should download the latest tools and Android platform:

Open the Tools directory and select:

Android SDK Tools
Android SDK Platform-tools
Android SDK Build-tools (highest version)

Open the first Android X.X folder (the latest version) and select:

SDK Platform
A system image for the emulator, such as
ARM EABI v7a System Image

Get the support library for additional APIs

The Android Support Library provides an extended set of APIs that are compatible with most versions of Android.

Open the Extras directory and select:

Android Support Repository
Android Support Library

Get Google Play services for even more APIs

To develop with Google APIs, you need the Google Play services package:

Open the Extras directory and select:

Google Repository
Google Play services

Install the packages

Once you've selected all the desired packages, continue to install:

Click Install X packages.
In the next window, double-click each package name on the left to accept the license agreement for each.
Click Install.

1- Run to Terminal (Ctrl+Alt+t) and install JDK:

sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer

to check the java jdk version, type

javac -version

or

java -version

2- Download Full bundled ADK from oficial site, unzip it, open it and follow the instructions in install-Linux-tar.txt.

3- Follow the ADK installation Wizard.


After update, get "error: file not found." followed by "grub rescue> _" I just installed quite a lot of 12.10 updates, was prompted to reboot, and then found that I couldn't boot.

Use Boot Repair to fix your bootloader.

Boot Ubuntu from a LiveCD or Live USB
Connect to the internet
Open a terminal, and add the Boot Repair PPA

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
Install Boot Repair

sudo apt-get install -y boot-repair && boot-repair
Launch and use, see https://help.ubuntu.com/community/Boot-Repair#Using_Boot-Repair for more details

In my case, I had downgraded to  GRUBv1 and after the upgrade to 12.10 grub2 couldn't find his files (*.mod, etc...), although the grub.cfg was there.

I found a more comprehensive manual on grub rescue:
https://help.ubuntu.com/community/Grub2/Troubleshooting#grub_rescue.3E-1

See also the command list at the begining of the page.
Thx flute flute.


How to ask a web page to show desktop website using Ubuntu Web Browser? There doesn't seem to be a button on Ubuntu's web browser to ask a website to show the desktop version of their site; it seems fixed to a mobile website.

How can I browse desktop websites on the Ubuntu web browser?

(Usuing Ubuntu Touch OTA-12 on LG Nexus 4)

Generally that's not a feature of the browser. Most websites offer the option to show their Desktop version, mostly at the bottom of the page.


How do I install Adobe Acrobat in Ubuntu 16.04? I know the thread How do I install Adobe Acrobat Reader deb package downloaded from Adobe website? However, there is no Linux anymore in the installation site here.
Unsuccessful attempts

I do DriraWassim's proposal which does not add anything to apt-get and does not show the installed .deb package in the path/search

sudo apt-get install libxml2:i386
sudo apt-get update
sudo apt-get upgrade
apt-cache search adobereader-enu

I download the newest .deb package here and run it.
I cannot find the application anywhere in the system. It is not in the path and not in Ubuntu's search. How can you start it?

System: Ubuntu 16.04, 64 bit
Hardware: Macbook Air 2013-mid
Linux kernel: 4.6

I followed the tips below on Kubuntu 16.04 64 bit:

sudo add-apt-repository "deb http://archive.canonical.com/ precise partner"
sudo apt-get update
sudo apt install adobereader-enu

After properly installed Adobe Reader, don’t forget to remove the Canonical Partners repository for Precise:

sudo add-apt-repository -r "deb http://archive.canonical.com/ precise partner"
sudo apt update

I found that:

sudo apt install adoberead-enu

...throws an error to the effect that it could not find the package
adoberead-enu. However when I did:

sudo apt install adoberead-bin:i386

...it worked, and the result seems to be a working Adobe Reader.

I am using Ubuntu 16.04.


Get Kingston DataTraveler Locker+ working under Ubuntu 11.10 I have procured a 16GB Kingston DataTraveler Locker+ USB 2.0 memory stick with 256-bit AES Hardware Based Encryption.

The official manual confirms that Linux is unsupported, but I wondered if there might be a way round this.

Does anyone know if it is possible to get this type of drive working under Ubuntu, and if so, how?

The Kingston Locker+ G3 can be accessed through linux. Here are two (non-officialy supported by Kingston) methods:

Using a windows virtual machine to un-lock the drive, and then releasing it to the host OS. It works for me with VMware Workstation.
Using the binaries shipped with another Kingston key, namely the "DataTraveler Vault Privacy 3.0". (Works under both x86 and x64 linux system.) Obviously, you would need to carry the binaries on another drive (unless you are able to edit the read-only zone of the stick).

Personally I would wipe the stick and format with encryption.  Install the cryptsetup package.

sudo apt-get install cryptsetup

and if not already installed, the Disk Utility app.

sudo apt-get install gnome-disk-utility

Then use the disk utility to format to your desired filesystem type and enable encryption, like so.


Import videos from Panasonic TZ 7 Does anyone knows a good software which will allow me to import the video I took from my digital camera Panasonic TZ7?

Shotwell imports photos perfectly from this device. However I couldn't find any software which imports the video (I tried several, among others Rapid Video Downloader). The only I could import videos is from nautilus by looking directly for the MTS files and then I have to rename the file into something which make sense.

If the software could also convert the file into some other format it is a plus, but that I can do that with VLC.

Shotwell 0.8 will include basic video support: http://trac.yorba.org/ticket/855.  You can import video from a camera and organize it in your library (tags, events) just like a photo.  No editing however, and if you double-click, it will launch a movie player.  We hope one day to host the player inside Shotwell itself: http://trac.yorba.org/ticket/2820

If you'd like to try it now and see if it works with your camera and its movie types, you can run from trunk: http://www.yorba.org/shotwell/install/#source

Otherwise, 0.8 should be out soon.

You can use PICASA (via Wine - it is no longer natively supported on Linux) or SHOTWELL to import pictures from dig cam.You can also use F-SPOT photo manager it is replaced by shotwell in Maverick.If you want F-Spot you can install it from it's PPA.

Installing F-Spot

In terminal type the following,

sudo add-apt-repository ppa:f-spot/f-spot-ppa
Update your repository and then install F-Spot
sudo apt-get update
sudo apt-get install f-spot
You can Launch F-Spot in Applications>>Graphics menu.

For Importing Videos
 you can use gphoto2  but that's a command line utility.The command gphoto2 -P will retrieve everything from the camera into the directory you are in.


How do I convert a scanned PDF into a PDF with text I have scanned about 80 pages into gray scale pdf (image format).
The end size of the file is about 70MB, which is very huge.

Now I am looking for a method to convert the grayscale image-based PDF file into a simple black/white text-based PDF file.

I have done many attempts with gs but with no success (only a few percent recovery).
If any expert has some idea, kindly  let me know.

gImageReader is a simple GTK+ front-end to tesseract-ocr.

sudo apt-get install gimagereader tesseract-ocr

sorry for the german text

In your pdf file, right-click and save each page as image (or find some tool that does all pages automatically)

Open Ubuntu software center. Search for tesseract. This will find YAGF which you should install. In YAGF, click on File -> Open Image and load your image. Then click on File -> Recognize.

I had 100% accuracy in my first test.


How to install old version of Chromium? Someone reported a bug in my open source project and he's using using Chrome 49 (I'm using version 55 of Chromium) so I want to install that old version but Chrome don't support 32bit versions so I need to install old Chromium.

How can I install it?

Please just don't go on the website given in the former response.
This is a private website, no way of thinking it is safe, or not.
It's not because it's open source that you can download whatever you want.
Official repo give these instruction to proceed:

from https://www.chromium.org/getting-involved/download-chromium

Downloading old builds of Chrome / Chromium

Let's say you want a build of Chrome 44 for debugging purposes. Google does not offer old builds as they do not have up-to-date security fixes.

However, you can get a build of Chromium 44.x which should mostly match the stable release.
Here's how you find it:

Look in http://googlechromereleases.blogspot.com/search/label/Stable%20updates for the last time "44." was mentioned.
Loop up that version history ("44.0.2403.157") in the Position Lookup
In this case it returns a base position of "330231". This is the commit of where the 44 release was branched, back in May 2015.*
Open the continuous builds archive
Click through on your platform (Linux/Mac/Win)
Paste "330231" into the filter field at the top and wait for all the results to XHR in.
Eventually I get a perfect hit: https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Mac/330231/
Sometimes you may have to decrement the commit number until you find one.
Download and run!
As this build was made at 44 branch point, it does not have any commits merged in while in beta.
Typically that's OK, but if you need a true build of "44.0.2403.x" then you'll need to build Chromium from the 2403 branch. Some PortableApps/PortableChromium sites offer binaries like this, due to security concerns, the Chrome team does not recommend running them.

here is the link where you can download older versions.
You can find google-chrome-stable_48 there or chromium-48 versions.


Why latest version of packages in Synaptic is different from developers website? I found that latest version which is determined in Synaptic Package Manager is older than what is on developer web site. It is different from latest stable versions as well, and even after 2 (or sometime 6) months the version in synaptic is not updated. Why this difference occurs? And is there any way that update latest version for all packages in Synaptic?

On Ubuntu, the major-versions of software included are fixed within a distribution.

Because you usually don't get upGRADES with new functions in a stable distribution (ie Ubuntu 14.10), only upDATES which fix actual problems. Major changes are applied to the next release of the distribution (ie Ubuntu 15.04). So an upgraded version might be coming with the next version of the distribution in use. This applies to most Linux-distributions. They don't want to make sure that you have the most recent software all the time, but that the software is working together perfectly.

Using PPAs for some software is a possible compromise to get more recent software, or you can download the tarball from the developers website and compile yourself.

There are some distibutions using rolling releases - ie Arch Linux - in this case there is no version of the distribution itself. This is nice for enthusiasts and early-adaptors, but using such a distribution you will for sure experience problems with incompatibilities, and you will have to fix some things which probably never were experienced by someone before you, so there will be a point where you are on your own.
You should not use rolling releases in case you need your system for work.

However, even when using a rolling distro, you will still need to wait till the maintainers of the distribution created a package for the package-management in use.

If you REALLY want to have the most recent version of anything, you will need to create your own Linux-from-scratch-system, what means building ANYTHING yourself. But you would not have any spare-time to use your system for the rest of your life if you plan that as you will be recompiling software all the time ;)


Synaptics touchpad tap-to-click is not working in Ubuntu 16.04 LTS (Gnome) I upgraded my ubuntu gnome installation to 16.04.3 LTS (GNOME) and everything is kinda good except for the touchpad single-tap functionality. Single-tap-to-click is not working.

Edit (by cipricus - in order to avoid creating a duplicate question): not only is it not working, but the setting presented in Gnome Help here (Open the Activities overview and start typing Mouse & Touchpad. - Click on Mouse & Touchpad to open the panel. -
In the Touchpad section, check Tap to click.)  is not applicable in Ubuntu Gnome 16.04, as the Touchpad section is simply absent there:

How come? I know this is already answered, but why is the Touchpad section absent? I will add a bounty for this.

I've found a permanent solution with this command

gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

Gnome starting at 3.20 only allows configuring devices using the libinput driver. So if you are not using the libinput driver, it won't show up in the GUI.

Comment from discussion gnome 3.22 still does not detect tap to click?.

Additionally, GNOME may override certain behaviors, like turning off Tapping and forcing Natural Scrolling. In this case the settings must be adapted using GNOMEs gsettings command line tool or a graphical frontend of your choice. For example if you wish to enable Tapping and disable Natural Scrolling for your user, adjust the touchpad key-values like the following:

gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true

https://wiki.archlinux.org/index.php/Libinput#Touchpad_not_working_in_GNOME

I have created a script to automate this process. It will be automatically started when the system starts. So, you don't have to run the same command again and again. The link of the script is github.com/Ryko-git/click-on-touchpad .

The installation process is very easy. It is given on the github page.


What is different about the Mac ISO image? http://cdimage.ubuntu.com/releases/11.04/release/

At that location there is an ISO image which is described as "This image is adjusted to work properly on Mac systems."

What specific problems on the Mac does this image address that the standard images don't? I ask because I need to know which ISO to recommend to Apple Mac users.

In Ubuntu 10.10, we changed the normal amd64 CD images to dual-boot on either BIOS or UEFI systems (UEFI, "Unified Extensible Firmware Interface", is a different kind of firmware found on many newer systems).  This was done using a technique known as a "multi-catalog" CD - it contains two boot images, and the specification says that the firmware is supposed to pick the one it can best use.

Unfortunately, even though Macs use a variant of EFI (an earlier version of what's now called UEFI), they apparently can't cope with multi-catalog CDs, and simply refuse to boot them.  This left us in rather a quandary: we needed to support UEFI systems, but we didn't want to drop support for Macs either.  I therefore created the amd64+mac CD images, which are exactly the same as the amd64 images except that they only support BIOS booting.  Macs are happy to boot these in their BIOS emulation mode.

(In fact, the name amd64+mac is a slight misnomer, because it later turned out that some systems other than Macs suffer from a similar problem - but I felt that a more technically accurate naming such as amd64+nouefi would be more likely to confuse than enlighten.)

While I would love to return to shipping just amd64 images rather than both amd64 and amd64+mac, at the moment there is no prospect of reunifying them unless somebody figures out how to make a multi-catalog CD image that Macs can boot.  If you're an expert on this, please do contact me by e-mail.

The question is discussed by Matt Gadient here.
This page also contains images of few distributions which work for mac.
It also contains a short code that suppose to convert an iso image into its +mac version. Works perfectly.


Why can't I get to a shared folder from Windows I want to access a folder on my new Ubuntu 12.10 box from any machine on my network without the need to provide credentials.

My machine name is Ubuntu1

I have a 2TB disk that formatted NTFS that has media on it

The mount point is mount1

I have numerous folders on the disk and I want to share each of them individually

I have enabled folder1 and folder2 for sharing

I have enabled shared access, Allow others to create and delete files in this folder and guest access is allowed.

The folder icon now has arrows so I assume all is good.

From windows I can see under network

Ubuntu1>folder1
Ubuntu1>folder2

When I click to open the folder from windows I get the error "You cannot access \Ubuntu1\folder1

You do not have permission to access \Ubuntu1\folder1

I have them both on the same workgroup.

Your assistance would be appreciated

Try running this command on your Ubuntu server:

sudo -u nobody ls "/path/to/my/share"

That will try to access your shared folder as user nobody.  If you see an error like this:

ls: cannot access /path/to/my/share: Permission denied

then your local permissions are the problem (or at least a part of it).

Samba uses Linux filesystem permissions to determine whether it should grant access to shared files; if permissions block access to the shared folder itself, Samba will refuse to allow other machines to connect to the share at all.  Guest access uses the nobody user (from group nogroup), so you should use the 'other user' file permissions to ensure that guests can access your shared folder.

It's important to check permissions on all the directories leading from / down to your shared folder too: if a user doesn't have execute permissions for a directory then they're prevented for accessing any paths below that point, including your share.  (I created the ls error message above by removing 'x' permissions from an intermediate directory.)

Let's say you wanted to share /mnt/external/ntfs-drive/folder.  You could add the 'x' permissions on all the parent directories with this command:

sudo chmod o+x /mnt /mnt/external /mnt/external/ntfs-drive

You also need to set read, write and execute permissions for the shared folder and any contents, but for parent directories execute permission is enough.

As falstaff explained, you need to allow guest from your Ubuntu1 machine or create credentials.

I suggest you to have a look at this guide.

I used it to fix access from both sides (linux/windows clients) to access other SMB shares.


Can't install printer After upgradeing my system to Ubuntu 15.04 I can't my printer (Canon 4350d).
I add my printer via localhost:631 (cups) but it's not added at System -> Printers.
Cups displays all printers on the network, but I can't print and can't add printer in System -> Printers.

Try setting the "Share This Printer" option within the CUPS settings of the printer.
This made my printers available after upgrading to 15.04.
I hope this solves the problem for you.


Can I boot Ubuntu from a floppy? I'm stuck on a really old computer with ~500MB RAM and a 6GB HDD.  It has Windows 2000. Being not from this side of the century (it originally ran Windows 98), the BIOS does not have an option to boot from USB.  It also does not have a CD burner, and I don't have any money to order a liveCD off the internet.

So I only have a USB port and a floppy drive to work with.   When I tried DSL, I had a floppy that contained the kernel and syslinux.  I realize that the Ubuntu kernel is too large to fit on one 1.44MB floppy, but is there some sort of program/boot loader that could load from USB from a floppy?

Yes, I tried Plop.  It didn't work because of my old BIOS.

Is there a program that I can use to boot Ubuntu from a floppy and a USB?

also:  I only have a power user account.  So a lot of things go straight out the window there.

First, as you can imagine, Ubuntu is going to run slowly on that hardware, and I normally think of a 5 Gb partition as the minimal space for an Ubuntu install.

You may have better success with Lubuntu, it will use less resources.

You can probably boot an iso from your hard drive with grub4dos

I can not give you a detailed walk through on this as I do not have windows 98 to confirm this on, but the following should work.

Download ubuntu or lubuntu iso, put it in C:\

Download grub4dos from http://sourceforge.net/projects/grub4dos/

It is a zip file, unzip it.

copy grldr from the extracted archive to C:\grldr

Save a backup copy of c:\boot.ini , open c:\boot.ini with notepad and add the following line to the end of the file

c:\grldr="Boot Ubuntu ISO"

Save the file and close it.

Again using notepad, create a file C:\menu.lst save it as a txet file to C:\menu.lst (that is a small "l" and not the number "1").

title Ubuntu 10.04 Desktop
find --set-root /ubuntu-10.04-desktop-i386.iso
map /ubuntu-10.04-desktop-i386.iso (hd32)
map --hook
root (hd32)
kernel /casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper iso-scan/filename=/ubuntu-10.04-desktop-i386.iso quiet splash --
initrd /casper/initrd.lz

That menu entry is for the ubuntu-10.04-desktop-i386.iso , adjust your menu accordingly.

Reboot and give it a try. If it goes well you should boot the ubuntu iso, it will be slow.

To un-do those changes, delete C:\grldr , undo your edit to c:\boot.ini, delete C:\menu.lst, delete the ubuntu desktop iso.

I highly recommend you check out puppy linux .Puppy linux is made for old computers.There are many varients for puppy .

but you should check out lucid puppy.. it ubuntu compatible..

full description of puppy

Download information of latest puppy variants

why Lucid Puppy(ubuntu compatible).

1)You don't have to install Puppy (to hard disk) to use it.

2) What's different here is that Puppy is extraordinarily small, yet quite full-featured. Puppy boots into a ramdisk and, unlike live CD distributions that have to keep pulling stuff off the CD, it loads into RAM.

3)This means that all applications start in the blink of an eye and respond to user input instantly.

4)Puppy Linux has the ability to boot off a flash card or any USB memory device, CDROM, floppy disks, internal hard drive.

Now complete guide to install Puppy Linux from floppy through usb drive.

note: Wake2pup tool is specifically built for puppy linux..therefore it can be applied to all latest puppy variants (lucid,racy,wary,slacko).. so it may be not for other distro(havn't tested but if it can be done for other distro..i will edit this post asap)

Limitation:- The whole tutorial is tested in vmware by booting from floppy drive through usb drive ..which worked but still it is tested on virtual system , not on real system...

I am assuming that you have working windows 98 with working floppy drive.

A) Collecting Resources

1) A Working Floppy

2) USB Flash Drive

Minimum Capacity- 256 MB

Recommended -1 GB or higher

3) Download the latest lucid puppy (Size-129 MB)

4) Download Unetbootin

5) Download wakepup2-img-write

B) Now explaining How to use resources

1) Unetbootin for creating live puppy..

Open unetbootin ..and select puppy linux.. after that ..select the downloaded os   location and usb location.

Helping Screenshot:

when completed , close unetbootin, then open the newly created bootable usb drive ,
here create a new text document and rename it to USBFLASH.

Helping Screenshot:

Note:when renaming clear the whole name including .txt

2) Create bootable floppy-drive

1) First format the floppy drive, go to computer and right click on the floppy drive icon and select format.

2) Extract wakepup2-img-write.zip

3) Open extracted folder and double click it.. it will automatically detect and install wakepup2 in the floppy drive.

Helping Screenshot:

That’s it ..now restart & make sure that floppy disk and usb drive is properly inserted…

These are the screenshots you will encountered when booted from floppy drive..

1) First Puppy Boot CD menu will prompted

Select menu by entering one of the given number . Don't press enter cause it will take you to option 8 (which is you don't want)

most probable by looking at the menu is option 1

if option 1 doesn't work for you .. try 2 , 7(scsi most common controller), maybe 8 too..

Option 1 or 7 both worked out for me

but check other options other than 1,7 if didn't work out for you..

2) Now it will scan for usb devices

3) scanning completed after founding jetflash usb drive and installed managing
    software.Hit enter

4) enter 1 for normal boot

5) Copying Puppy to RAM ..

6) Here is lucid Puppy UI ...click the install icon on the desktop..

select universal installer..

Note:- Now you can install anywhere you want according to your hardware support..i.e internal hard drive(support for ide,sata and scsi controllers),usb drive & external usb hard drive, cd drive...

In this case you should select internal hard drive or may be old scsi hard drive.

Just for info

A) Common error when your device is not located(or installed)

ignore the message, restart and choose different option from the Boot Menu.

B) You can boot from the following devices by creating a text file on the device(same as we did with the usb drive) and renaming it to the following names..these files are called maker files.

1) Boot from a built-in hard disk: just create a file IDEHD on your hard disk

2) Boot from a USB hard disk: USBHD

3) Boot from a USB flash pen: USBFLASH

4) Boot from a built-in IDE or external USB CD-ROM: no file is needed, WakePup2 should find the Puppy2 files anyway.


Is there any way to set the display scaling back to default other than from the display settings dialog? I scaled the UI from the display menu. Now it is way too big and I can't get to the slider to reset it.

Any ideas how I can change the scaling in Unity back to default without accessing the settings menu??

I tried

dconf reset -f /org/unity

with no luck.

The problem seems to be that you are not able to see/control the lower part of the "Display settings". There is a workaround to move the lower part on top. For this, go to System settings -> Display and then right-click on the window bar on top and click on "Move". Do not move your mouse after clicking on "Move", otherwise the keyboard is not used for moving, only the mouse has the control for moving the window.

and then use your keyboard to move the window to top, slowing showing you the lower part where you drag your mouse to reset the scale to 1. Remember to click "Apply" for the settings to persist and then click on "Keep this configuration".

You can also hold down the Alt key and then click on any area of the window to move it up until you can see the slider.

This worked on Debian:

1.Click on Activities

2.Search "Tweak Tool"

3.In Tweak Tool search bar, search for "Window scaling", Drag the window till the "-" sign appears and decrease it.

search for windows scaling

Drag the window and decrease scaling value


Workplace switcher stopped working in Ubuntu 16.04 I was using workplace switching for a long time and it suddenly stopped working today.  Even after a fresh install, (some config left over as I preserved my /home folder).

Super + S still raises to show all work-spaces.

Clicking on a task-bar icon representing a window in another work-space no longer switches to that workspace + window.

Ctrl + Alt + ⟵ (any direction) no longer works.

Ctrl + Shift - Alt - ⟵ (any direction) no longer works.

I've verified that those key combos are registering by redundantly re-assigning the shortcut mappings.

Did another search today and found this:
Can't switch workspaces

The advice to go to Compiz ccsm and activate Desktop Wall fixes the problem immediately.

What a relief !

I'm using gnome desktop instead of unity in Ubuntu 16.04 and I had to install Compiz Config Settings Manager and its listed under the Applications menu - System Tools - Preferences. Then in Compiz Config Settings Manager, go to the General Options - Desktop Size tab and set your row settings and it should work immediately.


Why can't Chromium suddenly access any partition except for /home? I just upgraded to Ubuntu 19.10 and to my horror I discovered that the default browser Chromium can no longer access other partitions than /home.

This means that my partitions containing music and videos (/multimedia) for instance are no longer accessible e.g. to upload into Google Drive. This includes USB partitions.

I found another description of this phenomenon here: https://fosspost.org/reviews/distributions/ubuntu-19-10-review where it says

"Also, while we acknowledge that most users will only need to access their home folders, it’s worthy to mention that you no longer can access system files & folders from inside Chromium (You can’t access anything except your home folder). This means that if you are to upload a file or an image for example into the Internet using an uploading website, then this file/image must be in your home folder, as you can not access directories such as /usr, /etc or other directories located in your root partition. In fact, you no longer can access any other partition at all, this includes USB sticks and other booted partitions:"

I wonder why this behaviour been introduced? it violates the whole idea of multiple disks, partitions and symlinks. Btw, this still works for Firefox.

My questions are

Are there any plans to fix this?
I expect one reason for this behaviour is about security. If so, is it possible to explain why and how that makes for better security? The files on other partitions are legitimately accessible by the user anyway e.g. through symlinks. But with this change, I'll have to move them to /home before uploading so still accessing them although more slowly and cumbersome.
If this behaviour is now permanent, the question is how should we incorporate multiple disks in our filesystem?
Alternatively, can someone tell me how to find and install the debian package. I haven't been able to locate it?

This is not a duplicate of What is the classic mode of snap, and why do some snaps not install without it (e.g. MS Visual Studio)? because that is about a specific error during installation that I didn't get. My question is about the access chromium has in Ubuntu 19.10.

Anyway, I solved the problem via the following command by using the original debian package from Google:

sudo apt-get install google-chrome-stable

After that I can now access my other partitions again.
I know this is hacky in the sense that the package isn't native to Ubuntu so I would really like to get some advice on how to incorporate multiple disks and partitions with this new restricted behaviour of Chromium.

Thank you very much

If you do a search back you can see whatever I learnt about it in this thread https://discourse.ubuntu.com/t/call-for-testing-chromium-browser-deb-to-snap-transition/11179/ . I'll also point you to https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1832711 where I filed a bug about issue accessing my NFS shares

where Olivier Tilloy (osomon) states

  If you connect the removable-media plug, you should be able to access
  files and directories mounted under /mnt and /media. That won’t
  resolve your issue with NFS shares seamlessly, but maybe you can mount
  them there?

Looking at that bug report I ran

snap connect chromium:removable-media

then I reported that drag&drop worked like it did before switch to snap.

I didn’t change my mounts as I didn’t want to, but I added a few extra mount entries in /etc/fstab to load the my shares in /mnt/ too for the directories (NFS for me) that I wanted to be able to access in chromium. After that I had no issues.

Please note as this was all done 13-June-2019, my memory is a now little faded… but what I did works for me equally well on my now Ubuntu 20.04.

The problem with chromium not being able to access other partitions than /home can be fixed by

1: Removing it
2: Installing the original debian package:

sudo apt-get install google-chrome-stable


What is the latest version of Ubuntu 14.04 on which fglrx for AMD can be installed? I have an AMD Radeon HD 8730M graphics card. After some online research, I found out that fglrx(proprietary driver from AMD) is not supported on Ubuntu 14.04.5 and Ubuntu 16.04. I have also come to know that Xorg server does not support fglrx from version 1.18 onwards.
I would like to know the latest version of Ubuntu 14.04 (and also the latest kernel version) which I can install and be able to use fglrx driver.
Will fglrx work if I just install Ubuntu 14.04.5 and downgrade Xorg to version 1.16?

When installing from an ISO the latest ISO you can install from and retain fglrx support, is 14.04.4. The 14.04.5 ISO installs with the kernel and Xorg packages from 16.04 that have been backported for hardware enablement.

If you are running a 14.04 installed prior to 14.04.5, and continue installing standard updates, but DO NOT install the lts-xenial HWE stack by hand, then fglrx should continue to work, even though the About information in System Settings and elsewhere, will say that you have 14.04.5.

The important part is to NOT be running the lts-xenial kernel and xorg packages, to get fglrx to work.

debian jessie its the best alternative downlad full cd sets and aditionaly find the live cd to start with it the instaler its more like the one of ubuntu
the normal cd set forces u to use the network connection if you are debian newbie dont expect to find the easy menus or aditonal ubuntu software like menu bars. preferable instal live cd then add local cds and use the cd sets
install xfce or kde and then install fglrx dont use gnomeshell unless you know how to enable it for fglrx.

Otherwise find repositories for 14.04.4  and download the full stack and set them as a local repositories meanwhile try change the distro name to something like fglrxUbuntu or something and upload the full repositorie to your server and share it with a webpage to find it online call for help for the name and visuals and the people will came any problems check the forums its more easy than creating linux mint or cinamon
cause everiting was already done it only needs its own name and space

I am also in the same boat as all of you. I was happy with a a full working setup until i lost my drive and now Im strugling with getting everithing to work back again. Also dont fall for 16.04 or highers versions I already tried them and there are only fake hopes. They dont met (feet to) our hardware, we are stuck so hope up its more ease to have a personal repository for backup the drivers published in amd web page are good i tried them in my system and work great with amd radeon hd6250


Reducing the size of udev filesystem I have this line in the output of df -h:

udev             16G  4.0K   16G   1% /dev

What is this thing doing? Do I need it, and if not, how can I reduce the size of it?

As far as I know, this never existed at least in Lucid.

Udev handles devices in the new Ubuntu and it very much needed, check out this link for information on it's use: http://manpages.ubuntu.com/manpages/karmic/en/man7/udev.7.html


Ubuntu 20.04: Why does turning off "wi-fi can be turned off to save power" turn my wi-fi off? The following item in Power...Settings... states:

Wi-Fi can be turned off to save power

You can see that the option is currently turned on.  That should mean that the system is allowed to turn off the Wi-Fi to save power.
However, when I turn off that option, my Wi-Fi is disabled (turned off).
I'm attempting to tell the system that it is not allowed to turn off Wi-Fi to save power.
However, when I turn off the option it actually turns off the Wi-Fi.
It's seems that this item is not described properly in the Power....Settings...
Note: This option was the same under Ubuntu 18.04 also.

That's not what it means. Turning that off turns the WI-FI off, not the computer's ability to turn Wi-Fi off. It has the "turning Wi-Fi off can save power" subtitle to tell you why you might want to turn Wi-Fi off. Just leave it on if you want Wi-Fi, or off if you don't.

For those of you actually trying to do what the feature says, e.g. Disable Power-save for Wi-Fi, you have to... use a text editor.
Edit your /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
and change wifi.powersave = 3 to wifi.powersave = 2
Now that the solution is out of the way, let's dwell on the embarrassment to the English language.  Wi-Fi can be turned off = Wi-Fi WILL be turned off to save power.  Really? Can = WILL?


Cinnamon broke Unity and KDE on Ubuntu 13.10 Something after installing Cinnamon has screwed up my ability to use Unity and KDE on Ubuntu 13.10. When I try to log in to either I get an error that dbus could not start. Any ideas what has happened?  When I try to log in to KDE I get: "Could not start D-Bus. Can you call qbus?"

Try removing Cinnamon from start up:

sudo rm -f /usr/share/upstart/sessions/cinnamon-se*

More info: http://itsfoss.com/quickly-fix-broken-unity-installing-cinnamon-20-ubuntu-1310/

try installing qdbus

sudo apt-get install qdbus


Vi - Insert mode doesn't work in ubuntu 12.10 I am working on ubuntu 12.10, and my insert mode in vi isn't working.

When I hit i to go insert mode, nothing happens. On hitting i again writes i on terminal, but <-backspace doesn't remove the character. Only Delete works there.
Do I need to configure anywhere?

Installing VIM will probably solve that issue

sudo aptitude install vim

it actually has to work though, it might be that compatibility mode is on therefore you will be in the insert mode but VI won't tell you.

Either way using vim is recommended, its basically V i  IM proved.

@ terminal type vi  hit enter, after that first press escape(ESC) key than press i now you can write into file . i think before you have not use vim and in starting press ESC key for prepare to write any data into file and CTRL+S to save it.

for closing file again hit ESC than SHIFT+; than wq and enter to close the file.


Upgrading MythTV from 0.25 to 0.27 fails I'm using ubuntu 12.10.  I installed MythTV from the software center which installed 0.25. That version is no longer supported so I opted to install 0.27 using the following commands:

sudo add-apt-repository ppa:mythbuntu/0.27
sudo apt-get update
sudo apt-get install mythtv

Install result:

mythtv is already the newest version.
The following packages were automatically installed and are no longer required:
  apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5
  libctemplate2 libzip2 mysql-utilities php-mythtv php5 php5-cli php5-common
  php5-mysql python-mysql.connector python-pysqlite2
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

My MythTV version is still 0.25.

I have tried deleting MySQL and MythTV several times and reinstalling MythTV again using the above code but cannot get 0.27 to install. Synaptic Package Manager doesn't show any upgrades for MythTV. What the heck is going on? How can I upgrade MythTV?

I use the Mythbuntu PPA to keep mine updated.

sudo add-apt-repository ppa:mythbuntu/0.27
sudo apt-get update
sudo apt-get install mythtv

Find info on the Mythbuntu PPA at Launchpad.

Edit:

If the Mythbuntu PPA is not appearing in Synaptic or Software Sources, check your /etc/apt/sources.list file. It should contain the following entries:

deb http://ppa.launchpad.net/mythbuntu/0.27/ubuntu precise main  <-- Binary
deb-src http://ppa.launchpad.net/mythbuntu/0.27/ubuntu precise main  <--Source

Or add them through Software Sources by adding the PPA manually using the PPA URI's as above, one entry each for the Binary and Source, with precise being the Distribution and main being the Components field entries.

Then run

sudo apt-get update

And if you want to install the MythTV server (backend):

sudo apt-get install mythtv-backend-master

or

sudo apt-get install mythtv-frontend

for the MythTV fronted client.


Why is this empty directory displaying as being over three megabytes in size? I have an Ubuntu web server running version 12.10, hosted on Digital Ocean.

When I access it using gFTP, one of the directories is listed as being over 3MB in size:

However, the directory is empty. I've tried showing hidden files and I don't see any.

Why is this folder reading as having three and a half megs of data if I can't see any files in it?

The dot file, like every directory, contains a list of names for the files in this directory and their inode numbers. So if you once had lots of files in that directory (not unlikely for a "tmp" directory) that would have made the directory entry grow to this size.

After the files are gone, the file system doesn't automatically shrink the directory file again.

You can experiment with this yourself by making a new empty directory, do ls -la in it to see the initial size (4096 on my machine) then touching a lot of files, which will make the directory size grow.

(Yes I know that I'm glossing over/being inaccurate about a lot of details here. But the OP didn't ask for a full explanation of how EXT* file systems work.)

Probably because you are not the root user and not in the root group...
Ask the sysadmin of the ftp site to check (as root) on this directory. Or am I missing something else here?


Backlight issues with Asus X551MAV-EB01-B I've got a fresh install of trusty (xubuntu if that matters, I don't think it should) on a Asus X551MAV-EB01-B.  My function keys for brightness don't work. Here's what I know so far:

If I pass acpi_osi= or acpi_osi=! to grub I can get the brightness and wifi keys to work (I know this because I can see the OSD for brightness change), BUT:

in /sys/class/backlight I have two items:

acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0
intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

With cat I can see the brightness keys are adjusting acpi_video0/brightness and not intel_backlight/brightness.

I've also tried passng acpi_backlight=vendor to grub, and if I do that, then I end up with this :

asus-nb-wmi -> ../../devices/platform/asus-nb-wmi/backlight/asus-nb-wmi/
intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight

acpi_backlight=vendor also stops the brightness keys from responding at all.

For now, I've set up an echo in /etc/rc.local to change the brightness a few seconds after lightdm starts... but where do I go from here?

I've been using this (self-made) script for quite some time on my NVidia card and works fine. If @TheSchwa's solution doesn't work try this.

Install the script:

Open a Terminal
Type: sudo apt-get install -y inotify-tools and press Enter
Type: sudo nano /usr/local/bin/backlight-sync and press Enter
Copy the script from this page (has been adopted for your intel card already)
Paste it into the Terminal window using Ctrl+Shift+V
Press: Ctrl+X
Press: y
Press: Enter
Type: sudo chmod a+x /usr/local/bin/backlight-sync and press Enter

Test the script:

In the Terminal type sudo backlight-sync and press Enter
Change your screen brightness at least once to see if its working
Press Ctrl+C to quit

Enable the script during boot:

In the Terminal type: sudo nano /etc/rc.local and press Enter
Use the arrow keys to navigate above the line that says exit 0
Type: /usr/local/bin/backlight-sync &
Press: Ctrl+X
Press: y
Press: Enter
Close the Terminal window


Convert a directory of JPEG files to a single PDF document I have many JPEG files in a directory, and I want to convert them to PDF and concatenate them together to make a single document.

How can this be done?

I would prefer using the command line, as this process will be faster.

From the imagemagick package, use the convert command:
convert *.jpg -auto-orient pictures.pdf

You will get a single pdf containing all jpg in the current folder.
The option -auto-orient reads the image's EXIF data to rotate the image.
Install IM with:
sudo apt-get install imagemagick

sources: stackoverflow
imagemagick options
Edit: Note that images will be out of specific order if they are not numbered. if you have 10 or more you need to name them ending filename01.jpg...filename99.jpg etc. The leading zeros are required for proper ordering. If you have 100 or more 001...999.

Although convert does the job, it tries to open all the source files together and if you have a lot of files and do not have a huge amount of RAM you can run out it.
So as an alternative you can run the following commands in a terminal while being in the folder where the jpg files are.
ls *.jpg | xargs -I% img2pdf -o %.pdf %

This converts each image to a single page pdf, one by one, without overloading the system. Then:
pdfunite *.pdf output.pdf && rm *.jpg.pdf

This merges the pdfs into a single pdf and deletes the single page ones.


How can I update vim to a newer version than 11.04's repo version (7.3.35) Ubuntu 11.04 comes with vim 7.3.35 in the repos, and this version has a bug which is preventing me from using the Command-T plugin (the bug is http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614336) which was apparently fixed in 7.3.154.

How can I update my local vim to at least this version? Do I have to completely uninstall and build from source or is there a PPA out there somewhere I can't find?

Similarly, can't find a more up-to-date PPA on Launchpad.  The 11.10 repositories have yet to be updated with a more recent version than in Natty.

You could uninstall VIM and compile the most recent source as per this AU answer: Where can I find Vim 7.3?

Alternatively you could try the Debian unstable packages here: http://packages.debian.org/sid/vim

I've blogged about this... It took me couple of hours so you may want to check it out blog entrie

Kresimir Bojcic

www.kresimirbojcic.com


I cannot find anything in LibreOffice help I have packages libreoffice-help-en-gb and libreoffice-help-en-us installed.

LibreOffice 3.4.4
OOO340m1 (Build:402)

pre-installed on Ubuntu Oneiric

Here is the screen shot.

Error message: No topics found

I think it related to JRE because I run a live cd ubuntu and found that it showed a message saying that "this feature requires Java Runtime Environment", but I have JRE 6 installed on my current distribution (not the live cd version) , or maybe it needs JRE 7?

Try using the "Index" tab.

On the other hand, I cannot find anything as well. Maybe you should file it as a bug upstream: http://wiki.documentfoundation.org/BugReport

I had the same problem (12.04)

Used the Software Centere to install: libreoffice-java-common

That fixed it for me.


Firefox not kept up to date I am amazed this never happened for so long but I noticed that Firefox is no longer being upgraded on my Ubuntu 14.04 LTS so I am stuck on version 36.

Apparently somehow linked to the flash player being outdated. A warning came up and I discovered the problem with Firefox.

Anyone knows how to update manually and why this happens?

UPDATE: 3 days later

Dear all,

thanks for your helpful answers!
However, surprisingly, 1 hr after having posted my question and NOT HAVING CHANGED anything on the system yet the update came up automatically!

Completely weird, isn't it?
Apparently nothing happens for at least 2 - 3 months and, then, just when starting to investigate on it the update comes more or less instantly.

Does this appear logic or normal to you?
Or could that be a hint to malware or something comparable controlling my computer? Something known about such threats?

Thanks again to all of you!

You probably have a hold on the package.  You can release it with

sudo apt-mark unhold firefox

Sorry to post as an answer instead of comment, but for some I only have enough rep for answers (seems backwards?)

A temporary solution:
download the .deb file directly from here. just choose your architecture flavor and then you can install:
sudo dpkg -i firefox_39*.deb

You can use another repository
sudo add-apt-repository ppa:ubuntu-mozilla-security/ppa
sudo apt-get update
sudo apt-get install firefox

As added information you can install new version manually:
Download (now it's version 39)
Download the release from: https://www.mozilla.org/en-US/firefox/channel/#firefox
Extract:
cd ~/Downloads
tar xvf firefox-39.0.tar.bz2

Move to /opt
sudo cp firefox39/ /opt

Make Links:
sudo cp /usr/bin/firefox /usr/bin/firefox_old

sudo ln -s /opt/firefox39/firefox /usr/bin/firefox

And that's. Enjoy


Windows SMB shares no longer accessible in Ubuntu 19.04 Upon returning from a recent trip, my Ubuntu 19.04 autofs no longer mounts the cifs Windows 10 shares. When I click the Windows 10 machine in Nautilus under Other Locations, I get the error, Unable to access location, Failed to retrieve share list from server, Network dropped connection on reset. Does this have to do with SMB v1 and some Windows update? On my android phone, the file manager could also no longer connect to the Windows 10 machine, but after I installed an SMB v2 add-on, the phone can now connect to it. In my Ubuntu smb.conf file, I added min protocol = SMB2, but that did not fix it. Is there a way to get my autofs to mount the cifs shares again? I prefer to not go the fstab route, rather I want to keep using autofs if possible.

This seemed to fix it. To smb.conf, I added min protocol = SMB2, max protocol = SMB3, client min protocol = SMB2, and client max protocol = SMB3. Then in terminal, did service smbd restart && service winbind restart.

Solution that was helpfull to me was to activated SMB V1.0 Client and Server on windows. see attached file.


How to access GRUB 2 in a computer with only Ubuntu? I want to start the Recovery mode on an Ubuntu-only machine. The problem is that machine seems to skip grub and boot directly into ubuntu (as it is the only OS installed.

How can I boot into the recovery mode (whether it is through GRUB or not)

According to this, holding the Shift key while booting should bring up the GRUB menu. If the Shift doesn't work, repeatedly pressing the Esc may work.

I once, not in the purpose of getting into grub (actually I was measuring the time it takes for Ubuntu to boot), did this and successfully accessed grub menu:
Boot up your computer by pressing the power key
While it's booting, long press on the power key to turn it off (I am not sure if it is a very safe way to get into grub)
Turn it on again with the power key, and...
Voila! Here you are at the grub menu.
;) You're welcome!


How can I run f-droid apps on ubuntu? Is there a lightweight, opensource solution, which integrates well with gnome to run f-droid apps on the Ubuntu Desktop?

As answered you can use F-Droid on Android, so I assume you are looking for an android emulator.
You can try https://www.android-x86.org/ in a virtual machine and install f-droid on there. Other Emulators are pretty buggy, which is why I would like you to try this.

At a terminal window, run sudo apt update && sudo apt-get install fdroidserver as per
https://fdroid.org/en/docs/Installing_the_Server_and_Repo_Tools/#debianubuntumintetc


When will Firefox 55 be in the repos? So I'd like to have FF55. When will it be in the auto updater?

Moslty I'd like to know the process to update FireFox in the repos. Where can I follow this process?
I'd like to know, especially with the big FF57 upcoming on the horizon.

Quoting mikewhatever (emphasis mine):

  Packages are tested before they get uploaded to the repositories. With FF, there is usually a gap of a few days, or more if there are problems. So, after the testing is done, and a package is deemed stable, it is then uploaded. Ubuntu has two PPAs for Firefox testing: mozilla-security and firefox-next.

For more detailed information, you can compare the release dates of past Firefox versions on Wikipedia with the build dates of the firefox package in Launchpad. For example, in the current Ubuntu LTS (xenial), these are the dates corresponding to the last few Firefox versions:

Version | Release    | Launchpad build
--------+------------+----------------
56.0    | 2017-09-28 | 2017-10-04
55.0.2  | 2017-08-16 | 2017-10-02
54.0    | 2017-06-13 | 2017-08-15
53.0    | 2017-04-19 | 2017-05-11
52.0.2  | 2017-03-28 | 2017-04-20

(Note: I don't claim to know how this process unfolds, nor that these numbers are the most relevant ones; I'm merely collecting data points I was able to locate, hoping they can help others make an informed guess).

FF55 will be included in 17.04 but it is up to the Mozilla team when this happens (Or maybe it will be 56, 57, 58, 59 or 60. Depending how quick Mozilla releases the next version ;) )

Why the need to update it from the repositories? You can download and install it from the official website. Unpack it in /opt/, start firefox from /opt/, lock it to the launcher and you use the latest version.

This took me literally seconds to do:


DPKG error while installation bcmwl-kernel-source on ubuntu 16.04 I was purging bcmwl-kernel-source, but during the process Iinterrupted it by mistake. Now when I am trying to install it again using sudo apt-get install bcmwl-kernel-source I get the following error

0 upgraded, 0 newly installed, 0 to remove and 393 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bcmwl-kernel-source (6.30.223.271+bdcom-0ubuntu1~1.2) ...
Removing old bcmwl-6.30.223.271+bdcom DKMS files...
Loading new bcmwl-6.30.223.271+bdcom DKMS files...
Error! DKMS tree already contains: bcmwl-6.30.223.271+bdcom
You cannot add the same module/version combo more than once.
dpkg: error processing package bcmwl-kernel-source (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 bcmwl-kernel-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

If anyone is still facing this issue using Ubuntu 20.04, try the following:
apt purge bcmwl-kernel-source
apt-get install broadcom-sta-source
apt-get install broadcom-sta-dkms
apt-get install broadcom-sta-common

Thanks to Rafael Santos (rafae-s)  from the link below
https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/1878045

For anyone facing this issue on 20.04
This issue is caused when attempting to manually install "bcmwl-kernel-source" or using "Additional Drivers".
Just run this command
sudo apt-get remove --purge bcmwl-kernel-source


18.04 - DNS is not working using Wi-Fi I installed Ubuntu 18.04 since almost 1 month and I'm experiencing following problems since always.

All my packages are updated, currently on 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux.

Airplane mode on start

The first "problem" is that every time the PC starts, the "Airplane mode" is active and therefore Wi-Fi is switched off. Then I have to switch it on manually to let it connect. I also noticed in Settings->Power that I must keep Wi-Fi setting to ON because as soon as I set it to OFF, airplane mode is activated. But actually its description says Turn off Wi-Fi to save power and since I don't want to turn Wi-Fi off to save power, I thought I had to switch it OFF, but then I can't use Wi-Fi at all.

DNS is not working using Wi-Fi

While the first problem is not so serious, this one is really annoying. Basically DNS doesn't work at all when I'm connected through Wi-Fi and therefore I can't resolve any hostname. No problems using ethernet connection. So I tried to configure DNS manually on Wi-Fi connection settings, but still it's unable to resolve any hostname. The only thing that works is adding new nameserver directives to /etc/resolv.conf. However they are removed each time the computer is restarted.

I know that version 18.04 is still beta, but it should be released tomorrow 26.04.2018 as stated on ubuntu wiki and for me it doesn't seem really ready.

Does anybody have a solution at least for DNS problem?

This is a temporary DNS fix if you have DNS issues

sudo echo nameserver 8.8.8.8 > /etc/resolv.conf

What does "sudo echo nameserver 8.8.8.8 > /etc/resolv.conf" do?


How to enable AMD graphics card I have a laptop.
It has Intel HD and AMD card
How to enable AMD card on linux (Kubuntu)
So that I can game on it

I think apt-get update && apt-get upgrade is enough for installing AMD drivers as well as updating AMD graphics drivers.

If that is not sufficient to fixed it, then search in the Additional Drivers section, accessible from the Unity dash or from Settings.


How do I customize the Ubuntu LiveCD? Possible Duplicate:
  How to customize live Ubuntu CD?

I want to customize Ubuntu 10.04, below is the list of things which I want to do:

Install applications that I want.
Change OpenOffice version, Evolution and Firefox version.

How do I do that?

Here are pre-existing questions/answers on the site.

Using a PPA to install a version of a program other than the version in the Softeware Centre

How to install software in Ubuntu

I just use remastersys.  It just works.
Go here for tips on how to use it http://www.psychocats.net/ubuntu/remastersys
Add deb http://www.geekconnection.org/remastersys/repository karmic/
to your sources
Yes, the karmic part is fine, as its for grub2 based ubuntu


Ubuntu 14.04 Installation Issues I just bought 3 computers that a guy from craigslist put together for me. In each computer he put an 80Gb HDD. They are all completely empty/wiped. So I am trying to install Ubuntu 14.04 from a USB. I have done this to at least 10 other computers, 5 of which I still have. All of the computers had a previous OS though. When I try to install on these new 3 I get to installation type and the list is empty. Not even the "freespace" that i see in so many other peoples posts. I have tried the "Try Ubuntu" option and used the disk utility to format for Ext4 and then mounted it by pushing the "play" button. It show up in GParted but not "install type" when I go to install.The "partition table" button is ghosted out so I can't click it. I have read about RAID Metadata of which I have never heard of beforehand so I have decided to all zero format the HDD and see if that works. Otherwise what else can I do?

Zero format usual fixes corrupted drives; did you tried the simple automated install option?

Did you used the latest 14 buid?
Ubuntu 14.04.4 LTS is a fairly recent build and has updated drivers; maybe that helps

From what I understand, you were able to access the partition able.
There's is something under the device column which starts from /dev but I assumed it's /dev/sda, since its the only disk from your computer. First, you need to create partition table from the disk for you to install the OS.

You can refer here for basic partition schemes.

Hope it helps.


How do i view .exe files code? How do I view the code behind an .exe program on Linux? I want to see the programs code because I want to see how it works. I am just learning coding, so I thought the program would be cool to look at!

If you want to see the source for Linux executables, install the apt-src package (sudo apt-get install apt-src), and read man apt-src. Then you can use apt-src to get the source for ANY Ubuntu package.

You cant, .exe are executable binaries for windows, there's no code, just machine instructions.
If you use Linux or Mac you can easily find the raw sources in the temp src folder of your package manager (brew, yum, apt-get...), Unix systems downloads the sources and (sometimes) builds it on your own machine


What are the easy ways to install Ubuntu remotely? A GUI (graphical user interface) method is preferred. For example, can the new remote login feature be used for the purpose if the remote person has a Ubuntu live CD and know how to boot it?

The built-in remote login feature in question has been described in Ubuntu 12.10 Login Screen Adds Remote Desktop Access. Remmina maybe?

Best way to remote login on a Ubuntu machine from ubuntu/windows and OSX

This is very simple to do, I do it all the time. First you need to boot into some kind of environment.

Boot the system "somehow." Here is a older document on bootp. You could also use a live CD and choose "try Ubuntu" to get a running Linux. I recomend the Alternate install cd for this.
Next setup your disks with fdisk or whatever you like (again your on ssh when you do this).
Get debbootstrap sudo apt-get install debootstrap && sudo apt-get install build-essential
Bootstrap the box debootstrap --arch i386 percise /mnt/new_disk http://archive.ubuntu.com/ubuntu
Get into the system and make it actually work chroot /mnt/new_disk /bin/bash
Next make your interfaces, fstab, etc.
Install a Kernel
Fix sudoers
Reboot and pray. (Don't forget to make the partition bootable)

With a little work you can make a script to do all this for you, and have a rapid deployment setup that is really quite handy. Here is a guide that should help get you going.

install Ubuntu locally with all the bells and whistles
ask your friend to issue:

nc -l 12345 | dd of=/dev/sda

note: port 12345 should be open in the router

you boot live ubuntu
issue:

dd if=/dev/sda | nc fiends_IP 12345

adjust sda with your cases

Depending on disk size and the speed of the connection it will take a while.

You can pipe to tar -xzpsf - to compress the flow


Desktop icons keep rearranging whenever I refresh the desktop or boot the system Desktop icons keep rearranging whenever I refresh the desktop or boot the system.
When I arrange the icons by moving them with the mouse and refresh it, it'd be undone and rearranged by name. What's the solution?
I use Ubuntu 16.04.
I think this is a bug. How should I report it?

Open a terminal and enter the following commands:

cd ~/.local/share/gvfs-metadata
sudo chown $USER home
chmod 755 home

This allows your desktop software to change/save the icon configuration.
(Thanks to the community for correcting spelling and syntax errors.)

EDIT (August 30th, 2017):
Before trying the solution below and if the other answers didn't work, try this:

  $ sudo chown -R (UserName) /home/(UserName)/.local/

For some reason, I have had this issue again after updating Ubuntu 17.04, so I've considered and tried the other answers and they actually didn't work (not because they forgot the "." in "~/.local/..."(again, I'm using 17.04) but because changing the mode and ownership of "./local/share/gvfs-metadata/home" didn't work, most likely it wasn't the right file.) I put this here instead of editing their answer because it may be different on the earlier versions of Ubuntu, and unfortunately, I am not yet allowed to comment. I have decided to chown and chmod all of the "~/.config" directory to no avail, then, after considering the other answers and comments, I tried to chown and chmod the whole "~/.local" directory, testing the result after each step, and I noticed it worked immediately just as I chowned it. No chmod necessary. It could just be my weird setup, but try it anyway because if it works, you're not weakening your security or altering your whole home directory, and it'll fix whatever other configuration files are needed by the desktop client, if any. I hope this helps.==END OF EDIT.==

I did this,

$ sudo chown -R (UserName) /home/(UserName)
$ sudo chmod -R 766 /home/(UserName)

The first command ensures that the mentioned username (in this case, you) owns all the files in the /home/(UserName) directory.The second command ensures you, the owner, have full permissions (read, write, execute) on those files, and everyone else has read and write, which allows the desktop program to write to the configuration file. It doesn't have to be 777, or 766 (read the edit at the bottom). It can be 666 if you want it that way, 766 just gives you execute permissions, just to make sure the configuration files can be overwritten and read.

The reason this works is because the desktop program runs as whatever user you log in as, not root. If that user doesn't own the configuration files or have write access to them, then every time you refresh the desktop or reboot, because the old files couldn't be overwritten, it reloads the old configuration (like the desktop settings, location of the desktop icons, etc.). By running these commands, you give yourself ownership and complete control over those files, and because the desktop program runs as your user, it will also be able to overwrite, do what it needs to do with those files.

Also these commands gives the user's home directory (/home/(UserName)) and all the subdirectories write/create privileges also, enabling the user and the desktop program to create those files should they not exist. If those files don't exist and aren't created, the desktop program will generate a new layout every time it is refreshed or restarted. These commands should ensure you full access to all the subdirectories and the desktop program should now be able to create these files and save your layout.

Edit: When you use the chmod command, you don't have to make them world readable/writable/executable (777), infact, you really shouldn't unless you have to, especially if you have a multi-user machine. It was my mistake for originally suggesting 777, and therefore, I have edited my answer to read 766, not 777. You can use whatever you wish, but you only need to ensure you can write to and read any and all of your configuration files needed for the desktop program and any other software to work.

Something to remember... Security and convenience (or functionality) usually don't mix.


I can't log in after I inserted some variables in my environment file I installed 12.04. Yesterday I tried installing tomcat server and java. There was some errors in that installation and when I tried to open my system after some time I couldn't login. At that time I found its in loop. When I used terminal using ctrl+alt+f1. I can login there, and after login there shows one error which I incurred while installing java.

it shows like in 31 line.

Syntax error near unexpected token '('

and also in line

export JAVA_HOME=/media/F25ACC3E5ACBFCFB/Program Files (x86)/Java

Login via Ctrl+Alt+F1.
Run this command:

nano "$(grep -l 'export JAVA_HOME=/media/F25ACC3E5ACBFCFB/Program Files (x86)/Java' ~/* 2>/dev/null | head -n1 | tr -d '\n')"

Delete this line (should be at or near line 31):

export JAVA_HOME=/media/F25ACC3E5ACBFCFB/Program Files (x86)/Java

Save and exit with Ctrl+X, Y, Enter.
Login should now work.

For how to install Java correctly, see How do I install Java?.

Try ctrl+alt+F1 To open terminal and run this command:

rm- rf .gnome .gnome2 .gncof .gconfd .metacity

This will reset some gnome settings and login should work. Let me know if it works.


12.04 too slow (Asus 1215b) I have recently installed Ubuntu 12.04 on my Asus 1215B (on formatted hdd) and it seems to work even more slowly than win7. Htop says that system load is low and after some updates compiz now won't eating 50% CPU time. Even in 2d system is slow -why? (ATI drivers don't installed - because ubuntu is starting to die under them)

Why don't you do a fresh install and then install open source AMD drivers, plus if you are low on ram, try to use lower RAM consuming DE like LXDE, or even wmii if learning curve is not steep for you.In addition close unnecessary services running and even check the startup application. I think that should help you.

I have the same model and everything works perfectly including suspend. I installed amd rivers via command line as jockey gives errors.


Unable to mount Kindle on Ubuntu 14.04 Upon connecting my kindle, nautilus opens up for just a second and then flashes a message saying that kindle is unavailable. Then there are a host of messages on dmesg about device not accepting set address.

Here is the excerpt from my /var/log/syslog

Oct 24 21:23:30 ideapad kernel: [   74.381463] usb 1-1.3: new high-speed USB device number 6 using ehci-pci
Oct 24 21:23:30 ideapad kernel: [   74.486518] usb 1-1.3: New USB device found, idVendor=1949, idProduct=0004
Oct 24 21:23:30 ideapad kernel: [   74.486523] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 24 21:23:30 ideapad kernel: [   74.486526] usb 1-1.3: Product: Amazon Kindle
Oct 24 21:23:30 ideapad kernel: [   74.486528] usb 1-1.3: Manufacturer: Amazon
Oct 24 21:23:30 ideapad kernel: [   74.486530] usb 1-1.3: SerialNumber: B00F260714741NTS
Oct 24 21:23:30 ideapad mtp-probe: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.3"
Oct 24 21:23:30 ideapad mtp-probe: bus: 1, device: 6 was not an MTP device
Oct 24 21:23:30 ideapad kernel: [   74.521970] usb-storage 1-1.3:1.0: USB Mass Storage device detected
Oct 24 21:23:30 ideapad kernel: [   74.522030] scsi2 : usb-storage 1-1.3:1.0
Oct 24 21:23:30 ideapad kernel: [   74.522101] usbcore: registered new interface driver usb-storage
Oct 24 21:23:31 ideapad kernel: [   75.523700] scsi 2:0:0:0: Direct-Access     Kindle   Internal Storage 0100 PQ: 0 ANSI: 2
Oct 24 21:23:31 ideapad kernel: [   75.523969] sd 2:0:0:0: Attached scsi generic sg2 type 0
Oct 24 21:23:31 ideapad kernel: [   75.533767] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Oct 24 21:23:33 ideapad kernel: [   77.776542] sd 2:0:0:0: [sdb] 6754304 512-byte logical blocks: (3.45 GB/3.22 GiB)
Oct 24 21:23:33 ideapad kernel: [   77.990710] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 24 21:23:33 ideapad kernel: [   78.211689]  sdb: sdb1
Oct 24 21:23:34 ideapad kernel: [   78.984869] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Oct 24 21:23:34 ideapad udisksd[2782]: Mounted /dev/sdb1 at /media/anuvrat/Kindle on behalf of uid 1000
Oct 24 21:23:34 ideapad dbus[1155]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
Oct 24 21:23:34 ideapad kernel: [   79.084417] systemd-hostnamed[3165]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
Oct 24 21:23:34 ideapad dbus[1155]: [system] Successfully activated service 'org.freedesktop.hostname1'
Oct 24 21:23:39 ideapad kernel: [   83.393011] usb 1-1.3: USB disconnect, device number 6
Oct 24 21:23:39 ideapad kernel: [   83.395618] sd 2:0:0:0: [sdb] Synchronizing SCSI cache
Oct 24 21:23:39 ideapad kernel: [   83.395661] sd 2:0:0:0: [sdb]
Oct 24 21:23:39 ideapad kernel: [   83.395664] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Oct 24 21:23:39 ideapad udisksd[2782]: Cleaning up mount point /media/anuvrat/Kindle (device 8:17 no longer exist)
Oct 24 21:23:39 ideapad kernel: [   83.593023] usb 1-1.3: new high-speed USB device number 7 using ehci-pci
Oct 24 21:23:39 ideapad kernel: [   83.848936] usb 1-1.3: new high-speed USB device number 8 using ehci-pci
Oct 24 21:23:40 ideapad kernel: [   84.612888] usb 1-1.3: new high-speed USB device number 11 using ehci-pci
Oct 24 21:23:40 ideapad kernel: [   84.868872] usb 1-1.3: new high-speed USB device number 12 using ehci-pci
Oct 24 21:23:41 ideapad kernel: [   85.636833] usb 1-1.3: new high-speed USB device number 15 using ehci-pci
Oct 24 21:23:41 ideapad kernel: [   86.148801] usb 1-1.3: new high-speed USB device number 17 using ehci-pci

PS: I am facing similar issues with my nexus5 and an EVDO data card.

update #01: mtpfs is already installed.

update #02: It doesn't work on Lenovo S510 running ubuntu 14.04 but works on Lenovo Z50.

I had the same problem and it turned out that I used a charge-only USB cable (Stupid me!). Worth mentioning, though, I guess...

I had something similar. When I connect my Kindle paper-white I get a message:

unable to mount

I click OK & it goes. But then I click on the folder thing in list of icons on the left of the desktop & navigate to the Kindle, I can see & access all the files there. So it has mounted! I have Ubuntu 14.04 on my Comp.

Have fun.

d0m.