Looks like it's already reported and discussed at launchpad:
https://bugs.launchpad.net/ubuntu/+source/lxpanel/+bug/769644

Vedran Rodic (vrodic) wrote on 2013-09-04:
This has been fixed very recently in current lxpanel git: http://lxde.git.sourceforge.net/git/gitweb.cgi?p=lxde/lxpanel;a=commit;h=0f83fb71915fd7c87a999ebe83e41b2d033e4340
Hopefully we'll have this soon in ubuntu.


"You are missing the following 32-bit libraries, and Steam may not run: libc.so.6" The common fixes don't work,

Can you try this command:

sudo dpkg --add-architecture i386

then retry these commands:

sudo apt-get update
sudo apt-get install ia32-libs
sudo apt-get upgrade

Also, you can try

sudo apt-get install libc-bin:i386


Keyboard shortcut for launching application from dock in Ubuntu 18

Simply press and hold Super+Q. You should see numbers appearing next to the application icons. Then release Q and press the number associated to your target application to launch it.

You can alternatively press Super+number directly to launch the application without pressing Super+Q first.

Notes:

If pressing Super+Q fails to show the numbers, run the following command first.

gsettings set org.gnome.shell.extensions.dash-to-dock hot-keys false

This shortcut only works with the keyboard’s top row number keys, not those of the numpad. You can install a GNOME shell extension called AppKeys to make it work with the numpad too.


I managed to get some signs of life on the setup I had in my question and after playing with the resolutions (setting to a lower resolution seemed to help).  I'm not sure the resolutions are mapped properly, but at least I'm getting an image.


How are services started in Ubuntu 14.04, Upstart, SysV or a combination of both?

Ubuntu 14.04 uses Upstart only, but Upstart runs SysV init scripts, too. See /etc/init/rc*.conf for the Upstart jobs that are responsible for this.

A lot of Ubuntu packages still use SysV init scripts to minimize the differences to Debian.


Try to install libxerces2-java:

sudo apt-get install libxerces2-java

To actually find the right package, try using the powerful http://packages.ubuntu.com using the query on package content:

http://packages.ubuntu.com/search?searchon=contents&keywords=xerces+jar&mode=filename&suite=saucy&arch=any


Enter this in the terminal:

gsettings set com.canonical.indicator.session user-show-menu false

And then reboot the machine. (In the other thread they suggest to use unity --replace & but it's always better to reboot).

Source: askubuntu.com


^PgUp, ^PgDn, ^End, do not work, in Groovy

Found it. I had installed QRedshift without looking at its shortcuts. Turns out that by default that applet seizes the keystrokes in question.


i am unable to run gimp on Ubuntu 16.04 lts,how can i solve this?

You need to run sudo apt-get upgrade to upgrade all packages coming from the newly set up PPA.


Can't boot Ubuntu 16.04 Grub/HD mount problem?

The failure reading sector message suggests that your hard disk may be failing. You can check the disk's SMART data, as described here or here, to cite just a couple of references. Note, however, that SMART data can be difficult to interpret, and SMART doesn't always detect failing disks, so even if the results look OK, the disk could be failing.

If I'm right, the only solution is to buy a new disk and transfer as much of your data as you can to it. Although failing disks can sometimes remain usable for long periods by using various utilities to make the OS ignore the bad sectors, this is a risky proposition. Failing disks often continue to deteriorate, and in an unpredictable way -- you might lose no new sectors today, fifty more tomorrow, two more the day after that, a thousand more on the third day, none more for another two weeks, and then the disk will become completely unresponsive one day.

Another possibility is some other hardware failure, like a bad cable. This is a much less expensive fix, but if the disk is consistently failing to read a specific sector, a bad cable is an unlikely cause.


I Recommend you Try Speeding Up Your Unity Interface by following these steps that i have posted in another thread:

To Speed Up Unity Follow Here:

Open A Terminal Window (CTRL T) Or Search Terminal In Unity
Type In The Following:

sudo apt-get install compizconfig-settings-manager
Close Your Terminal
Goto Unity Search And Type In:

Compiz
Click Compiz
First Click Opengl Plugin
Take A Screenshot Before You Do Any Changes!!!
Change The Following

Uncheck Sync To VBlank And Change the Dash Blur To No Blur

Then See if This Made Unity A bit Faster!
If it made unity faster and you are satisfied, Close Compiz

if Not you can try a couple other tweaks

Click back At The Bottom Then Click Composite
Take Another Screenshot
Then Uncheck The Option Detect Refresh Rate
Then Click Back And Go Into Unity
Take Another Screenshot
Then Change The Following Option

Change: Dash Blur To No Blur

Then Close Compiz

If there was an issue during your installation or you have problems with Unity or anything, Use the screenshots you took to restore your Settings.

Enjoy!

MY Thread were its originally posted:https://askubuntu.com/questions/385005/how-to-speed-up-the-whole-unity-interface

Tell me if this worked for you!


From the bash man page:

  There is no mechanism for using arguments in the replacement text.  If arguments are needed, a shell function should be used.

Try something like this in your .bashrc instead:

getColumn() {
    cut -d"$2" -f"$3" "$1"
}


How to upgrade lighttpd 1.4.33 to 1.4.47 on Ubuntu 14.04

In short, you can't. It's the latest available. It takes some time to prepare a package from upstream, and sometimes fixes gets backported from upstream as well.

Here is the overview for the package, and the newest in any Ubuntu appears to be 1.4.45. If you need features in the latest, you're basically left with either compiling lighttpd yourself, or upgrading to a newer Ubuntu relase. 1.4.45 is also what's provided by Debian in sid.

If you worry about security issues, check if these are backported.


How to fix: ubuntu 19.04 cannot upgrade to 19.10 error "Your python3 install is corrupted. Please fix the '/usr/bin/python3'"

The issue is not with the /usr/bin/python3 symlink, but with /usr/bin/python

To correct, for 19.04, I ran

sudo ln -sf /usr/bin/python2.7 /usr/bin/python

I found the solution here: "Your python3 install is corrupted"
looking at the answer from J. B. Rainsberger


Regular crash / freeze Ubuntu 16.04 LTS Unity

I had been facing this issue for a while. This could be due to the system running out of memory when there are too many processes going on.
This answer might help you which talks about increasing RAM and SWAP.
Increasing SWAP size worked for me as I have not experienced freezes lately.

# sudo swapon -s
# sudo swapoff /swapfile
# sudo fallocate -l 2G /swapfile

# sudo mkswap /swapfile
# sudo swapon /swapfile
# sudo swapon -s


Ubuntu 11.10 crashes on boot shows busybox

Hi I had similar problems and they depended on my cdrom.
Try to login in recovery mode. If you get stuck with some message regarding SATA
then CD-Rom is your problem. For me it has been enough to remove it and everything has kept working fine then.


Backporting a package from an unreleased release?

The list of valid releases accepted by backportpackage is stored in /usr/share/distro-info/ubuntu.csv (from the package distro-info-data ).

To add a release, open the file and add a line to the bottom like this:

...
15.10,Wily Werewolf,wily,2015-04-23,2015-10-29,2016-07-29
16.04 LTS,Xenial Xerus,xenial,2015-10-22,2016-04-21,2021-04-21

backportpackage should now accept the release.


User immediately logged out after logging in after mistakenly typing `startx`

Ah, that's it! Thank you, @steeldriver for the debugging tip. As per ~/.xsession-errors:

xfce4-session: Unable to access file /home/neil/.ICEauthority: Permission denied

Upon removing ~/.ICEauthority, login works like a charm again. I suspect that my prior removal of the ~/.Xauthority file was also critical to the resolution of this issue even though it didn't appear so initially.


Replacing default hibernate method to s2disk

Thanks !! A lot, that worked perfect. I was able to get s2disk to hibernate my Toshiba C640, but not restore it. By updating /etc/pm/config.d/00sleep_module and purging cryptsetup as per post on Ask Ubuntu , things started working well.

Although waking from hibernate Grub 2 looks like something is wrong as it is stuck
on background for few seconds. Maybe its just grub or large 4 GB ram snapshot
being loaded from disk. I will have to check.

Also, my LAN connection came back. I had serious doubts about it, since I had to
custom compile Atheros Fast Ethernet card module into Kernel.

I am using kernel 3.2.0-27-generic with Ubuntu 12.04 LTs on Toshiba Satellite C640 Hardware. Steps I have followed

sudo nano /etc/pm/config.d/00sleep_module

If you never touched this file OOTB it should be entirely commented. Please read it entirely. Add following line to end of file

SLEEP_MODULE="uswsusp"

Finally purge cryptsetup, I am not sure about this step, it may or may not help

sudo apt-get purge cryptsetup


Radeon driver doesn't work with supported Card

Your radeon driver is intalled and working.

To use it with some application run it with DRI_PRIME=1, e.g.

DRI_PRIME=1 google-chrome

To check which adapter is used you can run

DRI_PRIME=1 glxinfo | grep OpenGL

to run wuth radeon, and

glxinfo | grep OpenGL

to run with Intel.


How to install Arista transcoder from source?

It was in the Software Centre.

$ apt-cache policy arista
arista:
  Installed: (none)
  Candidate: 0.9.5-1ubuntu1
  Version table:
     0.9.5-1ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ maverick/universe amd64 Packages

It's been a few years since this was first posted and it looks like Arista was abandoned, though they still run its website. If you still want it, you'll want to download the source from their github repo and continue below.

I can't guarantee it'll still work at all.

But to answer the actual question, you need to read the README.md file that's in the downloadable archive. It explains what dependencies you need. Moreover, it has an Ubuntu-specific install method available! Just run:

sudo python setup.py install --install-layout=deb

And it'll install. Just did this and it works fine. You might need to fetch the dependencies yourself (in the readme, again) but give it a go if you still can't find the arista package in the Software Centre


Run .sh script on Ubuntu without using terminal

You have to open nautilus, click File->Preferences (OR) Edit->Preferences,
check Behaviour tab, and select the option you prefer for Excutable Text Files.


It depends on your CPU, if your CPU supports 64bit you should probably install the 64bit System.
Since your CPU is Core 2 it supports 64bit, therefore I suggest you to install Ubuntu 12.10 64bit.


Xubuntu Xenial Google Earth can not recognize graphics card

I tried running it with administrator permissions and it runs perfectly.

sudo /opt/google/earth/free/google-earth %f


Use tail:
ls -tq | tail -n+4

Please note that I added -q option to ls to prevent issues with newlines in filenames. While this might be the default for ls output to terminal, it is not the default when piped.
Also note, that this is okay for visual output but not for scripting, as files with newlines won't work, because newlines get replaced by ?.
In general you should avoid parsing ls.


Opening the "Run a Command" prompt from terminal

gdbus call --session --dest org.gnome.Shell --object-path /org/gnome/Shell --method org.gnome.Shell.Eval string:'Main.openRunDialog();'

The above command opens the "Run a command" Dialog.


This seems to be an error for many on the forum, give this a try:

press ctrl+alt+f2 at login login to the console

now try to run the update:

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

Please once complete

sudo reboot


When you create a user, a group will be created with the same name and will be set as newly created user's primary group.

You can find out what your primary group name is using:

id -gn

The file which defines which group is your primary group lives at: /etc/passwd, run bellow command to get corresponding line to your user:

getent passwd $USER

it should look like:

username:x:1000:1000:Your Name,,,:/home/username:/bin/bash

Pay attention to second (1000), it's your primary user's group id.

or find out what groups your user is a member of using:

id -Gn

The file contains details about groups lives at: /etc/group, this command should show you the details about your user's primary group:

grep "^$USER" /etc/group

Same as:

getent group $USER

The result looks like:

groupname:x:1000:

Remember the 1000 from before? this is the group id which has been set as your primary group in /etc/passwd.

Then when you create new files, they would be owned by your user, and your primary group (which is same as your username and only one user is a member of that group, which is your user).


How to make Suspend and Hibernate work on MacBookPro 5,4?

After changing the graphical driver seems like the suspend functionality is working great.

just go to "Additional Drivers" then changed to the recommended driver and restart.


Will final version of 12.04 use the power management changes found in kernel 3.3

If you are referring to the fix to the infamous ASPM power regression, according to this Phoronix article the fix has already been pulled into Precise. And looking at the changelog for the current Precise kernel, the patch "pci: Rework ASPM disable code" was pulled into Ubuntu's kernel at version 3.2.0-3.9. So yes :-)


Software selection screen in Ubuntu installer

Choose Kubuntu desktop or Ubuntu desktop package from the software list and then press continue.

You will be presented with a GUI login screen.


Is it necessary to connect via Cisco VPN using my university account to go online?

I was facing similar issue. I uninstalled cisco-vpn and installed openconnect as mentioned in the following link. It worked.

http://www.humans-enabled.com/2011/06/how-to-connect-ubuntu-linux-to-cisco.html
Server certificate problem with Cisco AnyConnect VPN Client


Insert a character in a filename, depending on filename length

Easy job for rename (prename), from that directory:

rename -n 's/^\d{4}_\d{4}$/0$&/' [[:digit:]]*

Drop -n for actual action.

^\d{4}_\d{4}$ matches filenames with 4 digits followed by a _, then again 4 digits
Those files are renamed with a 0 prefixed, 0$&

Example:

% ls [[:digit:]]*
0001_6548  0002_7674  14767_4536

% rename -n 's/^\d{4}_\d{4}$/0$&/' [[:digit:]]*
0001_6548 renamed as 00001_6548
0002_7674 renamed as 00002_7674

% rename 's/^\d{4}_\d{4}$/0$&/' [[:digit:]]*

% ls [[:digit:]]*
00001_6548  00002_7674  14767_4536


How to dump clipboard binary content to a file?

In the 30+ years that I have been working with X11, I never saw this working well in any environment. Even copying and pasting plain text with the X clipboard vs. what all the different desktops (KDE, Xfce, GNOME) do is hit and miss.
Do yourself the favour and use good old "save image as..." in your browser. You'll save yourself a ton of headaches.
Background: Both the clipboard source application and the target application would need to have a common idea how to interpret the clipboard content. Is it a PBM? A PNG? A JPG? Any of the other several dozen image formats? Or is it some video format? And which one?
The only thing that works quite well is drag'n'drop between several desktop applications of the same kind, i.e. from one PcManFM window to another PcManFM window or to a Gimp window. Or from one Dolphin window to another Dolphin window; you get the idea. With a little bit of luck, it MIGHT work from some KDE filemanager window to, say, a GNOME image viewer window. But I wouldn't bet on that.
And even then you are really dragging and dropping the path of that file, not the pixels; the target application sees the path and opens that file. Very simplistic.


Is it possible to run the Kitty GUI on Ubuntu or Debian?

From your own link:

What is KiTTY ?
KiTTY is a fork from version 0.70 of PuTTY, the best telnet / SSH
client in the world. KiTTY is only designed for the Microsoft®
Windows® platform. For more information about the original software,
or pre-compiled binaries on other systems, you can go to the Simon Tatham PuTTY page.

So for the alterations made to Kitty to work with Linux you need to ...

Find out what those changes are.
Add them to the source code for Putty, the Linux version.
Compile it, and probably rebrand it.


go to the folder

cd /home/.../CAESES-FFW_3.1.2_Linux.x86_64

then run the binary

./CAESES-FFW

for further information I recommend browsing the CAESES forum, where this question was answered before:
 http://www.friendship-systems.com/forum/index.php?/topic/103-ubuntu-1204-installation/


The paths have changed. This is what I did.

Get the latest file from VLC's github, for example:
wget https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua

Then copy it to the location where those files now live:
sudo cp youtube.lua /usr/lib/x86_64-linux-gnu/vlc/lua/playlist

If unsure about the location in your distribution (it could be another architecture for example), you can do:
$ dpkg -L vlc-plugin-base | grep youtube.lua
/usr/lib/x86_64-linux-gnu/vlc/lua/playlist/youtube.luac

Note that you might find a youtube.luac precompiled file (not .lua), but the .lua you are going to copy will take precedence. You can remove youtube.luac if you want.


Press Alt key and, in the same time, right click with the mouse on that bottom bar, then select Remove This Panel.


Why does reinstalling a package only take a short time the second time?

Because apt-get is caching downloaded packages in /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.

If you want to install a package apt-get first looks up the cache and only downloads the package again if it couldn't find that package in the cache.

To empty the cache you have to issue a apt-get clean.


How to correct unstable wifi connection through router?

If it used to work before and it doesn't any more, ask yourself:
What changed?
As in your case it's "Nothing" then maybe one of your neighbours has installed a very powerful new WiFi that pushes your WiFi away.
Therefore, change the channel on your router instead of trying to fix it on the Ubuntu side...
0:-)


Numix circle icon for emacs/dash not working

I eventually figured this out. The secret is to find the .desktop file (for me, this was /usr/share/applications/emacs24.desktop), and open it with sudo in the text editor of your choice. Then, you can edit the icon line to point to your desired icon.


How do I install 3d acceleration with an Nvidia Geforce GT520?

Most likely you are lacking some proprietary driver.

To see if such a driver is available for your system, run "Additional Drivers" from the Dash or System menu (I'm going on a limb because you have provided us with no details).

You will be prompted to install any extra drivers you may need.


Connecting to VPN prevents access to normal web sites

I recently had this same problem.

First question is: Can you ping the sites?
Second question: If you can, what packet size can you ping up to "ping -s 1300 www.google.com"

For me it was to do with the MTU and the fact that the VPN was not correctly detecting the MTU size and at the same time not allowing fragmentation.

network manager in 10.04 has these values hard-coded.

I found a bug about it, it has a patch but I don't think its going to be in 10.04:

https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/112248

I manually compiled network manager, set the VPN MTU to 1300 and the mss bit on and the whole thing worked again.


From here https://bugzilla.kernel.org/show_bug.cgi?id=83641#c1

"There is a new version of this driver at GitHub. You will need to have the package with the kernel headers installed.

git clone http://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install

This version of the driver will be submitted for inclusion in kernel 3.18. I ran it for 39 hours with no disconnects."

this solution works for me. I hope that help

Note

If You update the ubuntu, and this update has ubuntu base updates, so you need to run the following again.

make
sudo make install


Can't stream hd on Ubuntu but can easily on Windows

This is because the Flash player that iPlayer uses is not as good running under Linux. I have the same problem and there is no fix until Flash player improves (or your CPU magically gets a lot quicker).


Edit /boot/grub/grub.cfg (root permissions needed).

Search for "Free DOS" and replace it with "Windows 10" save and reboot (this is a temporary fix running update-grub the next time may bring back the problem)

For a permanent fix you may want to open a terminal and run os-prober then update-grub and reboot to see if the issue is resolved


Kubernetes vs mesos+marathon vs juju - how to demystify?

Kubernetes is a great technology for managing a cluster of containers.  It does that very well, but only works with containers.  Juju is more about service orchestration, dealing with virtual machines and also can orchestrate containers.  Juju can install and configure a Kubernetes cluster on GCE or AWS or any of the public clouds. Giving users the option to evaluate, develop, or use Kubernetes without having to know the details of the setup.

While Juju does monitor the services it deploys, it is not a true monitoring system like Ganglia or Nagios.  Again you can deploy the services with Juju to build a solution with monitoring and save that to what is called a bundle.  You can then repeat that deployment of the bundled solution to other clouds if needed.

A good candidate for a charm is any software service that you need or use.  There are many available at http://jujucharms.com, you can download those and use them now.  If you don't see something there that you know and use, that would be a "good candidate" for a charm.  Some people know certain software very well those would be a good candidate for writing a new charm.


How can I install 3.16 kernel on Ubuntu 14.04

Now that 14.10 has been released, there is an easier and better way to get 3.16 on Ubuntu 14.04:

sudo apt-get install linux-image-generic-lts-utopic

This package will always depend on the latest 3.16 image available.
(This method may not have been ready at the time of this article.)


I'm using Oneiric 64 bit and as you can see (below) focus does have visual effect on window border on default theme but it is subtle. Buttons and title are grayed out and thats about it.

If you want more visual clues you may want to try compiz plugin Trailfocus from compiz-fusion-plugins-extra package. It makes inactive windows transparent.
You probably need to install compiz-fusion-plugins-extra and compizconfig-settings-manager
Then you go to installed ccsm and turn on checkbox next to trailfocus.


how can istall installtion jre-7u5-linux-x64 JAVA on Ubuntu 12.04?

sudo gedit etc/apt/sources.list

This command is wrong. The file path should begin with "/":

sudo gedit /etc/apt/sources.list

If you need java (jre or jdk), you can install it using user827992's answer or using Ubuntu software center, typing "java" in the search box, select the package and click "Install":


How to extract files from a split 7zip archive?

Install 7zip from the Ubuntu Software Center.

Command-line solution:

In terminal, cd to the directory that contains the volumes and run 7z command on the first file from the sequence:

cd ~/Downloads
7z x asdf.iso.0

7zip should notice that you have a multi-volume archive and unpack everything. If you want the directory structure flattened, use 7z e instead of 7z x.

GUI Solution

Right-click the first package of those you downloaded (eg file.zip.001).
Select "Extract Here".


I have same problem but with russian keyboard layout.
I have found some keyboard layout files at /usr/share/X11/xkb/symbols/ru and modifying it for my MacBook Pro keyboard. Since you programmer too, I think it is not so hard to realize such a solution.
You can find examples for Mac keyboard from Macish Keyboard layouts you mentioned in question.

Since you using Mac Pro or Mac mini(Not MacBook/Laptop) then you can just attach PC keyboard and it is best sulution. But for me it is not work when Iḿ taking my MacBook Pro out of home.


Installed Ubuntu and it corrupted my Windows partition, how do I get the data back?

I disagree with the comment that a lost partition is lost data. Partitions will lose you your filenames but your files should be safe if they're in a protected, unallocated space on your disk.

I suggest you run something like PhotoRec (part of testdisk) over the unpartitioned space. You can do this from within Ubuntu fairly safely because there's no chance (that I can see) that you're going to accidentally overwrite your old data.

Failing that there are other tools. I had a very positive experience with Ontrack EasyRecovery Professional about a decade ago. Saved my bacon but it wasn't cheap.


Is the concept of "foreground process group" and "background process group(s)" applies when a session does not have a controlling terminal?

A "foreground" process group is generally defined for a terminal. Without a terminal, what is there to be in foreground or background of?

See for example, POSIX on process groups:

  A terminal may have a foreground process group associated with it. ...

  If a process is in the foreground process group of its controlling
  terminal ...

  ...  all processes in the foreground process group for which the
  terminal is the controlling terminal ...

Everything about a foreground process group is in the context of a terminal.


Download xblacklight from Ubuntu software store.

Xbacklight is used to adjust the backlight brightness where  supported.
       It  finds  all  outputs on the X server supporting backlight brightness
       control and changes them all in the same way.

   -get   Print out the current backlight brightness of each  output  with
          such a control. The brightness is represented as a percentage of
          the maximum brightness supported.

   -set percent
          Sets each backlight brightness to the specified level.

   -inc percent
          Increases brightness by the specified amount.

   -dec percent
          Decreases brightness by the specified amount.

   -help  Print out a summary of the usage and exit.

   -time milliseconds
          Length of time to spend fading the backlight between old and new
          value.  Default is 200.

   -steps number
          Number of steps to take while fading. Default is 20.


process terminated with status 2 - How do I track the issue down?

You can try a few steps:

Check if it can find its libraries: ldd /path/to/couchpotato. If you installed it in a non-standard patch make sure it picks its libraries from where you installed it rather than from /usr/lib.
Run the program in the foreground: /path/to/couchpotato. If necessary add a parameter or 2 after checking the manual. It may print an error message saying what is wrong with it.
If you have some programming experience run the program under Strace. It will tell you which system call fails and that may help you decide what to do - create a directory, fix permissions, etc.


The mirror in your software sources might not be up-to-date. Try changing the mirror in software sources.

Also try out the alternate way of installation. Using the below commands

sudo apt-add-repository 'deb http://toolbelt.herokuapp.com/ubuntu ./'
wget -O- https://toolbelt.heroku.com/apt/release.key | apt-key add -
sudo apt-get update
sudo apt-get install heroku-toolbelt


Dual Boot: Cannot boot into Ubuntu after Windows 10 Creator's Update

Just open Ubuntu by using USB stick and run Boot-Repair. You can temporarily install it even if you use USB stick.

From the Ubuntu wiki page on Boot-Repair:

  1st option : get a disk including Boot-Repair

  The easiest way to use Boot-Repair is to create a disk containing the
  tool (eg Boot-Repair-Disk, a disk starting Boot-Repair
  automatically), and boot on it.

  Remark : it is recommended to install the ISO on a live-USB (eg
  via UnetBootin or LiliUSB or Universal USB Installer).
  Do not burn it on a DVD if your computer has Windows8 pre-installed,
  or if your boot is in EFI mode.

  2nd option : install Boot-Repair in Ubuntu

  either from an Ubuntu live-session (boot your computer on a Ubuntu live-CD or live-USB then choose "Try Ubuntu") or from your
  installed Ubuntu session (if you can access it)
  connect to the Internet
  open a new Terminal, then type the following commands (press Enter after each line):

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

  Recommended repair

  launch Boot-Repair from either :

  the Dash (the Ubuntu logo at the top-left of the screen)
  or by typing 'boot-repair' in a terminal

  Then click the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX) that appeared on a
  paper, then reboot and check if you recovered access to your OSs.
  If the repair did not succeed, indicate the URL to people who help you by email or forum.


cant install lubuntu on openelec machine

Is the USB drive accessed when you turn your computer on? If it is check if the boot order in your netbook's BIOS is correct.

When you turn it on you have to press a key such as ESC or F2 - depending on the computer's model - to access your BIOS Setup. Make a quick Google search to find out which key is correct for your model.

Once you're in the BIOS setup you wanna look for 'Boot' and check if the USB is recognized and is being booted before your hard drive. The drives listed on top are booted first so you might have to change the order of the list to put your USB on a higher level (possibly using F5 or F6). Check
this image
for a more detailed view. Once you've done that press F10 to save your changes and try to boot again.

Again all of this depends on your computer's model and your BIOS screen might be different from the one on the image. Be careful when changing these settings.

Also HowToGeek has a nice guide on how to boot a computer from a Disk or USB drive. You might wanna check it out:
https://www.howtogeek.com/129815/beginner-geek-how-to-change-the-boot-order-in-your-computers-bios/


Copying single files from multiple directories to a new directory with multiple sub directories hosting each file

rsync can do that with some tricky --include and --exclude flags:

rsync -a -v --include="*/" --include="specific-file.txt" --exclude="*" from/ to/

This will copy all directories and the specific-file.txt from from
to to while skipping everything else. The command will preserve the
complete directory structure below from and copy it to to. You
may first want to run this with the -n switch to see what would
happen, i.e.:

# check:
rsync -a -v -n --include="*/" --include="specific-file.txt" --exclude="*" from/ to/

# actually do:
rsync -a -v    --include="*/" --include="specific-file.txt" --exclude="*" from/ to/


Lenovo laptops are probably the most linux friendly made, but that doesn't mean that drivers for every wireless card they may have are necessarily included with every distro.

In the entirety of my 50+ ubuntu (not really counting) installations, those made while not connected to the internet were prone to problems related to missing drivers.  However, you can overcome this issue by following the steps outlined below:

Connect your laptop to the internet using an Ethernet cable.
Open the update manager (go to the HUD and type UP).
EVEN if it claims nothing is need of updating, click CHECK.
After it acknowledges that it is in need of updates, click "Install Updates".
When the updates have completed, shut down your laptop, disconnect the Ethernet cable and reboot.  Your WiFi device should be recognized.

If your WiFi device is not recognized, that suggests that it is so new (or so peculiar) that you may need to use a tool such as "System Profiler & benchmark" to identify its chipset and then use the Synaptic Package Manager to install particular drivers to make it work.  However being you have a Lenovo, I think that's particularly unlikely.


Is there an item limit for the file explorer?

The simplest solution would be to move the files to a different directory. That way, at least your $HOME will load. Open a terminal and run these commands:

mkdir jpeg-dir
find . -maxdepth 1 -type f -iname '*jpg' -or -iname '*jpeg' -exec mv {} jpeg-dir +

That will move all files whose name ends in jpg, jpeg, JPEG, JPG etc, to ~/jpeg-dir. That should let you load your home directory normally.

However, this means that you'll now have trouble seeing the jpeg-dir directory. So, now that you have everything in ~/jpeg-dir, you can create sub-directories, each of which holds, for example, 5000 files:

cd ~/jpeg-dir
jpegs=(*)
c=0;
for((i=0;i<${#jpeg[@]};i+=1500)); do
    let c++
    mkdir -p dir"$c"
    mv "${jpegs[@]:$i:1500}" dir"$c"
done


What have you tried ? not clear - whether you tried to install into sda or into sdb ?
Please read this to end, before you type anything ... :
Did you type:

sudo grub-install /dev/sdb1 ?

or

sudo grub-install /dev/sda ?

( this should be the correct one, in case that sda
is really a harddisk and not cd/dvd-drive ... )
or

sudo grub-install /dev/sdb ?

This would be only right, if sda have not been tried before already - but sdb
would need a boot-flag too ! A boot-flag in sdb - with removed boot-flag in sda - you can settle these boot-flags with gparted after you did

sudo grub-install /dev/sdb
sudo update-grub

Then reboot ... so grub would then simply "jump over" sda.
This solution is not entirely "clean", but I don't know if sda has a partition-table ?!
In this case I would leave partition-table of sda simply out !


Starting in Ubuntu 12.04, the sudo group confers administrative power to users. The admin group will too, but only if it exists, and unless you upgraded from a previous version or manually created it, it does not.

For more information, see What is the difference between the 'sudo' and 'admin' group?
Even if you did upgrade starting from a version earlier than 12.04, if the event that caused this problem was the inadvertent deletion of the admin group, then an attempt to fix this by adding yourself to admin would also fail.

Therefore, you must add yourself to the sudo group rather than the admin group. To do this, boot in recovery mode and enter a root shell (as you did before), then run:

usermod -a -G sudo username

Make sure to replace username with your actual username.

Then, you'll be an administrator again.

(If that does not work or produces an error, please comment here to briefly explain what happened, and also edit your question to add as much information about what happened as possible.)

Source: How can I give admin permissions to my account?

When That Doesn't Work

You got the error usermod: cannot lock /etc/passwd; try again later.

usermod is apparently not able to gain proper access to /etc/passwd (the file it must modify), even in recovery mode.

Hopefully, booting directly to a root shell without going through the recovery mode menu will work better. So try "The Other Way Lucid" (but run usermod -a -G sudo username instead of passwd username, as before).

If that doesn't work, you can try the solution by Oli that Aditya had suggested, with two major caveats:

You can only use those instructions if you know enough about your system to "change sdYY to your root partition" as it demands (i.e., if you know the device name for your root partition).
Don't run sudo adduser your-username admin as it says; instead, run adduser your-username sudo. (Or usermod -a -G your-username.)

The important thing is that you add yourself to sudo rather than admin.

(Feel free to skip this paragraph--it's about style and "best practices.")
But it's also unnecessary, and in my opinion somewhat poor form, to use sudo to run commands as root, when you're already in a root shell where all your commands run as root. I think this rapidly causes confusion about when one is and isn't in a root shell.

Or you can use the instructions I wrote here, which explain how to obtain all the necessary information. They're long, but that is because they cover a variety of situations that probably don't apply for you, including not being able to log on to the machine at all, and wanting to reset the password as well as make a user an administrator. They also explain how to do everything without assuming much prior knowledge or experience (for example, they explain in detail how to boot from and access a useful desktop on a live CD).

You have another option: Those instructions of mine are really a general presentation the same technique that Oli wrote about more succinctly and more situation-specifically. So, from what I wrote there, here's how to find out what command to use in place of sudo mount /dev/sdYY /mnt/boot # change sdYY to your root partition:

  In your Ubuntu system (not the live CD/DVD/USB system), run this
  command in the Terminal:

mount | grep ' on / '

  You should include the spaces before on and after /.

That command produces something like /dev/sda1 on / type ext4 (rw,errors=remount-ro,commit=0) as the output. The text before on (not including the space) is the device name of the partition that contains your Ubuntu system's root filesystem. Remember it (or write it down).

Then, once you've opened the Terminal on the live CD/DVD/USB:

  Run this command:

sudo mount /dev/sda1 /mnt

  Replace /dev/sda1 with the device name of the partition
  containing your Ubuntu system's root filesystem, if different.

Besides using the device name you found with the technique above, you should also use /mnt and not /mnt/boot as in Oli's answer. But then you can continue on with the instructions there.


You need to install firmware for b43 driver.

Connect to internet by wire and run:

sudo apt-get install firmware-b43-installer


When will Ubuntu 18.04 release and at what time?

Each time it is different :-)... and unknown in advance (at least until the 18.04).

Update: (Thu Apr 26 22:59:59 UTC 2018)
Now it's out. You can start from the Bionic Beaver page or from the links below.

One of the most comfortable solution to know when a new release exits, is to subscribe to the ubuntu-announce mailing list and wait for a mail. (As you can check there are not so many and it will not spam your account).

It will appear in the Bionic Beaver (18.04) page instead of the beta-2 version, or in the download sections of the Ubuntu site [d1, d2], or on the cdimage Ubuntu site in the release directory (again not the beta-2)...

Nonetheless you may have some hints from the past [12.04, 14.04, 16.04],
looking for the 1st and last ISO file creation time present in the old-releases Ubuntu site:

  Release    Day       1st ISO file       Last ISO file           Last FILE
 12.04 LTS  26th  '12 Apr 23 12:27  '12 Apr 25 16:13  2012-04-26 09:51
 14.04 LTS  17th  '14 Apr 16 21:13  '14 Apr 17 01:37  2014-04-17 15:00
 16.04 LTS  21st  '16 Apr 20 22:30  '16 Apr 20 23:38  2016-04-21 11:08

Of course you have to search for the first release (the one without .1, .2, ...).

For a somehow more "trusted" version (suggested as automatic update from the previous LTS) you should usually wait until the .1 release (usually in July-August; this time it is scheduled for July 26.

We should mind the timezone and that we should even wait until the files are uploaded to the various mirrors.


You have a really old version of Ubuntu installed, which is already End of Life (EOL). Have a look here for upgrade to the current version. Need to be done in multiple upgrades.

Dapper to Hardy upgrade
Next would be Hardy to Lucid
and the last one Lucid to Precise

Don't forget to do a backup before upgrading, if you have any data on your machine


Perl to the rescue:

perl -F';' -lane '
    if ($L[2] + 1 == $F[1] and $L[3] == $F[3]) {
        $L[2] = $F[2]
    } else {
        print join ";", @L if @L;
        @L = @F
    }
    END { print join ";", @L }
' file.csv


Cinelerra is not available through Ubuntu's default repositories. You have to add their ppa to your sources before you can install it.

Run these commands in a terminal:

sudo add-apt-repository ppa:cinelerra-ppa/ppa
sudo apt-get update
sudo apt-get install cinelerra

Cinelerra should now be installed on your system.

Cinelerra n'est pas disponsible par les repositories défaut d'Ubuntu. Il faut que vous ajouter les PPA de Cinelerra à votre sources avant que vous l'intallez.

Utilisez ces commandement dans le terminal.

sudo add-apt-repository ppa:cinelerra-ppa/ppa
sudo apt-get update
sudo apt-get install cinelerra

Cinelerra devra maintenant être installé sur votre system.


Installing WINE 1.4 Errors on Precise 12.04

I think the problem is due to a conflict with the lilo package, which appears to be installed on your system. The default boot loader for Ubuntu is Grub2, you probably don't need lilo.

Try sudo apt-get remove lilo. Then try, eg. sudo dpkg --configure initramfs-tools. The error messages should go away and you should be able to install wine (version 1.4 or 1.5 indeed).


Is there a way to prevent the cursor from reaching the bottom of the terminal?

You can change your terminal prompt so that it echos five carriage returns and then uses an ansi escape sequence to move back up five lines before it finishes the rest of the prompt. If this works for you, you can put it in your .bashrc to make it permanent.
Copy and paste this into your terminal :

PS1='\n\n\n\n\n\[\033[5A\]\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$'

The '\n\n\n\n\n' moves down five lines and '[\033[5A]' moves back up five lines. You can modify both of those if you want more space.


Ubuntu 20.10 VM restarts sometimes after wake from sleep

I'm guessing that it might be a problem with ACPI not cooperating with the virtualization software or vice versa, or it might be a problem with files in the virtual machine. Maybe try using different virtualization software, or try using a different version of Ubuntu on the VM.


How to transfer music and files from Ubuntu 13.10 to Android 4.3?

Install Rhythmbox or Banshee from Software Center and when the phone is plugged in via USB they should detect the device and allow you to directly drag and drop music into the device from within the application.

NOTE: You may need to place your device in USB Mass Storage Mode first. When you connect the cable you should have a tick box or menu item that allows you to do this.


Installing Ubuntu 12.04 on portable hard drive and still use it for storing files?

well, ubuntu uses different file systems than windows does.

your external hdd is probably in ext4 file system format now, rather than ntfs or fat which windows likes to read. so your short answer would be no, it will not work like that...

But, you may consider using this: http://sourceforge.net/projects/ext2read/

it will allow you to read the external hdd and pull files from it, but i cannot remember if it will allow you to write to it... why not try the program and play with it a bit? :)


In Linux the risk of viruses are small to nonexistent, however USB sticks automatically mount for reading and writing regardless. There's an easy way in recent Ubuntu distributions to disable USB storage devices. Simply blacklist the kernel driver:

echo "blacklist usb-storage" | sudo tee -a /etc/modprobe.d/blacklist.conf

Then update the initramfs

sudo update-initramfs -u

After that, nobody can use a USB memory stick in that computer, but still allows the administrator(s) to manually load the module and use it.

source is here: http://www.ossramblings.com/disabling_usb_storage_in_linux

Another way which is more selective is to note that users who are members of the plugdev group are allowed to access pluggable storage devices so you could just remove any users you don't want to use USB sticks from that group.

source: here


HDD format supported by 50 GB files in Ubuntu

HDD 2 TB recommended partition table is GPT.

GUID Partition Table is a partitioning scheme that is part of the Unified Extensible Firmware Interface specification; it uses a globally unique identifier for qualifying devices.

Xfs is a file system that was designed from day one for computer systems
with large numbers of CPUs and large disk arrays.

It focuses on supporting large files and good streaming I/O performance. It also has some interesting administrative features not supported by other Linux file systems.

Xfs file system

G.P.T.


How to uninstall git from Ubuntu 16.04 without affecting packages dependent on it?

You have to check the repositories settings on your system first. Thanks to Nessus, it warns you about this sysadm fault.

The correct /etc/apt/sources.list for xenial looks like:

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-security main restricted universe multiverse

The latest version of git package on Ubuntu 16.04 LTS is 2.7.4-0ubuntu1.8, which is secure.
There was USN for it.

Carefully check/edit your repositories and run

sudo apt update
sudo apt dist-upgrade

to get all newest updates.

And of course you can remove git by

sudo apt-get remove git

if you (or git's dependencies) do not need git anymore.


Juju charm, what to do when you can't reach archive.ubuntu.com?

Your charm should obviously not rely on infrastructure details of the Ubuntu archive. Even if it works today, it might fail in the future.

I think your best bet is to raise a bug with charmhelpers at https://bugs.launchpad.net/charm-helpers

You can also contribute with code if you feel like it, of course :)


I searched through and i came up with a solution below:
Just run "sudo apt update"
And then it will ask for you to change and just type "y"!


add-apt-repository is throwing strange errors (18.03)

Get rid of the repository that is causing the problem.

sudo add-apt-repository --remove ppa:wireshark-dev/stable # w in wireshark is case sensitive
sudo apt update

Install wireshark from the default Ubuntu repositories.

sudo apt install wireshark


Slow boot issue due to plymouth-quit-wait.service + ubuntu 18.04

Plymouth is not slowing your boot-up process! Plymouth is responsible for the boot-up splash screen. Please read Plymouth.

It loads the boot-up logo at the beginning of the boot-up process and then waits until the boot-up process has finished so it unloads the splash screen. That is all it does and that is why it has to run in parallel and co-exist throughout the whole boot-up process. It does not delay anything, it just waits.

That is exactly what is happening. No more and no less. Please take a look at the output you added to your question and carefully read the following:

  ● plymouth-quit-wait.service - Hold until boot process finishes up

How to Verify?

You can verify that plymouth-quit-wait.service is not holding anything back but the graphical login screen, by running the command:

systemctl list-dependencies --reverse plymouth-quit-wait.service

which will output all the services that depend on plymouth-quit-wait.service (i.e services that are delayed by plymouth-quit-wait.service). On a freshly installed Ubuntu system, the output will be like this:

plymouth-quit-wait.service
● └─multi-user.target
●   └─graphical.target

Which means only the graphical login screen is configured to wait for the plymouth-quit-wait.service and nothing else.

On the other hand if you list the services that plymouth-quit-wait.service is configured to wait for by running the command:

systemctl list-dependencies plymouth-quit-wait.service

the output would be almost every service that should run on boot and the output will look like this:

plymouth-quit-wait.service
● ├─system.slice
● └─sysinit.target
●   ├─apparmor.service
●   ├─dev-hugepages.mount
●   ├─dev-mqueue.mount
●   ├─grub-initrd-fallback.service
●   ├─keyboard-setup.service
●   ├─kmod-static-nodes.service
●   ├─plymouth-read-write.service
●   ├─plymouth-start.service
●   ├─proc-sys-fs-binfmt_misc.automount
●   ├─setvtrgb.service
●   ├─sys-fs-fuse-connections.mount
●   ├─sys-kernel-config.mount
●   ├─sys-kernel-debug.mount
●   ├─systemd-ask-password-console.path
●   ├─systemd-binfmt.service
●   ├─systemd-hwdb-update.service
●   ├─systemd-journal-flush.service
●   ├─systemd-journald.service
●   ├─systemd-machine-id-commit.service
●   ├─systemd-modules-load.service
●   ├─systemd-random-seed.service
●   ├─systemd-sysctl.service
●   ├─systemd-sysusers.service
●   ├─systemd-timesyncd.service
●   ├─systemd-tmpfiles-setup-dev.service
●   ├─systemd-tmpfiles-setup.service
●   ├─systemd-udev-trigger.service
●   ├─systemd-udevd.service
●   ├─systemd-update-utmp.service
●   ├─cryptsetup.target
●   ├─local-fs.target
●   │ ├─-.mount
●   │ ├─systemd-fsck-root.service
●   │ └─systemd-remount-fs.service
●   └─swap.target
●     └─swapfile.swap

This confirms that plymouth-quit-wait.service is not slowing down anything but just running in parallel waiting for the system to fully boot and then it will hide the boot-up splash screen to bring up the graphical login screen.

To understand more.

Please run the following command in the terminal:

systemd-analyze plot > ~/SystemdAnalyzePlot.svg

Then, look for SystemdAnalyzePlot.svg in your home directory and run it in the image viewer or the Internet browser. You might need to enlarge the image so that you can read the processes names. It is worth checking and will give you a better understanding on how the boot-up process works.

You can, however, reduce your boot-up time by disabling NetworkManager-wait-online.service so plymouth has one less process to wait for. This can indeed reduce your boot-up time. To do this please follow the steps in this answer.

Oh... and please leave plymouth alone, it's not the one that makes you wait...it's the one that waits for you.


Best Practice for Installing Java on Ubuntu / is it secure?

Java related security considerations

I think the problem with Java security is first and foremost related to:

Outdated insecure versions
Java running as applets within your browser makes you vulnerable to exploits coming from remote.

So to mitigate this you should:

Install Java from a repository (so you can update with sudo apt-get update && sudo apt-get upgrade later)
Don't install the Java-Plugin
.. or disable it with NoScript(Firefox) / NotScript(Chrome)

Since you are installing Java on a server and you won't run a browser there, you will only have to deal with the first problem: So update Java regularly (which you should do with any installed software anyway).

How to install Open-Java

First enable the universe repository. If you haven't done it already.

Then you install Java with

sudo apt-get install openjdk-7-jre

This will install Java without the Java-Plugin.

How to install Oracle-Java

To get an automatically update-able Java from Oracle, you can you use the PPA provided from webup8.

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

This article has the details about the Oracle-Java PPA. Unfortunately I don't know how to not install the Java-Plugin with this PPA.


Follow the uninstall process given in below link
https://docs.anaconda.com/anaconda/install/uninstall/
login as root user
sudo su

Install anaconda clean pkg
conda install anaconda-clean

remove all anaconda related files
anaconda-clean --yes

remove the anaconda folder (most likely created in root folder if you selected default)
rm -rf /root/anaconda3

remove the conda path configuration from bashrc file (use vi or gedit or nano editor)
And then run the installation file without the elevated user so that conda is accessible to your userid.


Dual boot Windows 10 and Ubuntu 18.04 on separate drives, Windows 10 won't start

A common problem when setting up a dual boot with Windows/Ubuntu for the first time is that you find that you can only boot into one system or the other, in this case Ubuntu. There may be several reasons for this, but the most common one I've seen is where 2 disks are used to install each system respectively, and one disk is formatted to DOS and the other to GPT.

First thing to do if booted in Ubuntu or in Live  Ubuntu is inspect your partitions. Run sudo fdisk -l|grep -A4 /dev/sd which will not only show you all the details of what is stored on your partitions but also whether the disk is formatted in GPT or DOS (which is the old MBR format of how disk partitions are arranged).

Here we know the computer is being run in Legacy Bios mode, but for Windows 10 we have disk sdb formatted to GPT. The 2 states are incompatible. W10 installed on a GPT disk must be run in UEFI mode, or the disk will not be recognised. However Ubuntu here set up on disk sdc is a DOS disk format. On it's own, even if run in UEFI BIOS it doesn't cause an issue. But with a dual boot, having one disk in DOS and another in GPT format usually ends up only allowing the user to boot to one system.

The best solution therefore would be to convert the Ubuntu DOS disk to GPT as it's the more modern format that allows more than 4 primary partitions to be made (DOS has a limit of 4). It does mean a re-install of Ubuntu as converting a disk to GPT wipes everything on it. There's no point in changing the Windows disk back to a DOS format and running in Legacy BIOS which is the older system as well as the added complication of re-installing W10 which is more involved and would take a much longer time to achieve.

So to do this have your Live Ubuntu USB drive ready. Go into BIOS and switch it to UEFI if in Legacy BIOS. Then boot into your USB and run Gparted. Choose sdc if that is shown as the disk containing the Ubuntu installation. You are now going to convert sdc to a GPT drive. Click on Device tab->Create Partition Table.  Choose GPT. Everything on sdc will now be wiped. Then re-install Ubuntu making 2 primary ext4 partitions on sdc, one for Root, another for Home, and let the installation proceed, and reboot.


There was a problem with apt-get update being cached by Docker. After building the Dockerfile with the --no-cache option, the file package could be installed. Can't tell where exactly the problem might have been.


Try running:
apt-cache rdepends python | grep -v python | wc -l

Since Ubuntu 20.04 uses python3 for default, run:
apt-cache rdepends python3 | grep -v python | wc -l

This basically says "Count the number of packages that depend on Python, NOT counting python specific packages". On my system it's well over 1000 other packages - safe to say Ubuntu depends pretty heavily on Python.


Cannot access nvidia-settings after upgrade to 13.10

What I have done to fix it is:

Launch Software & Updates, go to Additional Software tab and mark nvidia-319 (the stable version not the updates one) and that worked.


Network activity for decision to suspend/hibernate

You could use the packet count on the network interface to decide to shutdown the VM from the cron job, if I have understood correctly.

You can look at this stackoverflow question

You could make a shell script that checks the number of packets since 90 minutes by using /sys/class/net/eth0/statistics/tx_packets for interface eth0


where are cached python packages stored in Ubuntu?

Thanks to @muru, I found the answer in Stackoverflow. I quote from it:

The default location for the cache directory depends on the Operating
System:

For Ubuntu, it is located in:

~/.cache/pip and it respects the XDG_CACHE_HOME directory.
WheelCache
Pip will read from the subdirectory wheels within the pip cache
directory and use any packages found there.

More information can be found in this link


I want to enable the 'root' user during the login prompt on Ubuntu 14.04 server

You should set password of root user to enable it. Use this:

sudo passwd root


Pyhon (v2.7) requires to install plugins

Press Ctrl + ALt + T to open a terminal.
Write the following in terminal followed by Enter

sudo apt-get install ubuntu-restricted-extras
A prompt will ask for password, after entering the password type y for yes when asked. Wait for the installation process to over.
Now try to run the MP3.


A command which checks that trim is working?

You can perform a sudo fstrim -v / (replace "/" with other mountpoints, if you have any), to check if fstrim gives any errors.
If it doesn't, type in cat /etc/cron.weekly/fstrim which should give you an output like:

#!/bin/sh
# call fstrim-all to trim all mounted file systems which support it
set -e
#
# This only runs on Intel and Samsung SSDs by default, as some SSDs with
# faulty firmware may encounter data loss when running fstrim under high I/O
# load (e. g.  https://launchpad.net/bugs/1259829). You can append the
# --no-model-check option here to disable the vendor check and run fstrim on
# all SSD drives Like this (remove the hash):
#exec fstrim-all --no-model-check
exec fstrim-all

If it does, it means, that your Ubuntu automatically recognized that you have an SSD and will trim it once a week as a cron job.

If you like to optimize your system for SSD, check out this article.


use

`sudo chmod 755 /path/your/folder`

provide your password

or use this for assigning permissions recursively for sub directories.

sudo chmod -R 755 /pat/your/folder

or open nautilus with permission by

sudo nautilus

and go to your desired folder ,right click on it and finally change its permissions as per your need.

to see permission allowed use

ls -l

it will show permissions of all the folders in Working Directory.


How to never hide Unity Launcher? (using CCSM didn't work)

How to make the Unity launcher always visible?

  Launch gconf-editor by hitting F2 and then typing it and hitting Enter. Navigate to /apps/compiz-1/plugins/unityshell/screen0/options and then set launcher_hide_mode to 0


Any way to update bios for Asus X101H without Windows?

If you go to ASUS bios update site you are asked for your motherboard model and after making your choice, the next option is selecting the OS. Linux is present there, with instructions.

As a general guide line, you should always try to search the manufacturer's site, because the default software that comes with IT products is usually for Windows.


Installing 12.10 via DVD, Don't get install along side Windows 7 option?

Rookie mistake - Forgot to set up the initial partition allowing the installation alongside Windows.  Set up the partition shrinking the main hard drive, then tried again.  Option showed up as expected.


edit: this solution did not work after all. all suggestions are welcome.

I found a solution, but it is not flawless. Apparently the bug is related to dvips. I added a file .dvips in my home folder and tried to redefine the MISSFONT_LOG variable. The latter is very poorly documented, so feel free to add the correct version. I tried the following and I am no longer getting missfont.log files all over the place (also no .missfont.log files, though).

MISSFONT_LOG = $HOME/.missfont.log
MISSFONT_LOG = .missfont.log
MISSFONT_LOG : .missfont.log


Download entire web archive using terminal

From Snipperize:

wget --recursive --no-clobber --page-requisites --html-extension --convert-links restrict-file-names=windows --domains website.org --no-parent www.example.com/foo/bar/


Make a byobu window use a smaller font than the other byobu windows of the same session

No, sorry, that's not possible.

Full disclosure: I am the author and maintainer of Byobu.


Should I keep using the version of Flash in the sevenmachines PPA?

You can install flash from the Ubuntu repositories.

32 bit flash

sudo apt-get install flashplugin-nonfree

64 bit flash is in the partners repository

You first need to activate the partners repository

See : https://help.ubuntu.com/community/Repositories/Ubuntu#Adding_Canonical_Partner_Repositories for details.

You then remove any 32 bit flash

sudo apt-get purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
sudo rm -f /usr/lib/firefox-addons/plugins/libflashplayer.so
sudo rm -f /usr/lib/mozilla/plugins/libflashplayer.so
sudo rm -f /usr/lib/mozilla/plugins/flashplugin-alternative.so
sudo rm -f /usr/lib/mozilla/plugins/npwrapper*flash*so
rm -f ~/.mozilla/plugins/*flash*so

Then install the 64 bit version

sudo apt-get update
sudo apt-get install adobe-flashplugin

See the ubuntu wiki flash page for details.

And you will also need to remove the sevenmachines PPA:

How can PPAs be removed?


Ubuntu 18.04: Boot Freeze / Purple Screen Hangs

I had the same problem after an update today.
Solution was to disable wayland:

Unable to login to account in ubuntu 18.04 vmware workstation 15, after update


How to have Debian packaging generate two packages given an upstream source archive?

This is a place where I've always found the documentation lacking. I pretty much only learned how this works by looking at how it is done in other packages. As with most things in Debian packaging, there are a few ways to do this. I find the simplest way is to use debian/package.install files. Here's an example of a package I've worked on, imagination (bzr branch).

First, we need to create the package in debian/control. There are three stanzas now. One for the source package and one for each binary package. Note that the foo-data package should be Architecture: all. Also note that imagination Depends on imagination-common (= ${source:Version}).

Next, we create a debian/imagination.install file. This contains the specific files or paths which we want to end up in the imagination package. For this package we want all the architecture dependent files. The desktop file is included as it needs to say with the binary that it calls in its Exec: line.

usr/bin/
usr/lib/
/usr/share/applications/imagination.desktop

We need to create a debian/imagination-common.install file. This will contain all of the architecture independent files, images, translations, docs, and the like.

/usr/share/doc/
/usr/share/icons/
/usr/share/imagination/
/usr/share/locale/

man dh_install describes what's actually going on here:

  maybe you have a large package that
  builds multiple binary packages. You
  can use the upstream Makefile to
  install it all into debian/tmp, and
  then use dh_install to copy
  directories and files from there into
  the proper package build directories.

What it means by "the proper package build directories" is that by the end of the build process, everything that will be in the resulting foo.deb will be found in src/debian/foo. The files that will end up in foo-data.deb will be found in src/debian/foo-data. As debian/rules is essentially just a Makefile, you can begin to imagine so other ways of getting the same result.


How can i remove an active icon from the launcher?

Right click on the unwanted icon and select "Unlock from Launcher".

Alternatively left click on icon, then hold Alt and drag it to bottom of Launcher.


Setting DNS via NetworkManager/nm-applet doesn't update the /etc/resolv.conf (17.10)

It took me a while to get there...

If you already know what you want to set in resolv.conf then you can simply
write your settings in /etc/systemd/resolved.conf with your favorite editor.

sudo nano /etc/systemd/resolved.conf

Just uncomment DNS and domains, enter the IPs and searchdomains (blank seperated) and restart systemd-resolv or reboot your host.

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
DNS=<IP> <IP>
#FallbackDNS=
Domains=<domain> <domain>
#LLMNR=yes
#MulticastDNS=yes
#DNSSEC=no
#Cache=yes
#DNSStubListener=udp

NetworkManager should be able to modify the DNS. I don't have a VPN to test, but I was able to append nameservers with NM on my wired connection.


Could be anything described here: https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs
I am experiencing the same issue with 14.04, 15.10 and 16.04 and it is great frustration.

On 15.10 I had partial success with regionset setting, but not permanent, plus I have DVDs from both EU and USA.

I would give this Fluendo player a shot, but it seems it does not support 16.04?


I suspect that there is some Apple hardware involved. You can probably fix it by running this command:
gsettings set org.gnome.desktop.input-sources xkb-options "['apple:badmap']"

The "apple:badmap" XKB option switches the key to the right of L-SHIFT and the key to the left of 1.


Firefox 4 using more battery power and slow

If you're paranoid (I don't know why) you can use the NotScript extension for Chrome, which is the same functionality as NoScript: https://chrome.google.com/webstore/detail/odjhifogjcknibkahlpidmdajjpkkcfn

Also have you tried removing your firefox profile folder to see if that solves the problem, located in your home folder.


I don't know about minimal setup, but otherwise CrashPlan should meet your requirements. Actually CrashPlans setup is anything but minimal. :(


TeamViewer 11 won't install on 16.10 64 bit

I have the solution for installing TeamViewer on 16.10.
I hope that this will work for all.
When you see this error...

Selecting previously unselected package teamviewer:i386.
(Reading database ... 179972 files and directories currently installed.)
Preparing to unpack .../teamviewer_11.0.67687_i386.deb ...
Unpacking teamviewer:i386 (11.0.67687) ...
dpkg: dependency problems prevent configuration of teamviewer:i386:
 teamviewer:i386 depends on libpng12-0.

dpkg: error processing package teamviewer:i386 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
 teamviewer:i386

type sudo apt-get install -f and say "yes".
After that go to this website, download the package and install also from terminal using command

sudo dpkg -i libpng12-0_xxxxx_i386.deb

where xxxxx is the version of your libpng. I used the stable version 1.2.50-2+deb8u2.
After that again install TeamViewer and you will don't have errors. ;)
I hope that for everyone this solution will work perfectly.


Can't reinstall ettercap files in Ubuntu

sudo apt install --reinstall  ettercap-text-only  ettercap-graphical ettercap-common


Can't remove RAID metadata from Dell R710 disks

The R710 supports LSI-based PERC controllers utilizing the mpt2sas driver and should work just fine with Ubuntu. You'll need to create virtual disks for the controller to expose via the driver before Ubuntu can see them to install on them. Without an OS installed, the easiest way to do that is to press Ctrl+R when prompted during POST to get to the controller BIOS option ROM (most likely this is where you deleted the virtual disks in the first place!) If you have a PERC S100 or S300 controller unfortunately there is no Linux driver for it so you would not be able to use either of those at all. But any of the PERC H200, H700, or H800 should work just fine.


Simple script - execute command on selected file

You might also go for

!/bin/sh
gnome-terminal -x java -jar /home/askmoo/myfile.jar "$1"

in order to first open gnome terminal and then execute  your java application in it. This way you would be able to get output printed out to the terminal.


making multiple firefox desktop icons for ubuntu 20.04

Just tested on Ubuntu 20.04, and the exact steps outlined in the video you linked work. If you don't have an application for editing desktop files, simply use any text editor, or a terminal window. You can just run cp /usr/share/applications/firefox.desktop ~/Desktop/profile1.desktop and then open it with either

gedit  ~/Desktop/profile1.desktop

or

nano ~/Desktop/profile1.desktop

Find the line that starts with Exec= and change it to be Exec=firefox -P "profileName".
From the man pages on firefox:

-P profile

Start with profile.

You can also change the name value if you would like it to show a different name in a file manager with some desktop systems.
EDIT
If it opens in a text editor when you double click it, make sure the file is executable, and right click the file and choose "Allow launching"


Unlock ubuntu pc using my phone's fingerprint scanner

I haven't yet tried it myself, but this cropped up in the past year:

https://github.com/maxchehab/remote-linux-unlocker

Essentially, install the software on your PC, download the Android app from the Play Store, then click the "lock" or "unlock" buttons on your phone, as required.


I had the same issue, though it was for different reasons.  I saw this post and decided to try
sudo apt install nvidia-driver-450
There were many packages that needed to be installed as a result.  After it was all done, I had the options back again.
Hope that helps :)


How can I enable two-finger scrolling in Ubuntu 12.04?

Upgrading the xserver-xorg-input-synaptics package from precise-proposed should fix your issue.

For more information check https://bugs.launchpad.net/bugs/982771 (comment #6 for enabling precise-proposed).

https://wiki.ubuntu.com/Testing/EnableProposed


For remote access:

Check etc\mysql\my.cnf to see that the bind-address is not set to 127.0.0.1.
Either set it to 0.0.0.0, or, to be more secure, add your IP address:

bind-address      = 127.0.0.1
bind-address      = your_public_ip

Create a user in the mysql table:

CREATE USER 'non-root-user'@'localhost' IDENTIFIED BY 'any_password_u_like';
CREATE USER 'non-root-user'@'%' IDENTIFIED BY 'any_password_u_like';

GRANT ALL ON *.* TO 'non-root-user'@'localhost';
GRANT ALL ON *.* TO 'non-root-user'@'%';

AWS SPECIFIC

Make sure you have an inbound rule for port 3306


juju agent installation only through destroy and bootstrap

There shouldn't be no need to re-run 'juju bootstrap' to get your nodes working. The bootstrap phase is only needed to get the juju environment started.

You said you rebooted the second node and I think that's the key: did you configure the power parameters of your nodes (I assume you run the quantal version of MAAS)?  If you can't do that, once you deploy a charm manually and you see the node only which the charm will get deployed 'allocated' on the MAAS UI, you need to power on the nodes so that Ubuntu can get installed on the machine and the charm installed (this can take a while depending on the hardware you have).  What I'm saying is that if your node uses IPMI or any other kind of supported power mechanism and you've configured the credentials, then MAAS will power up the nodes but if you can't do that, then you need to do that manually.

If this does not solve your problem, I suggest running 'juju debug-log' to see why the charm cannot be deployed.


Is there a way that I can know the user names of a server?

No, it is not possible to see user names from outside the computer other than brute-forcing it.

In general, disabling remote root login is a good idea. Using public key authentication instead of password login is another one.

If you want to keep password login, you can install fail2ban for better security. This will ban IP addresses based on unsuccessful login tries.

For a minimal working setup of fail2ban for securing sshd, you need just 3 simple steps:

# Install fail2ban
sudo apt update && sudo apt install fail2ban
# Enable fail2ban for sshd
printf '%s\n%s\n' "[sshd]" "enable = true" | sudo tee -a /etc/fail2ban/jail.local
# Restart fail2ban
sudo service fail2ban restart

This will enable the default 600 seconds ban after 3 failed login attempts within 600 seconds.


Unable to run Unity 3d or Gnome 3 after upgrade

I had the same problem myself just the other day. I fixed it by running this:

sudo apt-get install libglade2-dev libglade2.0-cil libglade2.0-cil-dev libglib2.0-cil-dev libgtk2.0-cil-dev libxml2-dev libdrm-intel1 xserver-xorg-video-intel

Also, I removed these packages using Synaptic:

xserver-xorg-video-ati
xserver-xorg-video-radeon
nvidia-current
nvidia-current
libgl1-mesa-dri:i386
nvidia-settings
xserver-xorg-video-nouveau

All works great. From what I have read the real problem lies in the nouveau drivers.


burn the iso to a dvd with brasero or k3b much as you would on windows . once its complete restart your computer into the boot menu and boot it from your dvd drive and at that point you should be ready to install


You cannot use a NTFS partition to install Ubuntu/Linux.

You can remove that partition and create the two required partitions for Ubuntu using the now unallocated space. You need a small swap partition (~2GB should be enough) (type: swap) and leave the rest of the space for / (root) (EXT4, /). Also tick format for the latter, the former doesn't require formating.


NTP port is blocked. How to sync time? - 18.04

You can try the htpdate package. It has a service called htpdate.service.
After installing htpdate with the command sudo apt install htpdate you can monitor its status using the following command:
$ systemctl status htpdate.service

Please, note that this service will not be able to synchronize your clock very precisely, however an error of about one second will be acceptable in your case.


Lost audio after upgrading from 10.04 to 10.10

Have you tried to create a new Ubuntu user just for testing, to see if it is some config causing the trouble?

Try this:

https://wiki.ubuntu.com/PulseAudio#ALSA%20Configuration


After 16.10 upgrade, ethernet is not working

For me the following commands solved the issue and LAN connection was immediately detected.

sudo touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo service network-manager restart

if the above doesn't work try the following

sudo sh -c "echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> /etc/sysctl.conf"
sudo sh -c "echo 'net.ipv6.conf.default.disable_ipv6 = 1' >> /etc/sysctl.conf"
sudo sh -c "echo 'net.ipv6.conf.lo.disable_ipv6 = 1' >> /etc/sysctl.conf"
sudo sysctl -p
sudo sed -i 's/false/true/g' /etc/NetworkManager/NetworkManager.conf
sudo reboot -i NOW

Good luck!


Is there a version of Chrome or Chromium whose bookmarks are visible to the HUD?

Earlier versions of Chromium did have the bookmarks and full history exposed to the application menu and the HUD.  The Chromium developers felt that Dbusmenu's implementation slowed their startup time too much, so they disabled it.

Since then we've drastically improved the speed of Dbusmenu requests, so it shouldn't be an issue, but someone needs to work with them to restore the feature in Chromium.

http://www.chromium.org/for-testers/bug-reporting-guidelines/


Unattended upgrade is ignoring some packages

I believe you are missing 20auto-upgrades and should first implement it properly to see if that fixes your issue before moving on.  You can see that this is an important step in the Automatic Upgrades documentation.

$ cat /etc/apt/apt.conf.d/20auto-upgrades
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Unattended-Upgrade "1";

If you  have that file and it is still not working, you can try figuring out what's keeping the packages back.  I prefer Origins-Pattern to Allowed-Origins, which is different from the documentation, but has worked well for me:

$ vim /etc/apt/apt.conf.d/50unattended-upgrades
# You need to customize configuration

Here is an example of the critical 'Pattern' component in 50unattended-upgrades:

Unattended-Upgrade::Origins-Pattern {
        // Codename based matching:
        // This will follow the migration of a release through different
        // archives (e.g. from testing to stable and later oldstable).

        // Archive or Suite based matching:
        // Note that this will silently match a different release after
        // migration to the specified archive (e.g. testing becomes the
        // new stable).
//      "o=Ubuntu,a=stable";
//      "o=Ubuntu,a=stable-updates";
//      "o=Ubuntu,a=proposed-updates";
        "origin=Ubuntu,codename=${distro_codename}";
};

This is an example that doesn't restrict based on the repository:

Unattended-Upgrade::Origins-Pattern {
      "o=*";
}

You will only want either Origin-Patterns or Allowed-Origins and not both.  This is more clear and documented in Debian's Unattended Upgrades documentation.

Try enabling just this, which is only the Security updates.  Test that it works and add your other patterns, one by one, until you add each and verify that each updated doesn't break your dry run testing.

I'd also recommend specifying Ubuntu and writing completely different configuration files for Debian systems, if you have a mix.

Be sure you aren't holding any packages that could prevent updates:

$ sudo apt-mark showhold

Be sure that you can install the updates normally, or that apt is configured to prioritize each release type correctly:

$ cat /etc/apt/preferences.d/custom
Package: *
Pin: release a=bionic
# Only explicit installs
#Pin-Priority: 1001
# Explicit and dependencies
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 399

Package: *
Pin: release a=unstable
Pin-Priority: -10

Some updates will require a machine reboot and you will have to decide if you do that manually, or allow apt to restart the machine at a given time when required by updates.


Some application icons are not shown on Plasma under Ubuntu 16.04

I had this problem too, but I found a fix! Well, a workaround...

What you want to do is find on your computer or on the internet the missing icons, and put them in a folder (try to find 256x256 icons), for example Pictures/custom-icons.

Then, you copy all those icons in the folder /usr/share/icons/hicolor/256x256/apps

To do so, open a terminal and enter sudo cp -a /home/YOURUSERNAME/Pitcures/custom-icons/. /usr/share/icons/hicolor/256x256/apps

You now have working icons! To apply them, right click on the application launcher and select edit application. Now, select the application you want and click on the empty box, next to the name field. Choose System icons -> Applications, and enter the name of your icon.

Hope it helps!


YES
Yes it is free as stated many times here:

Is Ubuntu Desktop free for a business solution?

BUT
In a 200 person company at $100K per head (salary + benefits + cost of desk space) it's a 20 million per year cost just for that plus inventory, warehousing, offices, consultants and contractors. The $50 cost x 200 machines for Windows is the least of your concerns.
Your computer systems will cost millions for accounting, operations and mission critical applications.
Your senior executives will cost $250K + and will come with their own preferences for JD Edwards running on AS/400, or SX.e running on Windows/Linux or Navision on Windows, or SAP on a variety of platforms.
Chances are 100 to 1 the people you hire that know spreadsheets (a big part of business) will know Microsoft's Excel and not Ubuntu's offerings.
So the cost of $50 / seat Windows 10 is really a moot point IMHO.


Ubuntu 12.10 won't upgrade nVidia Drivers

nvidia-settings-updates and nvidia-settings-experimental are two version of the same software, you shouldn't use them both at a time, or you'd get an error as above. Uninstalling one of them should be fine.


Finally I fixed it, I used to have installed the Nvidia drivers (current version), but I chaged it to version 96, through the additional drivers option, and now everything is working fine, version 173 did not work for me.


I found a solution that might fit for you in the following question:
Changing login screen wallpaper

They recommend using the following commands:

sudo -i
xhost +SI:localuser:lightdm
su lightdm -s /bin/bash
gsettings set com.canonical.unity-greeter draw-user-backgrounds 'true'
gsettings set com.canonical.unity-greeter background 'imagepath'
exit

replace imagepath with your actual image path and then it should work fine. Make sure that your path is correct, because otherwise it may result in a black background.


Turning screen off when running in without window manager running

I would simply close the laptop lid to keep dust off the keyboard and power off the screen.

As no desktop manager is running you need to edit /etc/systemd/logind.conf and change this line:

#HandleLidSwitch=suspend

to this:

HandleLidSwitch=ignore

Save the file and use systemctl restart systemd-logind


You need to specify filesystem type explicitly:

sudo mount -t vfat /dev/sda2 /media/external

(you can also try fat, msdos and umsdos). The particular format (FAT32, FAT16 or FAT12) should be detected by the driver automatically, however, you can override it with fat={12|16|32} option.

See man mount for more details on FAT-specific mount options.


What's the recommended way to install Wordpress from packages on a server?

Using packages from ubuntu repos is a best way to get tested software but also be informed that it might take some time before you get new package updates and these updates usually come with new ubuntu versions. Okay so let's get started.

follow the link < http://wordpress.org/latest.tar.gz> to download latest stable wordpress package.
deflate (uncompress) its content to your web server's root folder. Usually /var/www/. Ensure that in the your web servers root folder you can find the following folders just to be sure wp-admin, wp-content, wp-includes
then go to your server address and begin the 5 minute install. You said yours is at http://91.xxx.xxx.xxx
if later on you want wordpress in another folder deflate the wordpress package to /var/www/blog if you want it to appear at http://91.xxx.xxx.xxx/blog


How does one reduce the speech rate in the Read Text Extension in Libreoffice?

You need to modify a file installed by the Read text extension, espeak_read_text_file.py.
First locate this file on your system:
$ sudo updatedb
$ locate espeak_read_text_file.py
/home/sylvain/.config/libreoffice/4/user/extensions/tmp/extensions/lukglria.tmp_/read_text.0.8.20.oxt/python/espeak_read_text_file.py
/home/sylvain/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lukglrib.tmp_/read_text.0.8.20.oxt/python/espeak_read_text_file.py

Open the one located in ~/.config/libreoffice/4/user/uno_packages.
Line 155 you should see a command like the one below:
s1='"'+sCommand+'" -v '+sVoice+' -w "'+sTMP1+'" '+sTXT

Change it for this one instead:
s1='"'+sCommand+'" -s 120 -v '+sVoice+' -w "'+sTMP1+'" '+sTXT

This will use the -s <integer> option of espeak (Speed in words per minute, default is 160)
linuxfreebird's additional note
The code is space sensitive.
    if "windows" in platform.system().lower():
      sCommand=readtexttools.getWinFullPath("eSpeak/command_line/espeak.exe")
#    s1='"'+sCommand+'" -v '+sVoice+' -w "'+sTMP1+'" '+sTXT
    s1='"'+sCommand+'" -s 140 -v '+sVoice+' -w "'+sTMP1+'" '+sTXT
    readtexttools.myossystem(s1)
    readtexttools.ProcessWaveMedia(sB,sTMP1,sIMG1,sOUT1,sAUDIBLE,sVISIBLE)

Make sure that the line starting with s1 is inline with the readtexttools indicated in the code above. If their is a space misalignment, the code will not execute correctly.


Look at the following Line:

Failed to fetch cdrom://Ubuntu 10.04.4LTS_Lucid Lynx_-Release i386 (20120214.2)/dists/lucidmain/binary-i386/Packages

Ubuntu tries to look for Software on a CD-ROM that does not exist.
Please remove the old CD-ROM Repository from your repositories.

To do so, go to Settings -> Software & Updates (beyond System)
Then, uncheck all CD-ROM repos.

Then run

sudo apt-get update

and retry reinstalling Ubuntu One.

If there is still no success, run the following command:

sudo nano /etc/apt/sources.list

Look for every line, that has to do with CD-ROM. Comment it out by adding a # at the start of the line.

For instance:

...
#deb cdrom: ....
...

Then, to save the file, press CTRL + O and then commit the file name with [ENTER].
Then, exit the command line editor with CTRL + X

After that, re-run

sudo apt-get update

and retry installing Ubuntu One.


Can't shutdown ubuntu after install openafs client and create cache file

There are a wide variety of potential reasons for this. I can't comment to ask for more info, so I'll do the best I can here :)

One thing to do is to look for any messages that mention "afs" in the kernel log. Either look in /var/log/kern.log, /var/log/syslog, /var/log/messages, or the output of the dmesg command. AFS may be complaining that it cannot contact certain servers, which could explain why something is hanging.

Another way to look into this further is to get a stack trace of all processes on the system. You can do this by running the following as root:

# echo t > /proc/sysrq-trigger

(Reference: https://www.kernel.org/doc/Documentation/sysrq.txt)

After running that, there should be a ton of information logged to the the kernel log (either /var/log/kern.log or others, as mentioned above). You'll need to provide that information to an OpenAFS developer so they can interpret it and say what's going on. You could send that information to openafs-info@openafs.org, or openafs-bugs@openafs.org. Be sure to include the version of OpenAFS you are running, as well as what platform (version of Ubuntu, or Linux kernel version). You should also provide the output of cmdebug <hostname> if you can, where  is the machine that is hanging.


Ubuntu 14.04 wont recognised Android phone

Please check in which mode you're connecting phone with Ubuntu from below :

Media Transfer Mode(MTP)
Mass Storage Mode(MSC)

If it is MTP, change it to MSC. It should work now.


How do I restore a specific folder from an encrypted backup?

Open your Home directory in Files
Right click on the Videos directory
Select "Revert to Previous Version…"

Alternatively, if your Videos folder doesn't even exist anymore:

Open your Home directory in Files
Right click on the background white space
Select "Restore Missing Files…"


Old timer attempting to make the big switch

PDF-Shuffler is a small application which allows one to merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface. To install PDF-Shuffler in all currently supported versions of Ubuntu open the terminal and type:

sudo apt install pdfshuffler

All the pages being edited in are arranged on the same canvas. You can edit PDF files in PDF-Shuffler by selecting a page or a file and dragging it to a new position, including dragging it in or out of the canvas.


The new location seems to be:

/usr/share/X11/xorg.conf

Not sure if that will help though.


Can I install Nautilus 3.4(Ubuntu 12.10) into UbuntuStudio 14.04

Short answer - you may install any file manager you want, but it won't be default file manager. Personally, I have Dolphin installed, but Nautilus is still default and whenever I say to firefox to open a downloaded file in folder, it opens with Nautilus.

If you want to change default file manager you can refer to this post, just make sure to adjust accordingly ( since this post is for making Dolphin a default file manager )


If your laptop has UEFI with secure boot enabled, you will need to go to BIOS, find a setting in there that says something like trust an EFI binary, select Ubuntu/shimx64.efi, and change your boot priority so that Ubuntu's boot manager gets loaded before Windows.


How do I enable wobbly windows in Ubuntu 20.04 LTS?

Install this Gnome extension Compiz alike windows effect
But first install GNOME Shell integration for your browser Google Chrome, Firefox You can also use Chrome extension for MS Edge and Opera browser, after that click on the off button to install the extension
Also you can change settings, update, remove the extension form the same link Compiz alike windows effect


Your security groups look like the VPC version, if that's the case I had to open UDP123/UDP* on my Network ACLs in order for it to work. VPCs have two layers of packet filtering, the Network ACL followed by the Security Groups. The SGs are STATEFUL (do not require inbound rules when connecting out first) but the NACLs are STATELESS (require rules to receive packets). Once I added the appropriate configuration line NTP worked perfectly.

I only added the line to my external NACL which run my service instances so they can access the outside NTP, they then run an NTP proxy for the rest of my network.

Good luck!


Are security.ubuntu.com updates eventually merged into normal updates?

Short answer: no. Security updates never become "recommended" updates.

security.ubuntu.com is the same as archive.ubuntu.com (try pinging both and checking the IP they resolve to)

Compare the contents of security, and archive

What matters for critical security updates is the -security repository, which is carried by all mirrors (e.g. precise-security)

The only reason I can think of that Ubuntu keeps using security.ubuntu.com instead of your local mirror is to minimize the risk of any problems if that mirror does not regularly sync to the master repository
If your mirror is updated regularly, you can just add/edit a line such as:

deb http://xx.archive.ubuntu.com/ubuntu precise-security main restricted

  From the official repository description:

  "Important Security Updates (lucid-security)". Patches for security vulnerabilities in Ubuntu packages. They are managed by the Ubuntu Security Team and are designed to change the behavior of the package as little as possible -- in fact, the minimum required to resolve the security problem. As a result, they tend to be very low-risk to apply and all users are urged to apply security updates.
  "Recommended Updates (lucid-updates)". Updates for serious bugs in Ubuntu packaging that do not affect the security of the system.


How can I configure my headless server to connect to a wireless network automatically?

After doing a lot of research I've gotten it working.  Since I have an Intel wireless card I didn't have to install any extra drivers, but you might have to, depending on the card you have.
First you need to figure out what interface your wireless card is using. We use the iwconfig command for this:
iwconfig

In my case my wireless card is the wlan0 interface, so I will be using that. Now we need to scan for wireless networks:
iwlist wlan0 s

This should give lots of output, showing the details of the various wireless networks in your area. It's usually easier to filter by ESSID. grep helps us out here:
iwlist wlan0 s | grep ESSID

This will list the names of all the wireless networks in your area.  Now it's time to connect to your network.
Unsecure and WEP networks
If your network is unsecured or is secured by the older WEP (time to upgrade your security or router!) connecting is relatively simple. If your network is unsecured you should be able to connect with this:
iwconfig wlan0 essid NAME_OF_NETWORK

If your network is WEP protected just add the key argument followed by your password, like this:
iwconfig wlan0 essid NAME_OF_NETWORK key PASSWORD

You might have to run
dhclient

To get your router to assign you an IP address.
WPA/WPA2
WPA/WPA2 is a bit more complicated. You will need to use wpa_supplicant. First create the config file in /etc:
sudo wpa_passphrase NETWORK_NAME NETWORK_PASSWORD > /etc/network/wpa_supplicant.conf

Now we need to connect:
sudo wpa_supplicant -B -iINTERFACE_NAME -cPATH_TO_CONFIG -DDRIVER

For example:
sudo wpa_supplicant -B -iwlan0 -c/etc/network/wpa_supplicant.conf -Dwext

-B runs wpa_supplicant in the background. The wext driver should work in most cases. To see other drivers run:
wpa_supplicant

For more information on getting connected see How to connect and disconnect to a network manually in terminal?
Get connected on startup
Now we need to edit /etc/network/interfaces.  Open it in your favorite editor (vim, nano, etc); you'll need to use sudo.
Remove everything except:
auto lo
iface lo inet loopback

(the loopback device). Now add:
auto wlan0
iface wlan0 inet dhcp

pre-up <COMMAND>

Where wlan0 is your wireless interface and <COMMAND> is the command you use to connect to your network (see above).  For example if you're network is unsecured you would add:
pre-up iwconfig wlan0 essid some_network_name

If your network is secured with WPA/2 you would add something like this:
pre-up sudo wpa_supplicant -B -iwlan0 -c/etc/network/wpa_supplicant.conf -Dwext

If you're using wpa_supplicant you should also add:
post-down sudo killall -q wpa_supplicant

Save the file, restart, unplug your ethernet and try running:
sudo apt-get update

If the command completes successfully congratulations! You're online! If the command does not complete successfully please add a comment below.
Examples and Explanations
If your network is unsecured or secured with WEP your /etc/network/interfaces should look similar to this now:
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

pre-up iwconfig wlan0 essid some_network_name
# note: if WEP secured you would also have a 'key' argument with your password

If your network is WPA/2 secured your /etc/network/interfaces should look similar to this:
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet dhcp

pre-up sudo wpa_supplicant -B -iwlan0 -c/etc/network/wpa_supplicant.conf -Dwext

post-down sudo killall -q wpa_supplicant

Now an explanation.

auto wlan0: Starts the wlan0 interface automatically.

iface wlan0 inet dhcp: Gets us an IP address through DHCP

pre-up: Specifies the command(s) to get the connection going.

post-down: Specifies the command(s) to be used to clean up after ourselves (if necessary).

Sources:

http://www.squaregoldfish.co.uk/2010/03/11/a-wireless-headless-linux-box/

How to connect and disconnect to a network manually in terminal?

Personal experience and lots of tinkering.


How to upgrade Ubuntu 9.10 to 12.10 via terminal?

An upgrade from Ubuntu 9.10 to 12.10 is too much of an effort. Most of the packages will have been updated/upgraded. Chances of breakage are too much. Please save all the important files/documents and install a fresh copy of Ubuntu 12.10. It would be better to install 12.04 because it has a long term support.

As to the problem of not being able to boot from USB, press ESC or F12 or some such button to get into BIOS. It is shown while booting how to get into BIOS.

Regards

"Here's how you boot from the stick: after pressing the power button, the F2 key should be pushed a couple of times to get into the eeePC's BIOS menus. The "quick boot" under the Boot tab should be disabled. Use F10 to save the setting and then as the Netbook reboots hold down the ESC key."