dmesg gives you some useful tips (see the picture you posted).

Your rule for udev must be incorrect: see the lines where ftdi_sio tells the parameters are unknown/ignored. Anyway, loading this module has some result: your adapter is now known as a serial adapter and the ttyUSB0 created, but it is said the driver is experimental and you should ask linux-usb@vger.kernel.org to add your adapter to a correct driver (I would do that in your place, it's most probably the better way to go).

Now, about the permission denied, you could:

list the /dev  folder with ls -l to find the group owning the ttyUSB0. (probably tty). It should have rw permission on it.
make the user running your app member of this group, for instance with sudo adduser theuser thegroup. It should fix the permission problem.

And BTW, when the output of a command like modprobe -c is too large, you can either pipe it to less or to grep:

sudo modprobe -c | less

sudo modprobe -c | grep ftdi_sio


systemctl edit problem "Failed to connect to bus"

I just came across a similar problem, it was caused by trying to run a service as a user I was not logged in with (this user has login disable, and I was using su and sg to fake it).

Why sudo ?

You have probably added sudo because the command was not working, you can safely remove it. A user systemd service is a regular file owned by the regular user.

Fixing Failed to connect to bus: No such file or directory

I found the solution on stackexchange, the DBUS_SESSION_BUS_ADDRESS seems to be missing from your environment.

Your command can be run as this:

export XDG_RUNTIME_DIR="/run/user/$UID"
export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
systemctl edit --user --full --force wagoOpenhabBridge.service

Running the command before login

If you want the service to be started before the user login, don't forget to run:

sudo loginctl enable-linger USERNAME


Making ubuntu try-able by other systems on the network using Network Boot?

PXE (Preboot Execution Environment) is what you're probably looking for. With it you can boot many computers up to either an install process (so you could install Ubuntu on a dozen machines at once) or a desktop setting. There are a billion and five separate guides rotting in the Wiki but here are two of the best I've seen:

https://help.ubuntu.com/community/Desktop/PXE
https://help.ubuntu.com/community/DisklessUbuntuHowto
Some of the LTSP pages are handy too.

Straight PXE booting like this creates a "fat client". All the computing happens on the client end and (by default). This is good if all the clients have enough computational power but less good if you'd rather have a powerful server and lots of underpowered "thin clients". There's also no effort (by default) to sync users or their files.

If you want to continue the idea to booting full desktops with sync files, you should have a look at LTSP. It supports both thin and fat clients and is good for proper deployments with multiple users.

I've thought about this before but my main problem with PXE is you need to set up a separate network with its own DHCP server. It can all be done from within an Ubuntu desktop but it can get pretty complicated when it comes down to joining the two networks. If you want the Live CD clients to have an Internet gateway, for example, it gets pretty hairy. Extremely possible but it can give you a headache.


Logging in after sleep shows desktop prior to authentication screen

I had the same issue after having installed fingerprint-gui in Ubuntu 12.04.1 64-bit. Uninstalling fingerprint-gui solved the problem.
To uninstall fingerprint-gui, see this page for example:
http://knowledge76.com/index.php/Fingerprint_Reader_Usage


What are some large, office printers that work well with Ubuntu?

I just wanted to post this for future reference for anyone in my shoes:

I found that Konica/Minolta C-454e. The drivers on the site were perfect for our office and we haven't had any issues since installation (02-01-2015).

I found my drivers on the Konica Minolta Site which were last updated in 2013 by the manufacturer.

I am very pleased with the performance.


PulseAudio can not load bluetooth module

Solved by using SimFox3 answer in this thread.

Bug and possible solution: actually I found a bug in that make the headset unusable, it seems that the pulse audio module: module-bluetooth-discover works only if started after the X11 session is up. So I have a workaround.
Edit the file:
/etc/pulse/default.pa

and comment out (with an # at the beginning of the line) the following line:
#load-module module-bluetooth-discover

now edit the file:
/usr/bin/start-pulseaudio-x11

and after the lines:
   if [ x”$SESSION_MANAGER” != x ] ; then
        /usr/bin/pactl load-module module-x11-xsmp “display=$DISPLAY session_manager=$SESSION_MANAGER” > /dev/null
    fi

add the following line:
    /usr/bin/pactl load-module module-bluetooth-discover

This way the Pulse audio’s Bluetooth modules will not be downloaded at boot time but after x11 is started.


GUI Hangs when using multiload-indicator

I've found that killing gnome-shell works for me in similar circumstances (either from ssh, or using ctl-alt-F1 to bring up a console prompt):

pkill -hup gnome-shell

However, that's a fix for the symptom, not a way of resolving the root cause.


Gzip and rename (remove .gz extension) all files except images and PDFs?

Step 1: make a backup. Then use find to filter your files and run gzip and then move the file back to the original filename:

find -type f -not \( -iname '*.ico' -or -iname '*.jpg' -or -iname '*.png' -or -iname '*.gif' \) -exec gzip "{}" \; -exec mv "{}.gz" "{}" \;

This is a destructive command so please be careful. Remove the -exec... commands to begin with to make sure it's only selecting files you want to compress.


How to install multiple versions of the same package

No, both libfltk1.1-dev and libfltk1.3-dev cannot be installed at the same time. This is because the headers (among other files) in both packages are installed at the same location and therefore would be conflicting.

Edit: Since these are two different programs, the following steps can be followed:

Install libfltk1.1-dev.
Compile the program that needs libfltk1.1-dev.
Remove libfltk1.1-dev, but make sure libfltk1.1 is kept.
Install libfltk1.3-dev.
Compile the program that needs libfltk1.3-dev.
(Optional) Remove libfltk1.3-dev, but make sure libfltk1.3 is kept.

The reason this works is that the -dev packages (which depend on the corresponding shared library package) contain the headers needed to compile a program, but are not needed to run the program. The shared library package contains the actual library that is needed to run the program, and so this package has to be installed to run the program.


I started with this lifehacker article to set me up which led me to this ubuntu forums thread with lots of config files to help customize everything.

This Google search helps to find some more scripts ready.


Unity3D is being released via a "Download Helper" now. Instructions to use it are as follows:

Head to the Unity-on-Linux Release Thread and go to the last page. The last post will contain the latest release. As of the time of this posting, that's this one. Download it.
Make that download executable. For example, chmod +x UnitySetup-2018.2.7f1
Install the prerequisites via

sudo apt install libgtk2.0-0 libsoup2.4-1 libarchive13 libpng16-16 libgconf-2-4 lib32stdc++6 libcanberra-gtk-module

Run the installer.

~/Downloads/UnitySetup-2018.2.7f1

I like to place it in the /opt folder once it's installed and create a link so that I can launch it from the command line.

cd
sudo mv Unity-2018.2.7f1 /opt/Unity3D
sudo ln -s /opt/Unity3D/Editor/Unity /usr/bin/unity3d

Once that's done, you can type unity3d to launch the Unity3D Editor.


Where to install bootloader on ubuntu? (boot with UEFI mode)

If Windows is already installed, you should have an EFI partition available and this is the partition to use. Make sure it is actually "used as" an EFI partition mounted on /boot/efi (do not format it again).

If you are not using LVM, LUKS, etc; a dedicated /boot/ partition is not necessary.


How can I change semaphore and shared memory values?

You can get the values of semaphores and shared memory with command:

ipcs -a

You can change them with command:

sysctl

(and by making changes in /etc/sysctl.conf)

You can check this page for more info about making these changes

Below is an extract from CommVault documentation about setting shared memory:

  The minimum recommended value for the SEMMNI parameter is 128. Use the
  following formula to calculate the value for the SEMMSL parameter:
  Non-MediaAgent: SEMMSL = 1 * number_of_desired_streams MediaAgent:
  SEMMSL = 12 * number_of_desired_streams Use the following formula to
  calculate the value for the SEMMNS parameter: SEMMNS = SEMMSL * SEMMNI
  The SEMOPM and SEMMSL parameter values must be equal. If any
  applications or databases are running on the client, the parameters
  must be increased accordingly.


can't install SDL-1.2.15 on Ubuntu 12.04

Okay, so many hours of googling have revealing the solution.  I needed to use:

sudo sh ./configure

The explanation as to why can be found here:

http://forums.libsdl.org/viewtopic.php?t=8083&highlight=configure+command

 "`cd' to the directory containing the package's source code and type
 `./configure' to configure the package for your system.  If you're
 using `csh' on an old version of System V, you might need to type
 `sh ./configure' instead to prevent `csh' from trying to execute
 `configure' itself."

Still don't really understand what's being said even after further research.


Ubuntu Login loop, can't login either in console

So it might seem really weird but here is the solution if you encounter the same problem :

Simply give a different name to your admin account than your virtual computer name. I had the same troubles with Ubuntu and Mint and the solution worked there too. I know it makes no sense but... it works.


Graphical glitches in chromium-based apps

It turned out that problem solves by restarting computer. Thanks anyway guys.


Simple, just use:

sudo apt-get remove unity-webapps-*appidontlike*

i.e.

sudo apt-get remove unity-webapps-twitter

Examples:

unity-webapps-amazoncloudreader - Unity Webapp for AmazonCloudReader
unity-webapps-angrybirds - Unity Webapp for AngryBirds
unity-webapps-bbcnews - Unity Webapp for BBCNews
unity-webapps-cuttherope - Unity Webapp for CutTheRope
unity-webapps-facebookapps - Unity Webapp for FacebookApps
unity-webapps-facebookmessenger - Unity Webapp for FacebookMessenger
unity-webapps-gmail - Unity Webapp for GMail
unity-webapps-googlecalendar - Unity Webapp for GoogleCalendar
unity-webapps-googledocs - Unity Webapp for GoogleDocs
unity-webapps-googleplus - Unity Webapp for GooglePlus
unity-webapps-grooveshark - Unity Webapp for grooveshark
unity-webapps-hulu-player - Unity Webapp for hulu-player
unity-webapps-lastfm-radio - Unity Webapp for lastfm-radio
unity-webapps-launchpad - Unity Webapp for Launchpad
unity-webapps-librefm - Unity Webapp for LibreFm
unity-webapps-linkedin - Unity Webapp for LinkedIn
unity-webapps-livemail - Unity Webapp for LiveMail
unity-webapps-mail-ru - Unity Webapp for mail-ru
unity-webapps-newsblur - Unity Webapp for Newsblur
unity-webapps-pandora-com - Unity Webapp for pandora-com
unity-webapps-qq-mail - Unity Webapp for qq-mail
unity-webapps-reddit - Unity Webapp for Reddit
unity-webapps-tumblr - Unity Webapp for Tumblr
unity-webapps-twitter - Unity Webapp for Twitter
unity-webapps-vkcom - Unity Webapp for Vkcom
unity-webapps-wordpress-com - Unity Webapp for wordpress-com
unity-webapps-yahoomail - Unity Webapp for YahooMail
unity-webapps-yahoonews - Unity Webapp for YahooNews
unity-webapps-yandex-music - Unity Webapp for yandex-music
unity-webapps-yandexnews - Unity Webapp for YandexNews
unity-webapps-youtube - Unity Webapp for YouTube

Each web app is its own package. I don't think any of them are dependent on each other, so you shouldn't have any issues uninstalling ones you don't need/use.

The Amazon and Ubuntu One Web Apps seem to be baked in to the web apps application, so you cannot remove these by simply uninstalling the package. The easiest way to remove these is to install Unsettings. This is a tweak tool, similar to Ubuntu Tweak. It is not available in the repos, so you have to install its PPA:

sudo add-apt-repository ppa:diesch/testing
sudo apt-get update
sudo apt-get install unsettings

Now that you installed it, fire it up and select the "Web apps" tab on the left side. To disable a web app, simply move the websites that use it from either Pre-authorized or Enabled to Disabled, then click the apply button (the little gears).


how to review a complete process/application activity?

there is a tool named as Health check tool.

Health-check can monitor:

CPU utilisation
Wakeup events
Context Switches
File I/O operations (Open/Read/Write/Close using fnotify)
System calls (using ptrace)
Analysis of polling system calls
Memory utilisation (including memory growth)
Network connections
Wakelock activity

To install it open your terminal and type as

sudo add-apt-repository ppa:colin-king/white
sudo apt-get update
sudo apt-get install health-check

For information of what It can do please click here


Ubuntu runs filesystem check on every boot

As far as I understood NVMEs are different from the HDD or SDD disks. So fsck might not get the results you need.
First you should check the NVME wearout of your "disk".
In addition to that you may have a look at the nvme-cli commandline tool. It might help you to get it aligned.
Edit
As sudodus suggested I'd like to clarify my answer. Instead of using the fsck command (or the equivalent in gparted) to format a nvme, the nvme-cli command offers command to do so.
nvme-format,which is part of the nvme-cli suite, will format a namespace (partition).In addition multiple different analyze commands will narrow down the problem of your nvme.
I'm using a nvme on debian, which I had to format with this tool during setup (that was 4 years ago), because the standard tools did not work....
See the debian man page as well


Is there an iphone-like reminder app for ubuntu desktop?

Found something really similar and perhaps better.
reminders-app.

video.


How many hours the computer is running for upgrade linux ubuntu?

That's three or four times as long as any Ubuntu install or upgrade I've ever experienced, and I've done something like 40 or 50 of them.

Did your internet perhaps go down? Check your router. You did back up all your user files before you started, right? Because this is why you never trust any upgrade or install procedure that's supposed to leave your data untouched. It's still probably there, safe and sound, but if you have to start over, you may end up doing an install from a DVD or live USB.

If you do end doing a re-install, you should still be able to copy your user data off to a USB drive by booting from an install disk or DVD and choosing "Try out Ubuntu without installing".


Command to quit[cleanly] GUI applications from a tty?

The standard way to notify a POSIX application to close, while still having a grace period to do cleanup is to send it the SIGTERM (wikipedia link) signal. The SIGKILL (wikipedia link) signal, on the other hand, kills the application without even giving it a chance to tidy up.

However… both of your actions - calling top (by the way I would recommend that you switch to use htop instead of top) or killall - send the SIGTERM signal by default.

And I have just tested firing Firefox up - and trying it both with SIGKILL and SIGTERM. With SIGTERM, when I took Firefox again, I did not get any error or "restoration" message. With SIGKILL, I got the it's embarrassing screen.

So, the reason is simple: The instance of X for these apps is frozen. All these GUI applications operate under the premise that their instance of X is functioning properly. They probably cannot even try anything if X is frozen.

The way to solve your problem is to determine why X is freezing, and prevent that from happening.

Edit: Ah, sorry -  just saw that you talk about using the Ubuntu alpha/beta when X freezes. In which case… I would say it is part of the excitement of running an alpha/beta. Try to understand why it freezes, write/add to a bug report. In order to speed Firefox's startup in these, simply tell it to not reload the same tabs when it reopens. (You can still find these tabs in history). For the other applications, their cleanup actions are rather trivial - it should not cost you much that they didn't happen.


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

Watch this and download that usb program. Just make sure to select lubuntu and the rest is pretty intuitive. You'll have a working usb stick to install lubuntu on the hp mini.


How to use ubuntu server full screen in virtualbox?

You can have the ubuntu server console in VirtualBox start at a resolution that your graphic card supports via the virtualbox environment.

Quick Steps

Check the resolutions your graphic card supports via the VirtualBox Environment (VBE).You should be able to find that out by issuing the command 'vbeinfo' in the GRUB console (hit the C key when the GRUB boot menu shows up).
Pick one resolution, then open '/etc/default/grub' (e.g. sudo vim /etc/default/grub) and change the line #GRUB_GFXMODE=640x480 to something like this GRUB_GFXMODE=1152x864 (where 1152x864 should be your custom resolution which is also supported by your graphic card).
Now run these two commands one-by-one:

sudo update-grub
sudo reboot

You should now see your VM's console in the custom resolution that you just set.

(PS: As Javier Rivera said, full screen resolution may not be possible.)


How to backup data of first computer to the hard drive of second?

You may use nfs to mount your directory from second computer.

Setup nfs server on second computer:

apt-get install nfs-server and start nfs server.
Let say you have mounted the External HDD on the /mnt/backup, so we will export this as NFS share.
Edit /etc/exports:

/mnt/backup  *(rw,no_root_squash,async)

Export the share:

exporfs -a

To verify:

exportfs

On the first computer:

nfs-common should be default package, if not, install apt-get install nfs-common.
Mount the NFS share:

mount first:/mnt/backup /mnt/backup

Deja Dup:
Now you will able to backup using Deja Dup via Folders option.


You have to setup an account on Github and then you can access remote repositories. Github does not provide shell access so you cannot ssh to a git account at github.com.

Use the following link to setup your account and get started with github https://help.github.com/en#dotcom

All of the steps can be found under Setup


Auto-starting a GUI application that requires sudo

This is not actually my answer. This answer was given by a user (@steeldriver) in this post.

I added the following to the start-up applications:

sudo -H -u root -- /usr/bin/mono /usr/lib/AirVPN/AirVPN.exe path=/home/nanostuff/.airvpn

and:

nanostuff    ALL=(ALL) NOPASSWD: /usr/bin/mono /usr/lib/AirVPN/AirVPN.exe path=/home/nanostuff/.airvpn

to the sudoers file, using sudo visudo.

After all that, it works! Thank you steeldriver and ubuntuforums!


There is a settings named titleBarStyle. Set it to "custom". In settings.json it should be look like this:

{
  "window.titleBarStyle": "custom"
}

If you don't want to edit settings.json manually, the "Title Bar Style" setting is in Settings → Window -- or just begin to type title bar in the "Search settings" text box and it will be found:

In either case, VS Code must be restarted to apply the change, and once the change has been applied, VS Code looks like this, with the title bar and menu bar merged into one:


Scheduled download by transmission during nightly hours? (downloading just at a specified period of a day)

The Speed Limit in Transmission throttles the upload/download speeds during the time set. What you want to do is set the upload/download speed values to 0 and implement that starting at 0800 and end at 0200. That should deactivate all uploads/downloads starting at 8am until 2am the following day.


According to the rmadison svgalib-bin, this package was last available for Ubuntu 14.04 LTS (trusty):

$ rmadison svgalib
svgalib | 1:1.4.3-31 | precise/universe | source
svgalib | 1:1.4.3-33 | trusty/universe  | source

If you really need this application, then download and install all necessary packages manually from 14.04 LTS repositories:
cd ~/Downloads
wget -c http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/multiarch-support_2.19-0ubuntu6.15_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/svgalib/libsvga1_1.4.3-33_amd64.deb
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/s/svgalib/svgalib-bin_1.4.3-33_amd64.deb

sudo apt-get install ./multiarch-support_2.19-0ubuntu6.15_amd64.deb ./libsvga1_1.4.3-33_amd64.deb ./svgalib-bin_1.4.3-33_amd64.deb


How large can Nautilus's thumbnail cache grow?

Thumbnail cache is limited to 512MB, so several hundred megabytes sounds logical. It also shouldn't keep files older then 180 days.

If you want to change it, try gconf-editor, /desktop/gnome/thumbnail_cache.

Exactly the same solution is aplicable to 12.04. You may need to install gconf-editor, other then that, nothing has changed.

Update

For 14.04 you need to install dconf-tools, and launch dconf-editor.


I have had a similar problem after a recent update on Debian and I managed to fix it by un-commenting the line load-module module-alsa-sink on the /etc/pulse/default.pa file. This is definitely a bug as the module-udev-detect Pulseaudio module should handle this... but, regardless the workaround works fine, until they figure out what's wrong with the detection module. For some reason Pulseaudio was falling back to the "Dummy output" sink (AKA null sink) instead of providing a default sink to the card it did manage to find...

For reference sake I'm using a HDA ATI SB card on a Realtek ALC887-VD chip on an old M5A78L-M LX/BR ASUS motherboard. Hope this information helps others with the same issue until a fix lands on the respective package(s)!

EDIT: probably unnecessary but it doesn't hurt to remove the directory ~/.config/pulse/ (or ~/.pulse/). It will be regenerated  onthe next PA run.


How to have Thunderbird notify of new messages without having it in the launcher

You appear to want to check email (POP3, IMPA4, social networking) without Thunderbird (or similar) being visible (or running).

I suggest you look at an applet like: Popper

Popper – Feature-filled e-Mail notification applet for Ubuntu

http://www.omgubuntu.co.uk/2010/09/email-notification-in-ubuntu-popper/


File carving/recovering software 14.04.01

I would advise, if possible, to work from a cloned image of the external drive using dd. This would greatly reduce any chance of further problems in using the drive itself.

You could also try Foremost. I've had some luck in recovering files with this software. It has similar features to Photorec.


Webcam no longer works after upgrade from 16.04 to 18.04

Hello i have the same web cam, i did:
sudo nano /etc/enviroment
and added:
LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so

then rebooted the system and it works with all the programs including the browser.
To turn off the webcam without unplugging do:
sudo modprobe -r gspca_ov519

To turn it back on do:
sudo modprobe gspca_ov519

Also make sure you've installed libv4l or v4l-utils and the equivalent 32-bit packages, if you need them.


Can only boot into Recovery Mode on Asus Eee PC 1005PE

Okay, figured it out. I knew as soon as I posted something I'd find the obvious solution:

I updated the BIOS to the latest version and everything works a lot better.

A tip to make it easiest so you don't waste your time downloading helper apps:

Download the .ROM file to a USB drive formatted as FAT16.  Rename the file 1005P.ROM (or the appropriate model for your ASUS)
When booting the ASUS, hold down Alt+F2.
It will search for a USB drive and the appropriate file and take care of the rest.


How to remove all files and subdirectories in a directory WITHOUT deleting the directory in bash?

To remove everything in a directory without removing the directory, type in:

rm -rfv dontDeleteMe/*

Please note, the /* part is very important. If you put a space before the *, it will delete all your files in your current directory.

Also, be very careful playing with rm, -r and * all in the same command. They can be a disastrous combination.

Update:  Okay, I realized if you do have hidden/dot files [filenames with dots at the beginning, e.x. .hidden] then this will leave those files intact.

So really, the simplest solution to the original question is:

rm -rfv dontDeleteMe && mkdir dontDeleteMe

Another one would be to use find's -exec option or pipe to xargs (below):

find dontDeleteMe/* -print0  | xargs -0  rm -rv


black screen on boot (DVI) - Radeon 9550/9600/X1050 Series - Lubuntu 13.04

Older video cards may fail to produce a good quality high resolution image on DVI. Most likely because of frequency instability (?). Default modeline for 1920x1080 results in a very high frequency that RAMDAC (?) on your video card fails to operate at.

You can try to reduce blanking time (RBT) and as a result lower frequency. You have to add new modelines with xranrd as described here. Instead of using cvt or gft, I suggest to use umc. The reason for this is that it can calculate modeline for lower refresh rate with --rbt, e.g. my monitor supports as low as 49.9 Hz refresh rate. cvt would insist on multiples of 60Hz.

Note on comment reply about LVDS... according to your output you should use DVI-0 when adding and setting new modelines.


Problems with Intel Centrino Wirless-N 1000

I outline a potential fix for this in post https://askubuntu.com/questions/131912/wireless-not-working-on-dell-xps-17-after-installing-12-04, I'm copy the answer below:

I've got a Dell XPS 17 (l702x) with an n-1000 I'd like to get working under Ubuntu 12.04 (once I install it). So, lending heavily from this post:

The fix seems to involve downgrading the n-1000's firmware.

Please downgrade the firmware with iwlwifi-1000-ucode-128.50.3.1.tgz (for ease, save it to your desktop). You can right-click it and select 'Extract' or issue the following at a terminal prompt:

tar xzvf ~/Desktop/iwlwifi-1000-ucode-128.50.3.1.tgz

Again, in the terminal, back up the current firmware:

sudo mv /lib/firmware/iwlwifi-1000-5.ucode /lib/firmware/iwlwifi-1000-5.bak

Now copy over the downloaded firmware:

cd Desktop/iwlwifi-1000-ucode-128.50.3.1/
cp iwlwifi-1000-3.ucode iwlwifi-1000-5.ucode
sudo cp iwlwifi-1000-5.ucode /lib/firmware
sudo modprobe -r iwlagn
sudo modprobe iwlagn

Now let's see what happened under the hood:

dmesg | tail -n20

This has been tested and confirmed in the original post, and is said to be a permanent fix (i.e. is still working after a reboot).

best of luck!

Cheers

Rich


No menu bar indicators after switching to KDE and back to Unity

Running multiple large desktop environments like Unity, KDE and Gnome, causes issues amongst each other. Completely uninstall KDE, and then reinstall Unity with:

sudo apt-get install ubuntu-desktop --reinstall

You can do it also with this large command, but have a look to make sure there isn't software that you want to keep in this list:

sudo apt-get remove akonadi-backend-mysql akonadi-server akregator amarok amarok-common amarok-utils apport-kde apturl-kde ark bluedevil cdparanoia cdrdao docbook-xsl dolphin dragonplayer freespacenotifier gnupg-agent gnupg2 gpgsm gstreamer0.10-qapt gtk2-engines-oxygen gwenview ibus-qt4 icoutils jockey-kde k3b k3b-data kaccessible kaddressbook kamera kate kate-data katepart kcalc kde-baseapps-bin kde-baseapps-data kde-config-gtk kde-config-touchpad kde-runtime kde-runtime-data kde-wallpapers-default kde-window-manager kde-workspace kde-workspace-bin kde-workspace-data kde-workspace-kgreet-plugins kde-zeroconf kdebase-runtime kdegames-card-data kdegraphics-strigi-analyzer kdelibs-bin kdelibs5-data kdelibs5-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdepasswd kdepim-groupware kdepim-kresources kdepim-runtime kdepim-strigi-plugins kdepim-wizards kdepimlibs-kio-plugins kdesudo kdm kdoctools kfind khelpcenter4 kinfocenter klipper kmag kmail kmix kmousetool knotes konsole kontact kopete kopete-message-indicator korganizer kpat kppp ksnapshot ksysguard ksysguardd ksystemlog ktimetracker ktorrent ktorrent-data kubuntu-debug-installer kubuntu-default-settings kubuntu-desktop kubuntu-docs kubuntu-firefox-installer kubuntu-netbook-default-settings kubuntu-notification-helper kubuntu-web-shortcuts kvkbd kwalletmanager language-selector-kde libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadiprotocolinternals1 libassuan0 libattica0 libbluedevil1 libboost-program-options1.46.1 libcalendarsupport4 libcln6 libclucene0ldbl libdebconf-kde0 libdiscid0 libdlrestrictions1 libdmtx0a libencode-locale-perl libepub0 libeventviews4 libfile-listing-perl libflac++6 libfont-afm-perl libgadu3 libgpgme++2 libgps19 libgrantlee-core0 libhtml-form-perl libhtml-format-perl libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libibus-qt1 libilmbase6 libincidenceeditorsng4 libindicate-qt1 libio-socket-ssl-perl libiodbc2 libk3b6 libkabc4 libkateinterfaces4 libkatepartinterfaces4 libkblog4 libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkde3support4 libkdecorations4 libkdecore5 libkdegames5a libkdepim4 libkdepimdbusinterfaces4 libkdesu5 libkdeui5 libkdewebkit5 libkdgantt2 libkdnssd4 libkemoticons4 libkephal4abi1 libkexiv2-10 libkexiv2-data libkfile4 libkholidays4 libkhtml5 libkidletime4 libkimap4 libkio5 libkipi-data libkipi8 libkjsapi4 libkjsembed4 libkldap4 libkleo4 libkmanagesieve4 libkmbox4 libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkonq-common libkonq5-templates libkonq5abi1 libkontactinterface4 libkopete4 libkparts4 libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkresources4 libkrosscore4 libksba8 libkscreensaver5 libksgrd4 libksieve4 libksieveui4 libksignalplotter4 libktexteditor4 libktnef4 libktorrent-l10n libktorrent3 libkunitconversion4 libkwineffects1abi2 libkworkspace4 libkxmlrpcclient4 liblastfm0 libloudmouth1-0 liblwp-mediatypes-perl liblwp-protocol-https-perl libmailcommon4 libmailtools-perl libmailtransport4 libmessagecomposer4 libmessagecore4 libmessagelist4 libmessageviewer4 libmicroblog4 libmpcdec6 libmsn0.3 libmuonprivate1 libmusicbrainz3-6 libnepomuk4 libnepomukquery4a libnepomukutils4 libnet-http-perl libnet-ssleay-perl libntrack-qt4-1 libntrack0 libokularcore1 libopenexr6 libotr2 libphonon4 libplasma-geolocation-interface4 libplasma3 libplasmaclock4abi2 libplasmagenericshell4 libpolkit-qt-1-1 libpoppler-qt4-3 libprison0 libprocesscore4abi1 libprocessui4a libqalculate5 libqapt-runtime libqapt1 libqca2 libqca2-plugin-ossl libqgpgme1 libqimageblitz4 libqjson0 libqrencode3 libqt4-designer libqt4-help libqt4-qt3support libqt4-scripttools libqt4-sql-sqlite libqt4-test libqtassistantclient4 libqtglib-2.0-0 libqtgstreamer-0.10-0 libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql libqtscript4-uitools libqtscript4-xml libqtwebkit4 libreoffice-kde libreoffice-style-oxygen libsolid4 libsolidcontrol4abi2 libsolidcontrolifaces4abi2 libsoprano4 libssh-4 libstreamanalyzer0 libstreams0 libsyndication4 libtag-extras1 libtaskmanager4abi2 libtemplateparser4 libthreadweaver4 libtimedate-perl liburi-perl libvirtodbc0 libweather-ion6 libwww-perl libwww-robotrules-perl libxml2-utils libxss1 libzip1 muon muon-installer muon-notifier muon-updater mysql-client-core-5.1 mysql-server-core-5.1 ntrack-module-libnl-0 odbcinst odbcinst1debian2 okular okular-extra-backends oxygen-cursor-theme oxygen-icon-theme oxygen-icon-theme-complete partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4 plasma-dataengines-addons plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-scriptengine-javascript plasma-scriptengine-python plasma-widget-facebook plasma-widget-folderview plasma-widget-kimpanel plasma-widget-kimpanel-backend-ibus plasma-widget-menubar plasma-widget-message-indicator plasma-widget-networkmanagement plasma-widgets-addons plasma-widgets-workspace plymouth-theme-kubuntu-logo plymouth-theme-kubuntu-text printer-applet python-kde4 python-pyudev python-qt4 python-qt4-dbus python-sip qapt-batch qapt-deb-installer quassel quassel-data rekonq shared-desktop-ontologies software-properties-kde soprano-daemon system-config-printer-kde systemsettings update-manager-kde usb-creator-kde userconfig virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common && sudo apt-get install ubuntu-desktop


How do I remove the Ubuntu boot option created by Wubi?

You will need to uninstall Ubuntu from Windows 7 - you can do this in the Add/Remove software section of the control panel or by running Wubi installer again (It should inform you that you need to uninstall first).


The simplest solution is to install pavucontrol sudo apt install pavucontrol.
Then you launch it and the gui will let you chosse the output for each application.


Adding redshift in systemd - works with xhost +

An update: after moving the service from /etc/systemd/system/redshift.service to ~/.config/systemd/user/redshift.servce, it started working.

Note that /etc/systemd/user/redshift.service didn't work!

I'd still welcome an answer showing me how to install this for all users of this host.


As @N0rbert suggested in a comment, masking the service instead of just disabling it should do the trick.
However, digging into it a bit deeper, I was lead to a post on systemd in Fedora Magazine published back in late 2015, which states that:

Recall that systemd can understand dependencies between units. This means systemd can tell when one unit must be started to allow another to run.
Furthermore, systemd uses this information to start a required service, even if disabled, to satisfy dependencies.

So following this hint, I listed the reverse dependencies of snapd.service and snapd.socket by doing systemctl list-dependencies --reverse snapd (and similarly for snapd.socket), to see which units depended on snapd. It turns out that snapd.seeded.service (which was enabled) depended on snapd.socket. Once I executed
$ sudo systemctl disable --now snapd.seeded

and rebooted, all three units were inactive (dead) as expected.


GRUB boot into Windows 7 breaks GRUB and makes system unbootable

This not really an "answer". The content would be a better match to a comment, but is too long-winded to fit in one. Apologies :-(

Some questions just to make sure I am reading your question correctly. (Please update/edit your question if you any further info to add.)

You say "I installed grub manually onto the hard disk (/dev/sda)."
So you have already booted into the 12.04 installed on partition sda5 and successfully run
sudo grub-install /dev/sda?
You say that "... after booting into Windows 7, grub doesn't load on
the next boot. The computer simply reboots again and again."
Does it make any difference which of the two entries for Windows in your GRUB menu you use to boot into Windows?
There is one for /dev/sda1 (label "OSDisk") and another for /dev/sda3 (label "BDEDrive").
Is there any error or status information at all displayed prior to or during this infinite boot loop? Can you tell if it is Linux/GRUB or Windows that is looping?

I am wondering if there is some conflict between your two Windows boot configurations. Only one of them would seem to be needed. (Probably the one on the first partition, OSBoot?)

Perhaps you might learn something by installing a Windows boot utility such as EasyBCD and making sure your Windows boot settings are correct?

Another alternative might be to bring up the Windows 7 Advanced startup options boot menu by pressing F8 immediately after starting a Windows boot from the GRUB menu. If the option to Repair your computer is available in the advanced options boot menu, you could run Startup repair to check for and (maybe) correct problems in your Windows boot setup.

Note: You have to be quick pressing F8 or Windows will just boot as usual.

I'm not sure exactly what is going wrong, but could there be some corruption in either your Windows or Linux file systems?

The excerpt below is from your boot-repair log from lines 616 to 641. The repeated failures of getcwd() (get current working directory) and the GRUB warning about ZISD (ZENworks Image Safe Data ?) might mean something. Do you use ZENworks?

REPAIROK:
Copied Win boot files from sda3 to sda1
Reinstall the GRUB of sda5 into all MBRs of disks with OS or not-USB
Reinstall the GRUB of sda5 into the MBR of sda
dpkg --configure -a sda5
sh: 0: getcwd() failed: No such file or directory
grub-install (GRUB) 1.99-21ubuntu3
grub-setup: warn: Sector 5 is already in use by ZISD; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
SETUPOUTPUT: SETUPEXIT:0
sh: 0: getcwd() failed: No such file or directory
/usr/sbin/grub-setup: warn: Sector 5 is already in use by ZISD; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track.
INSTALLOUTPUT: Installation finished. No error reported.
INSTALLEXIT:0
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Generating grub.cfg ...
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
Found memtest86+ image: /boot/memtest86+.bin
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory


sshd, the ssh server, reads its config file (/etc/ssh/sshd_config) on sshd startup.

sudo service sshd restart

is one way to make this happen.


Try using ssh-copy-id. You may have permission issues. This program sets the proper permissions.


apt-get: error while loading shared libraries:libapt-pkg

Run in terminal

wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/libapt-pkg4.12_0.8.16~exp12ubuntu10.21_amd64.deb
sudo dpkg -i libapt-pkg4.12_0.8.16~exp12ubuntu10.21_amd64.deb


To see the versions of a package you could use:

apt-cache show redmine | grep -i version

Output is:

Version: 1.3.2+dfsg1-1ubuntu1

To see the versions and the repository you could use:

apt-cache policy redmine

Output is:

redmine:
  Installiert: (keine)
  Kandidat:    1.3.2+dfsg1-1ubuntu1
  Versionstabelle:
     1.3.2+dfsg1-1ubuntu1 0
        500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

See: WebUpd8 - How To Find Out To Which PPA Repository A Package Belongs To


./ 1.cpp commands gives error: bash: ./: Is a directory

It should be ./1.out, no space between ./ and 1.out.


Error while compiling ffmpeg during make

The Ubuntu version of ffmpeg comes without support for restricted formats like MP3, but you can fix that by installing packages that include that support. So to fix your initial problem:

Purge the existing installation of ffmpeg (if any):

sudo apt-get purge ffmpeg

Install ffmpeg:

sudo apt-get install ffmpeg

To install the restricted formats, you need to enable the Multiverse and Universe repositories. Open the file /etc/apt/sources.list:

sudo nano /etc/apt/sources.list

and uncomment the lines ending with multiverse and universe. If you don't have such lines, just append the following to the file:

deb http://archive.ubuntu.com/ubuntu maverick multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick multiverse
deb http://archive.ubuntu.com/ubuntu maverick-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick-updates multiverse
deb http://archive.ubuntu.com/ubuntu maverick-security multiverse
deb-src http://archive.ubuntu.com/ubuntu maverick-security multiverse

deb http://archive.ubuntu.com/ubuntu maverick universe
deb-src http://archive.ubuntu.com/ubuntu maverick universe
deb http://archive.ubuntu.com/ubuntu maverick-updates universe
deb-src http://archive.ubuntu.com/ubuntu maverick-updates universe
deb http://archive.ubuntu.com/ubuntu maverick-security universe
deb-src http://archive.ubuntu.com/ubuntu maverick-security universe

Save (Ctrl + o , Enter) and exit (Ctrl +   x).

Now update the package list by running:

sudo apt-get update

Install support for restricted formats like MP3:

sudo apt-get install libavcodec-extra-52

Now something like:

 ffmpeg -i in.wav out.mp3

should work.


From the YUMI website:

  Using YUMI to install Linux from USB to a Hard Drive is not yet
  supported (I'm slowly fixing this).

You might try Unetbootin instead.


apt link is not working in opera browser

Go to Settings > Preferences

Go to Advanced > Programs

Click on Add and add the following entries.

Click OK and you're done!

Note: If you are using a version of Ubuntu that doesn't include the software center by default, install it first with the command sudo apt-get install software-center


Cannot connect Logitech 810 keboard on 13.10

The clearest step-by-step procedure is posted here. So for, in the past 24 hours, I have not had any problems with the keyboard connection.

The below instruction is from the source.

  Start a terminal (terminal 1)
  Install the tools needed for this walk-through

sudo apt-get install bluez-hcidump bluez-utils blueman

  Enable Bluetooth on your Ubuntu machine (you might have a hardware button, don’t forget about that)
  Start the bluetooth manager (blueman) from your start menu, dash, or whatever other way of starting programs your desktop has
  Start another terminal (terminal 2) – yep you’ll need two for this exercise
  Get the K810 into pairing mode by pressing the button on the back of the keyboard and then one of the device buttons on the front
  (F1-F3). You should see the bluetooth light flashing now.
  In terminal 1 run

hcitool scan

  if the K810 is found this should give you something like

Scanning ...
xx:xx:xx:xx:xx:xx   Logitech K810

  Copy the address of your K810 (that’s the xx:xx:xx:xx:xx:xx)
  In terminal 2 run

sudo hcidump -at | grep pass

  In terminal 1 run

sudo bluez-simple-agent hci0 xx:xx:xx:xx:xx:xx

  In terminal 2 you should now see the passkey which is a number
  Type that code on your K810 followed by enter
  The bluetooth manager should now show the K810.
  In blueman select the K810 and mark it as “trusted”
  Now click on Setup and follow the dialog box.
  Tada, you’re done, you can now close all terminals as well as blueman.


This must be new in 12.04.1 because I was running 12.04 months ago and it was there

No, the file is still /etc/fstab in Ubuntu 12.04.1. I installed and used it. Also note, you can't boot to the Ubuntu without that file.

I think, the case is, the new installation of Ubuntu 12.04.1 created a new /etc/fstab file and thus your entries to boot Windows drives have been lost.

I suggest you to add those entries again to your /etc/fstab file to automount them again.


Low level control of HDD head positioning

That kind of fine control can only be achieved by a custom firmware for a hard drive. Some drives don't support "flashing" of the firmware. Seagate provides some tools for updating firmware images. The community has some information on the existing commands in the firmware, but overall drives do not provide that specific of control. The closest you're going to get is basically telling the drive to "sweep" the platter which happens at a known constant rate.


Technically, no hybrid MBR is OK; hybrid MBRs are a clear violation of the GPT specification. Whoever invented them should be ashamed of him/herself. Unfortunately, they're a practical necessity for dual-booting OS X and Windows on Macs. (That may change with Windows 8, though.)

That said, within the usual informal rules for a hybrid MBR, the one that gptsync is suggesting is OK. My suspicion is you think it's not OK because the first partition (of type "ee") doesn't match any of your GPT partitions. This is not only fine, it's necessary; the type-0xEE partition is the protective partition, which is required to identify the disk as a GPT disk. It's not really a partition definition, in the sense that it does not point to an area of the disk that can be used to hold filesystems or whatnot. On a standards-compliant GPT disk, this partition spans the entire disk (except for the MBR itself) and exists to keep GPT-unaware tools from messing with the disk. On a hybrid MBR, this partition is reduced in size, often dramatically, and up to three "real" GPT partitions are added to the MBR table.

As to whether you should accept this partition table, I'm not sure; that depends on what partitions Windows needs to be able to access. If Windows only needs to access /dev/sda3 (in GPT; /dev/sda4 in the proposed hybrid MBR), then it should work OK as-is. If Windows needs to access any later partition(s), though, you may need to get more creative. You can do this with gdisk (part of the gdisk package in Ubuntu) by using the h option on the recovery & transformation menu. The details appear in the gdisk Web-based documentation.


How to make Guest OS follow symlinks from shared folder

It is a problem in virtualBox and has to do with security. Before 4.1.8 symlinks worked but was seriously flawed. And the discision was made to remove symlink support.

See this comment:

Symbolic link creation from within a guest has been disabled in VirtualBox 4.1.8 for security reasons. A guest could create symbolic links which point outside the assigned host directory. This has nothing to do with any ext3/ext4 bug. And the guest is still able to read symlinks which are created on the host.

Sorry for the late statement.

If you do

 VBoxManage setextradata VM_NAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME 1

Then your guest will be able to create symlinks again. But for security reasons (see above) this is disabled by default. The fix to prevent dangerous symlinks from the guest is very complicated, therefore we decided to not allow any guest to create any symlink to work around the security problem.

(I took the liberty to fix a bug in the comment ;) )

and also take note that you need to restart vBox for the change to activate.


Need assist - Converting Windows Media Server to Ubuntu

The answer to your first question is probably I found the man page for the sis drivers for Ubuntu 12.04 precise at Ubuntu Manpages.

I also know that there a a couple different options for setting up a RAID configuration and one of the newer

SnapRaid


Stop Thunderbird messaging menu from searching archive

This question is a duplicate of this one, which has already been answered.

(couldn't find out how to properly mark this question as duplicate...)


Lost all the files after restart Linux14.04

A LiveUSB does not save data. It is meant to test out and or recover data to an external hard-drive.

  Your files are gone.

Due note that some specific USB are able to save data made with a liveUSB, but that depends how you created that USB.

The Ubuntu Startup creator has an option, to reserve X amount of GB for storage purposes. To the best of my knowledge the Ubuntu Startup creator is the only one with this features. Feel free to correct me here.


Installing cuda on ubuntu 16.10 - directory not found after installation

CUDA seems to be successfully installed.
It should get installed in /usr/local/.

Try checking with

dpkg --get-selections | grep cuda

This command shows the following result for successfully installed cuda7.5:
 result of above command after installing cuda 7.5


You shouldn't download a file from an unknown source. Instead, go to https://www.ubuntu.com to get the download file. (If you're here I assume you trust the .ubuntu.com TLD).


Audio-recorder not recording in Ubuntu 18.04

You can follow this other answer https://askubuntu.com/a/229365/294611
It is written for Audacity, but will work for Audio Recorder also. If you need more clarification please let me know.


A very simple solution would be to change your working directory to C:\wamp64\www. Your rsync command then would look like:

rsync -avz -e 'ssh' magento3 user@111.11.11.111:/var/www/html

rsync won't see C: then and accordingly won't consider it a remote system.


Logitech unifying receiver works only in one USB port in Ubuntu

I had the same issue recently, when I needed to connect my Logitech Keyboard and Mouse through USB 3.0 HUB.

They worked well in windows, but for some reason didn't worked in Linux, even if the receiver was detected by linux, and appeared in the list of USB devices.

$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 2109:0100 VIA Labs, Inc.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 006: ID 174c:1153 ASMedia Technology Inc. ASM2115 SATA 6Gb/s bridge
Bus 002 Device 007: ID 17e9:6000 DisplayLink
Bus 002 Device 004: ID 2109:0813 VIA Labs, Inc.
Bus 002 Device 003: ID 2109:0813 VIA Labs, Inc.
Bus 002 Device 002: ID 2109:0812 VIA Labs, Inc. VL812 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 008: ID 06cb:0081 Synaptics, Inc.
Bus 001 Device 007: ID 8087:0a2b Intel Corp.
Bus 001 Device 005: ID 04f2:b5da Chicony Electronics Co., Ltd
Bus 001 Device 006: ID 2109:2813 VIA Labs, Inc.
Bus 001 Device 003: ID 2109:2813 VIA Labs, Inc.
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 002: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Tried several things, nothing helped me.

The only that worked for me is upgrading Unified Receiver Firmware from this page:
https://support.logi.com/hc/en-us/community/posts/360032078393-Logitech-Response-to-Research-Findings

I needed to do it from windows, but after that upgrade it starts to work on linux + hub, and I notice also that periodic lags with keyboard were removed.


Update from 14.10 to 15.04 result to a blank screen with cursor after sddm login

I think I have narrowed this down a bit.  By first removing my fglrx proprietary AMD graphics driver, so that Ctl-Alt-F1 would get me a useful terminal, and then by moving the following file aside, I could get from the black screen back to a reasonably healthy desktop:

$HOME/.config/plasma-org.kde.plasma.desktop-appletsrc

Testing could proceed rapidly, because, after each of many tests moving aside various $HOME/.config and $HOME/.cache files, I could quickly see if that got me a black screen, or a reasonable sddm desktop, by invoking the command:

systemctl restart sddm

On the occasions where I got a black screen, I saw signs of a segfault crash in the following log files for kactivitymanage:

/var/log/kern.log
/var/log/syslog
/var/log/apport.log

A typical kern.log or syslog entry was:

May 31 07:58:47 mypc kernel: [ 3123.656160] kactivitymanage[14555]: segfault at 7f93c6ae9cd0 ip 00007f93ace5a031 sp 00007ffcbf253d68 error 4 in libQt5Sql.so.5.4.1[7f93ace46000+3f000]

A typical apport.log entry was:

ERROR: apport (pid 15009) Sun May 31 07:58:47 2015: executable: /usr/bin/kactivitymanagerd (command line "/usr/bin/kactivitymanagerd start-daemon")
ERROR: apport (pid 15009) Sun May 31 07:58:47 2015: apport: report /var/crash/_usr_bin_kactivitymanagerd.1000.crash already exists and unseen, doing nothing to avoid disk usage DoS

Examining my customized (and failing) .config/plasma-org.kde.plasma.desktop-appletsrc, I can see further evidence of the problem.  The bad (black) plasma config file is missing the following stuff (no wonder the screen is black - almost nothing is configured ):

[Containments][1]
activityId=
formfactor=2
immutability=1
lastScreen=0
location=4
plugin=org.kde.panel
wallpaperplugin=org.kde.image

[Containments][1][Applets][2]
immutability=1
plugin=org.kde.plasma.kickoff

[Containments][1][Applets][2][Configuration][Shortcuts]
global=Alt+F1

[Containments][1][Applets][2][Shortcuts]
global=Alt+F1

[Containments][1][Applets][3]
immutability=1
plugin=org.kde.plasma.pager

[Containments][1][Applets][4]
immutability=1
plugin=org.kde.plasma.taskmanager

[Containments][1][Applets][5]
immutability=1
plugin=org.kde.plasma.systemtray

[Containments][1][Applets][5][Configuration][Containments][8]
formfactor=2
location=4

[Containments][1][Applets][5][Configuration][Containments][8][Applets][10]
immutability=1
plugin=org.kde.plasma.clipboard

[Containments][1][Applets][5][Configuration][Containments][8][Applets][11]
immutability=1
plugin=org.kde.plasma.devicenotifier

[Containments][1][Applets][5][Configuration][Containments][8][Applets][12]
immutability=1
plugin=org.kde.kdeconnect

[Containments][1][Applets][5][Configuration][Containments][8][Applets][13]
immutability=1
plugin=org.kde.plasma.notifications

[Containments][1][Applets][5][Configuration][Containments][8][Applets][14]
immutability=1
plugin=org.kde.plasma.printmanager

[Containments][1][Applets][5][Configuration][Containments][8][Applets][15]
immutability=1
plugin=org.kde.muonnotifier

[Containments][1][Applets][5][Configuration][Containments][8][Applets][16]
immutability=1
plugin=org.kde.plasma.networkmanagement

[Containments][1][Applets][5][Configuration][Containments][8][Applets][9]
immutability=1
plugin=org.kde.plasma.battery

[Containments][1][Applets][6]
immutability=1
plugin=org.kde.plasma.digitalclock

[Containments][1][General]
AppletOrder=2;3;4;5;6

So ... it would appear that something is writing out a bad plasma config file, with much of the good stuff removed.


ubuntu server does not function in gui mode

sudo apt install --reinstall ubuntu-desktop gnome-shell

Package name has changed since 17.10 and by the way a server has no gui.


According to the SMART test you have a lot of "Uncorrectable Errors", namely 1 967 467, as well as other high values in "Reallocated Sector Count", "Seek"-Errors and so on.... - HW recommendation is out-of-scope here, but it looks to me like you need a new HDD


Why won't Startup Disk writer write the latest Ubuntu ISO to DVD-ROM? (Ubuntu 12.04 LTS)

Well, after much deliberation, I have figured out that my disk drive doesn't write ISOs to these DVDs. Got a new pack, nope it's not the old DVDs, the news ones don't work either.

Windows XP Pro doesn't even recognize it at all, just sits there spinning and making weird noises.

So I took an ISO creator program to my newer system and voila it works. Very strange all in all, but I got what I wanted.


Wacom Intuos 5 Art Small isn't detected by Wacom Properties window

You can try updating your libwacom [1]. That may or may not be successful for a variety of reasons.

If that does not work try using xsetwacom [2]. Note your buttons will most likely be numbered 1,9,8 and 3.[3]

[1] http://linuxwacom.sourceforge.net/wiki/index.php/Libwacom
[2] http://linuxwacom.sourceforge.net/wiki/index.php/Tablet_Configuration
[3] https://forums.linuxmint.com/viewtopic.php?t=126282


lxc-create says container already exists

-B dir --dir is used to specify the rootfs path of the container. That should point to a non-existing path in which to put the rootfs. If that's really what you want, just destroy the directory and LXC should be happy (the container's config and fstab will be created under /var/lib/lxc/ but the rootfs will be /media/leon/Archive/lxc/).

If you instead simply want to use an alternate location for your containers (instead of the standard /var/lib/lxc). To do that, use the --lxcpath|-P option instead.

sudo lxc-create -n saucy-amd64-chromiumos -t ubuntu -P /media/leon/Archive/lxc/ -- -r saucy

This parameter is accepted by most lxc commands, so you'll also be able to do:

lxc-ls -P /media/leon/Archive/lxc/

And pass it to lxc-start/lxc-stop/...

You may also make this permanent by setting "lxcpath = /media/leon/Archive/lxc/" in /etc/lxc/lxc.conf (you'll have to create this file, it doesn't exist by default).

All the above assumes a pretty recent version of LXC (one of the 1.0 pre-releases).


Finding Klondike E Card 3 Pass Las Vegas Rules Solitiare for Ubuntu

I can't find that specific game, but there are many Solitaire alternatives for Ubuntu:

Solitaire
Solitaire Egypt
FreeCell Solitaire

And I'm sure there are even more outside Ubuntu's Software Center.


The problem was that two default gateways were being set, one static and one by dhcp. You can't have two default gateways with the same metric.

https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1043244/comments/8

The solution: remove the gateway line from the configuration of eth1.

Or, add an explicit metric 100 line to eth1, to give the eth1 gateway a lower priority than the eth2 gateway.


Fwiw, I was annoyed by the same problem, and others... Sound Juicer is a decent entry-level ripper but has lots of issues like this which have remained unfixed for a very long time.

My own solution was to switch to a command line CD ripper, abcde.  You set up an ~/.abcde.conf file with your preferences for what encoder to use, how to name files, and so on.  It seems to do a much better job of looking up track listings, and even fills in Genre, which I always had to do manually with Sound Juicer.  In my experience of about 40 cd rips so far the track listings are 99% proper, and it lets you edit in a terminal editor to get that last 1% correct.

So, it's a bit more technical than a GUI ripper but much more flexible and IMHO less buggy.  I tested it out on a couple double-cd albums and it worked great.

This is the tutorial I used; he gives several sample config files for different common cases:  http://www.andrews-corner.org/abcde.html

Pretty much I just went with the mp3 example he listed.  My only significant change was I wanted my music files to be all lowercase with no spaces or special characters, so redid the mungefilename() function like this:

mungefilename ()
{
  echo "$@" | sed s,:,-,g | tr / _ | tr -d \'\"\?\[:cntrl:\]\(\)\* \
       | sed s,\ ,_,g | tr [:upper:] [:lower:]
}

But the one in that example is perfectly serviceable.


Why is having an error initializing AMD-Vi?

Sorry guys for my previous inappropriate post.
So I have had the same situation, my specs: CPU AMD FX8350, mobo Asus 970 Pro Gaming/Aura.
I have done: BIOS settings -> CPU configuration -> SVM enabled

When I tried "lscpu" in Ubuntu:

  Virtualization:   AMD-v

But when I tried "lscpu" in Xen Hypervisor:

  Virtualization:   None

Turned out this is completely normal:

  NOTE that Linux dom0 kernel doesn't see 'vmx' or 'svm' CPU flags in
  "/proc/cpuinfo" because Xen hypervisor (xen.gz) is using the
  hardware virtualization features and hiding the flags from dom0! Xen
  dom0 is actually a virtual machine, so it doesn't see all the cpu
  flags as Xen hypervisor is hiding some flags from dom0.

Source:https://wiki.xenproject.org/wiki/Xen_Common_Problems

What you should pay attention to when boot into Xen Hypervisor is this command: "xl dmesg"

If it returns "SVM enabled" and "IOMMU enabled" your machine fully support virtualization.

If you're missing any of them, please boot into BIOS settings:

For SVM:
Advanced -> CPU Configuration -> SVM enable.

For IOMMU:
Advanced -> Northbridge Configuation -> IOMMU enable.

I think Intel CPU is similar.  Good luck!!


How to use the advanced partitioning menu?

if you are running windows now... http://opensource-sidh.blogspot.com/2011/10/install-ubuntu-1110-and-windows-dual.html

Think this will be helpful


How to use LVM to make two hard drives act as one

Say the two drives that are to be combined are /dev/sdc1 and /dev/sdd1. If you have any data on the disks back it up before combining the disks into a LVM volume group. To make one big logical volume named ExtraSpaceLV out of them make sure that they are not mounted and not registered to be mounted in /etc/fstab, then:

sudo pvcreate /dev/sdc1  # Initialize /dev/sdc1 as a LVM physical disk
sudo pvcreate /dev/sdd1  # Initialize /dev/sdd1 as a LVM physical disk

vgcreate ExtraSpaceVG /dev/sdc1 /dev/sdd1 # Combine them into a LVM volume group
lvcreate -l 100%FREE -n ExtraSpaceLV ExtraSpaceVG # Create a logical volume

If you would like to leave some space free (for example, to be able to make snapshots later) you can use 95%FREE or other percentage.

After this the volume will be at /dev/mapper/ExtraSpaceLV and you can mkfs and mount it, register it in /etc/fstab and so on.


I tested this out, and the error is due to the second \;:

# Works fine
find * -maxdepth 0 -type d -exec tar czvf {}.tar.gz {} \;
# Errors out
find * -maxdepth 0 -type d -exec tar czvf {}.tar.gz {} \; \;

This might because the first escaped ; ends the command for the -exec option, and the second escaped ; now becomes part of the the find command, and is treated as a path. This throws an error since the -type expression has already been read.


How secure is the chromium browser compared to chrome?

Chromium is almost exactly the same as Chrome - Chrome uses Chromium as a base and adds a few proprietary Google things to it, which can't be added to the open-source Chromium. These are things like the Flash player, PDF viewer, and certain video codecs. See this Reddit post for more.

As for 32 vs 64 bit - unless you're using a very old computer, you should be using a 64 bit operating system.


Triple Boot (Windows 10, Ubuntu 16.04, OS X 10.11)

You're lucky, I got myself a Lenovo laptop too, and did the exact same thing. It's not that hard; first you want to erase your disk and use the GPT partition table. You can do this quite easily with a gparted livecd, which can be downloaded from http://gparted.org. Create a partition table, and set the type to "gpt". After you've done that, start the Windows installer in UEFI mode from a USB drive. Install Windows as normally, but use a smaller partition from the start, in order to create a partition for Ubuntu/OS X later on the empty space. When you're done installing Windows, you can go on with installing Ubuntu. When Ubuntu starts asking where you want to install it, click "manually specify partitions", then click next. Now you have to create two partitions, one EXT4 partition, and one swap partition. For the size of the main partition, the EXT4, you can choose how big you want it to be yourself. Just keep in mind that OS X needs about 15GB to install, so just leave about 40GB and you're good. For the swap partition size: set it to 4096MB. (That's 4GB.) When Ubuntu is done installing, the default bootloader will be grub, if you've done everything correctly. Now boot up your OS X installer through Clover, just leave the other two operating systems it might detect alone. When OS X asks where to install, create a new partition on the beginning of the empty space. If it doesn't allow it, or it can't seem to find the empty space, boot up the gparted livecd again, and create an HFS+ partition yourself by right-clicking on the "unallocated" section, create, and select HFS+ as the filesystem. Boot up the OS X installer again, and tell it to install onto the newly through gparted created HFS+ partition. When it's done, use the Clover bootloader from the USB to boot up OS X. When it has booted, install Clover in legacy mode, and set your BIOS to legacy. You will be presented with the Clover bootloader afterwards. From here you can boot all three operating systems. Just one quick note: For Windows it might say "Operating System Not Found", just press a key to restart, it will boot fine. It just won't boot into legacy mode, because your Windows has been installed in UEFI mode. If you have any questions, let me know, I'll be glad to help.


Login to webmin with user has no password (SSH)

I also have that same problem when installing webmin on DigitalOcean Droplet. A bit of research shows me that I can change the password in SSH terminal.

Let's say you want your webmin user ubuntu to have password foo:
/usr/libexec/webmin/changepass.pl /etc/webmin ubuntu foo

Now you can login to webmin with your new password.


Adding some important info: after about twenty minutes, it will time out.  That's good because you can complete the Ubuntu Installation.  The installation will still be successful.

Next time, de-select "update packages while installing ubuntu (this will save you some time)".  Instead, run sudo apt-get update && sudo apt-get dist-upgrade AFTER you have finished installing Ubuntu.

Also, if you are in a country/status or network that won't allow you to download flash player, then you should use VPN prior to attempting your flash player install.


[Errno 30]Read-only file system: '/target/boot/vmlinuz-3.13.0-24-generic'

If you are sure the hard drive is fine (no problems in the past, taken good care of) it is likely because you had an error burning the disk or downloading the image. Redownload the installation ISO and burn it to a fresh disk and try again


That’s nothing to worry about.  It looks like someone made a DELETE request to your server using an invalid URI (Uniform Resource Identifier).

DELETE is a
valid HTTP method which

  requests that the origin server delete the resource identified by the Request-URI.

Since the text string, your logs … … Join us. <3 is not a valid URI, Apache responds with an error and records it in the error log.

It looks like you’re not the only one to have received such a request.


How to bring up grup boot menu in my acer laptop?

You can gain access to a more detailed menu by holding the Shift key while you're booting.


Why does Update Manager dowload the full package as update?

The package--that is, a single .deb file--is the smallest unit of information that Ubuntu's package manager can install. Even if some of the files in the package are the same as some of the files that already exists (which is often but not always the case when upgrading an already-installed package), the whole .deb file must still be downloaded.

This is not unique to Ubuntu, by the way. Most operating systems, Unix-like or not, usually download significant information during updates/upgrades that is already present on the system.

So, that's the reason. If you're trying to request a feature that this be changed, Ask Ubuntu is not the place for that. For this, try Brainstorm (please search first, as somone may have already posted the idea).

Jorge Castro has commented about a particular implementation of this feature. This may or may not be what you're thinking of (and is not necessarily the only way to achieve this), but is likely the most fruitful path toward the feature you're interested in.


pulseaudio command in a .conf file inside etc/init not running at start up

You're using Ubuntu 16.04, a systemd operating system.  Upstart mechanisms do not work on it.  Write a systemd service unit, not an upstart job file.  And (hint!) don't try to "dæmonize" that which is already dæmonized.

Further reading

https://askubuntu.com/a/707750/43344
https://askubuntu.com/a/780747/43344
https://askubuntu.com/a/613785/43344
https://askubuntu.com/a/617822/43344
Rationale for switching from upstart to systemd?


Okay, since I didn't modify the pictures in Shotwell I'm fine with this little script:

from pysqlite2 import dbapi2 as sqlite
import os
import shutil

targetdirectory = "/home/dan/pictures new/"

db = sqlite.connect('photo.db')
cur = db.cursor()
cur.execute('SELECT strftime("%Y_%m", datetime(PhotoTable.timestamp, "unixepoch")) ||" "|| EventTable.name, PhotoTable.filename FROM PhotoTable LEFT JOIN EventTable ON PhotoTable.event_id = EventTable.id')
for row in cur:

    dir = os.path.dirname(targetdirectory + str(row[0]) +"/")
    if not os.path.exists(dir):
            os.makedirs(dir)
    try:
        if os.path.exists(str(row[1])) and not os.path.exists(targetdirectory + str(row[0]) + "/" + os.path.basename(str(row[1]))):
            shutil.copyfile(row[1], targetdirectory + str(row[0]) + "/" + os.path.basename(row[1]))
    except UnicodeEncodeError:
        print "Error: " + str(row[0])

I think it is really important to have an option to switch to another tool if you want to :)


Looks like you want the Xorg log files:
ls -ltr /var/log/Xorg.0.*


readpst: This software will allow you to convert all your .pst MS Outlook files into .mbox files. These .mbox files can then be imported into Evolution using its Import feature.

To install the readpst program in 11.10:

sudo apt-get install readpst

Sample command (assuming that you have a dual-core processor, you can run this task in parallel using the -j switch):

mkdir ~/Evolution

readpst -D -j 2 -o ~/Evolution -q -r ~/outlook.pst

You will need to change the paths to where you want to save the files and where you have saved your original .pst file.

After this, start Evolution and use the import feature to import these .mbox files, one-by-one.


How can I get duration of all video files in a folder containing multiple subfolders?

You should replace ./*.mp4 with "$d"/*.mp4:

 for d in ~/Videos/tutorials/*; do
   if [ -d "$d" ]; then
     exiftool -n -q -p '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' "$d"/*.mp4| tail -n1
   fi
 done

Your for loop is finding any directories in ~/Videos/tutorials/ and assigning its path to the value of the d variable. That's the directory you want to check for mp4 files with exiftool, whereas you're telling exiftool to use the current directory with ./.

Another approach would be to cd to the directory each time, so your code would become:

 for d in ~/Videos/tutorials/*; do
   if [ -d "$d" ]; then
     cd "$d"
     exiftool -n -q -p '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' ./*.mp4| tail -n1
   fi
 done

The following approach can be used if you have troublesome filenames for some of the mp4 files, such as containing spaces. It saves the filenames into an array, and expands them quoted in the exiftool command.

 for d in ~/Videos/tutorials/*; do
       if [ -d "$d" ]; then
         cd "$d"
         files=(./*.mp4)
         exiftool -n -q -p '${Duration;our $sum;$_=ConvertDuration($sum+=$_)}' "${files[@]}"| tail -n1
       fi
     done


Want printer to pause after printing one page ( to let me reverse )

One way of doing it would be to print the odd pages first, feed all of them back in, and then print the even pages. It's not quite as concise as a single command, but it would be a lot quicker than authorising every individual page manually.

To do this: in the "Print" menu, go to the "Page Setup" tab. Under the "Layout" column of that page will be a box marked "Only Print". There, choose "Odd sides" and send the print job off - wait for it to finish, invert pages as necessary and then do the same again with "Even sides" (remembering to check the paper tray for the last page afterwards, if your document has an odd number of sides!)

This is the best solution I can think of for emulating duplex printing - it could have some issues if you want to do many-to-one printing, but for one-page-to-one-side it will work fine.

For many-to-one (say, if you want 2 pages to a side), you'd need to put the page sequences in manually - i.e. in Range on the main print page, you would type "1,2,5,6,9,10,..." the first time, followed by "3,4,7,8,..." the second. It's not perfect, but it'd work.


Can I connect to iTunes music shares using Amarok?

The answer is sadly no. This will work between iTunes only.

In your link it mentions that the protocol "...was first used for the iTunes music player" but did not mention current support for accessing iTunes Shared music.

From: http://en.wikipedia.org/wiki/Digital_Audio_Access_Protocol

  Beginning with iTunes 4.2, Apple introduced authentication to DAAP
  sharing, meaning that the only clients that could connect to iTunes
  servers were other instances of iTunes. This was further modified in
  iTunes 4.5 to use a custom hashing algorithm, rather than the standard
  MD5 function used previously. Both authentication methods were
  successfully reverse engineered within months of release.[5]

  With iTunes 7.0, a new 'Client-DAAP-Validation' header hash is needed
  when connecting to an iTunes 7.0 server. This does not affect
  third-party DAAP servers, but all current DAAP clients (including
  official iTunes before iTunes 7.0) will fail to connect to an iTunes
  7.0 server, receiving a '403 Forbidden' HTTP error. The iTunes 7.0 authentication traffic analysis seem to indicate that a certificate
  exchange is performed to calculate the hash sent in the
  'Client-DAAP-Validation' header.

  As of July 15, 2014, the iTunes 7.0+ DAAP authentication still hasn't
  been reverse engineered, so no third-party application can stream from
  servers running iTunes software (from 7.x, all the way up to and
  including version 11.x)

However; there are workarounds. (Which means not using iTunes)

You can use a diffrent Music Server that uses DAAP to send your music.

Then direct it to your iTunes music folder, from http://support.apple.com/kb/HT1391 the location of iTunes music (This worked on my mac, however I collected my music through iTunes through CD and not from iTunes store - not sure if it changes anything)

Mac OS X: /Users/username/Music/iTunes/
Windows XP: C:\Documents and Settings\username\My Documents\My Music\iTunes\
Windows Vista: C:\Users\username\Music\iTunes\
Windows 7: C:\Users\username\My Music\iTunes\
Windows 8: C:\Users\username\My Music\iTunes\

I tested out firefly for mac (looks like a dead project), but there are other music servers: http://en.wikipedia.org/wiki/Digital_Audio_Access_Protocol listed under DAAP servers


Unable to login through ssh. Permission denied public key

I'm not familiar is there a backdoor for amazon-ec2, but you should find a way to log-in into your server and change the permissions of the ~/.ssh directory and it's content as follow:

chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/

See the topic "Permission denied (publickey)" within the section "Troubleshooting" of the article Public and Private Keys on the Ubuntu Documentation Wiki.

If the password authentication is not already disabled you can try to log-in by the following command (source):

ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no user@host


does konsole have a keyboard only block selection mode or is it broken

Very good question, by the way, I also had this problem. What I was advised was:
When the "Show Log" menu option is selected, the window is going to minimize. Before the window minimizes, you have to check whether the user has selected any input to prevent the crash. You can check whether the user is selecting anything by using GetConsoleSelectionInfo.
The CONSOLE_SELECTION_INFO out parameter should be equal to 0x00, and if it's not, you need to process the selection. As the documentation from GetConsoleMode/SetConsoleMode shows, you either need to call ReadFile or ReadConsole to discard the selection event that might be going on.
When you've implemented this, it shouldn't crash anymore.


Unable to format external drive (udisks-error-quark, 0)

Ok here is the result of a bit of research which may answer your question.

Generally exFAT is not seen as a reliable file system. Some people recommend NTFS if you want to share data between Linux and Windows machines

Gparted does not have fully support exFAT. It needs the util-linux package version 2.18 or above for exfat detection. Without that I doubt GParted will be able to do anything to your exFAT disk.

apt search util-linux

will tell you if you have it installed

There does seem to be an alternative driver techrepublic article

If you install this you may get the whole thing working although it should work with the packages mentioned in the comments above

If you are giving up on data recovery and just want to wipe the disk then fdisk should  do the job. How to use it is another question


Need script to display Usage message if non option is chosen from menu

Instead of

else
   echo "Usage: mgr [Start|Stop|Restart|Help]" >> svclog
esac

you need:

*)
  echo "Usage: mgr [Start|Stop|Restart|Help]" >> svclog
esac

Or if you want to just print rather than saving to a file:

*)
  echo "Usage: mgr [Start|Stop|Restart|Help]"
esac

*) in case statement means any other value other than what have been mentioned above.

Here is a good tutorial on the usage of case.


Got the solution myself after a little bit of research. Turns out the display manager was removed somehow. So I just logged in and installed lightdm using sudo apt-get install lightdm and everything was back to normal.


How to stop the first command the failing to affect the second command

Using:

sudo rkhunter --update; sudo rkhunter --versioncheck; sudo freshclam

or, if you need logical operations

sudo rkhunter --update || sudo freshclam
sudo rkhunter --update && sudo rkhunter --versioncheck; sudo freshclam

Make some simple tests with echo

echo -n a; echo -n b; echo -n c

abc

echo -n a && echo -n b; echo -n c

abc

echo -n a || echo -n b; echo -n c

ac

Explanation

The ; between the commands is no more than a separator between two or more commands, without considering an error.

It's the same as a list of commands in a script

command1
command2
command3

OTOH, && (logical conjunction) and || (logical disjunction) are logical operations.

&&   If one condition fails, it makes no sense to check the second or third condition. The result would be the same: failure already.

 A  B   A ∧ B
 ------------
 T  T   T
 T  F   F
 F  T   F
 F  F   F

||   If, and only if, one condition fails, it makes sense to check the second and the third condition. If the first command succeeds, the second one won't be executed, because the result is deemed to be success already.

 A  B   A ∨ B
 ------------
 T  T   T
 T  F   T
 F  T   T
 F  F   F


I finally got this to work right by first switching to a terminal using CTRL + ALT +F2 and then running the following series of commands:

sudo service lightdm stop
rm ~/.config/dconf/user
sudo service lightdm start

The following article is where I found this answer and it goes into more details with a few other things folks could try, but it was this last option that solved my problem.

(update to 14.04) unity is not loading after I login to the admin profile after upgrade


Change the servers for downloading updates in the software sources to Main server and try if this fixes it.

You get here by going to the top left with your cursor (go to the text software sources) and choose edit, prefences.

After opening the Software Sources Window select the "Download From" option and the last option let's you select a new server. You can choose to do a automatic "best server for you" method which checks which server is closer to you or a manual selection where you can select a server from a list.


Here's the problem, from lines 1220-1221 in your Boot Repair log:

efibootmgr: Could not set variable Boot0002: No such file or directory
efibootmgr: Could not prepare boot variable: No such file or directory

Translated to English, the efibootmgr utility (a key part of installing an EFI boot loader from Linux) tried to create a new variable (Boot0002), but when it tried to set that variable as the default, it had disappeared from the firmware's memory. Basically, this indicates a bug in the firmware (or possibly in efibootmgr), or at least some sort of firmware glitch or misconfiguration. There are several possible solutions and workarounds, such as:

Upgrade your firmware (what the manufacturer probably calls a "BIOS") and try again. This may fix the bug.
Locate the firmware option to reset everything to factory defaults, use that option, then try again. This may clear cruft out of the firmware's data store, thus making things work more smoothly.
Register GRUB with the firmware in some other way, such as:

Using bcdedit in Windows, as described in my answer to this question.
Using the GUI EasyUEFI tool in Windows.
Using an EFI shell, as described in the Arch Linux wiki.
The point of all of these options is that it's possible that at least part of the problem is in efibootmgr, so using another tool may work better.

If the computer's new enough, return it to the store for a refund and buy one that isn't broken by design.
Use the "Advanced" Boot Repair option to back up and rename boot loaders. This will put GRUB in place of the Windows boot loader, thus hijacking the working Windows entry, and put a copy of the Windows boot loader elsewhere. This is an ugly hack of a workaround that's likely to come back and bite you later, since most tools won't know about the highly irregular state this workaround creates. Nonetheless, it may be the only solution in some extreme cases.

I'd try the solutions in roughly that order until one works, although you can try them in any order you like.


As I already explained in the comments, the monitor telling you "(input) out of range" means that your graphics adapter's output is out of the range your monitor can handle. Since that is apparently already the case in the grub environment, you should change grub's graphic configuration to a value that both your graphics adapter and monitor can handle.

The usual place to configure grub is /etc/default/grub, and you should always use that file if possible. However, you'll need to run update-grub to compile the new configuration, which can be tedious from the outside (e.g. a live system). So if you are only able to access the file system from the outside, it's easier to directly modify /boot/grub/grub.cfg. In your case, find the set gfxmode= line and set it to something like set gfxmode=640x480.

If that worked and you are able to boot and use the system, do the same change in /etc/default/grub (the setting is called GRUB_GFXMODE there and usually commented out). Otherwise, the next update-grub will overwrite your changes (for example when a new kernel has been installed).


Sharing folders between Ubuntu computers fails

Have a read through the Ubuntu Documentation page for setting up Samba File Server.

It's pretty comprehensive and should give you all the answers you need.


What are the messages that pop up when the mouse is still called?


The file you want is /etc/rc.local. This script will be run near or at the end of the boot process. Thus, everything should be up by this time.

However, as @bodhi.zazen pointed out, Upstart might be the best option for you. Check it out.

Note 1: in 15.04 and later, Ubuntu uses systemd and not Upstart. Therefore if you want to take a service approach, see this answer here by @muru

Note 2: In 16.10 there is no /etc/rc.local by default, but if you create it and make it executable (sudo chmod u+x /etc/rc.local) it will work because there is a systemd service to pull it in if it exists. Don't forget to put a line with exit 0 at the end of the file to prevent any failed commands causing the entire boot process to hang.


no GNOME Login Sound in startup applications?

You can add it in, just open Startup Applications, and click on add

for the Command enter: /usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"

For the description you can enter anything you want, the default that comes with it is  as in the image below.

Once done you should see it as in the image below.


Couldn't start Xtightvnc trying default font path - VNCServer

Atlast after tried many solutions and fixes I fixed this issue. I almost give up, but fixed now.

Problem 1: Couldn't start Xtightvnc process.

Solution: check your hostname, and /etc/hosts make sure both are same. To edit those files, use the commands.

nano /etc/hostname
nano /etc/hosts
hostname

Problem 2:

Couldn't start Xtightvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xtightvnc process.

Solution: The x11 fonts are missing, I don't know why the dependency packages are not installed. Try to find folder

ls /usr/share/fonts/X11/

if it is not found, then try to install xfonts base

apt-get install  xfonts-base


Someone has already posted a bug report about this at launchpad:

https://bugs.launchpad.net/unity/+bug/732008


Alfa awus036h wireless adapter acting strange

For 14.04, try this solution :
Edit with admin right file /ect/rc.local and add those 3 lines :

iwconfig wlan1 rate 36M auto

iwconfig wlan1 frag 512

iwconfig wlan1 rts 512
Save and eventually reboot


Performance Counter Information required

Install the perf tools using:

sudo apt-get install linux-tools

You can then run perf on an executable using using the appropriate event using the -e flag, for example to measure CPU cycles on the ps command use:

perf stat -e cycles ps

To see which events are available use:

perf list

..some are software events and some are hardware events like the ones you were referring to.

There is some excellent documentation at: https://perf.wiki.kernel.org/index.php/Tutorial

Hope that helps!


W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages

The reason is that this public key has not been added.

Get the Public Key. Which in your case is 5A9A06AEF9CB8DB0

Now add it, by typing this command in terminal

sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 5A9A06AEF9CB8DB0

Now update it:

sudo apt-get update

Source: http://maketecheasier.com/fix-ubuntu-update-errors/2011/12/16


After updating Ubuntu now I have a "Install Release" icon in the desktop, what should I do?

The "Install Ubuntu" icon can say "Install RELEASE" if "RELEASE" is never replaced with the specific string identifying a particular Ubuntu version. For example, a corrupted installation image for Ubuntu 14.04 LTS might say "Install RELEASE" instead of "Install Ubuntu 14.04 LTS."
It seems this can also happen if there are "pieces" of the installer left over on an installed system--that is, if the ubiquity package is not successfully removed at the end of installation, or perhaps if some configuration files remain.
So there are two general causes of this:
If Ubuntu is already installed:
If Ubuntu is already installed, and you're seeing an "Install RELEASE" icon in your dash, then:

You don't have to do anything. It shouldn't be there.
If you installed from installation media produced from a normal Ubuntu ISO image (rather than a modified image or an image for another OS), this is definitely a bug.

So, if Ubuntu is already installed, here's what to do:

You don't need "RELEASE." There is no such thing, it's remnants of the Ubuntu installer left over in the installed system. (Perhaps they were already there, and when you upgraded to a subsequent release, they somehow were shown. Or if you used a live CD/DVD/USB to upgrade, maybe that left them somehow.)
Don't continue trying to install it; if it did install something, that would actually be bad, because your system is already installed.

If the "Install RELEASE" icon appears in the launcher on the left side of the screen, you can simply remove the "Install RELEASE" icon from there. Just right-click it and click "Unpin."

If you installed from a normal installation ISO (as far as you know), you might want to report this as a bug. After reading that thoroughly, you'd start the bug reporting process by running ubuntu-bug ubiquity (as the bug would be in the ubiquity package). If that doesn't work, use other methods detailed in that guide.

You might be able to remove it and any other remnants of Ubuntu's installer that shouldn't be present in a fully installed system, by opening a Terminal window (Ctrl+Alt+T) and running sudo apt-get remove ubiquity. If you're going to report the bug, it's best to do that first before performing this step.

In summary: If Ubuntu is already installed, you don't need to do anything, you shouldn't continue running "Install RELEASE," and you can even remove it from the launcher.
If you have not yet installed Ubuntu (and your computer didn't come with it installed):
If you are trying to install Ubuntu but you see an "Install RELEASE" option instead of "Install Ubuntu" or "Install Ubuntu 13.04" (or some other version), then you probably have bad installation media. It could have been created from a corrupted ISO image, or it could have become damaged.
So, MD5 test your ISO image, and check your CD/DVD or USB flash drive for defects. (This problem is quite different but it may have the same cause, so see my answer there.)
If you're using unofficial installation media, like something created for your company, or you're installing some Ubuntu-based operating system that is not an official derivative, then you'll have to get help with this from the provider of the installation media or the support resources for the OS you're using.
If your installation medium appears good and this still happens, please provide more details (by editing your question, plus you may want to comment here as well).


How do I know whether my graphics card is supported by fglrx 13.101

you can visit the website to see if your card is supported http://support.amd.com/en-us/download

more info https://help.ubuntu.com/community/BinaryDriverHowto/AMD


Can I screen record an ubuntu VM in virtualbox at 4k when my host system is 1080p?

To be able to run a 4K virtual display in Virtual Box on a smaller screen we need to define the desired resolution (4096 x 2160) first (also see my answer there):

Make a 4k virtual screen

Calculate the modeline for xrandr

gtf 3840 2160 60
Modeline "3840x2160_60.00"  712.34  3840 4152 4576 5312  2160 2161 2164 2235  -HSync +Vsync

Define a new screen geometry mode:

xrandr --newmode "3840x2160_60.00"  712.34  3840 4152 4576 5312  2160 2161 2164 2235  -HSync +Vsync

Attach this mode to the Virtual Box virtual screen (e.g. VGA-0):

xrandr --addmode "VGA-0" 3840x2160_60.00

Apply this mode to the Virtual Screen:

xrandr --output VGA-0 --mode "3840x2160_60.00"

We can alternatively choose this new geometry from System settings... > Displays.

Note: Virtual Box should run in windowed mode on a screen having a lower resolution than the new geometry we had defined.

Record the desktop

Sadly due to a bug in Virtual Box we may need to disable 3D acceleration in the machine's settings to be able to record the desktop with our favorite recording software.

Below is a scaled down example GIF from a 4K virtual desktop:


Black Screen when Booting Ubuntu on Asus Netbook

I couldn't go even to BIOS? Then something is wrong with hardware - I recommend to put it into computer service. Maybe motherboard is broken.


Screwed up Partitioning, Can't boot into live session, Grub installed wrong

First of all, you can't do something to HDD that Live USB/CD stops working. Try to give it some more effort. They should work.
Next, Win8 means EFI. In EFI, it does not matter where you install grub, it anyway goes to special EFI partition. I suspect that you booted your medium in non-EFI mode when installing first time.
Read manuals on how to install Ubuntu on EFI machine. Boot your LiveCD and check it is in EFI mode prior to installing. Ubuntu has a signed GRUB binary, so you don't have to turn off SecureBoot.


I lost the "global menu bar integration" firefox addon

Navigate to about:config, search for 'unity', and toggle from true to false


pidgin after source compilation not working

checking for GSTINTERFACES... yes
checking for FARSTREAM... no
checking for FARSTREAM... no
configure: error:
Dependencies for voice/video were not met.
Install the necessary gstreamer and farstream packages first.
Or use --disable-vv if you do not need voice/video support.

For these particular errors, installing libfarstream-0.1-dev and libgstreamer-plugins-base0.10-dev solved the issue for me (on Ubuntu 12.04 64b).


changing windows c drive to create more partitions

Simply delete your swap partition.From that unallocated space create a new extended partition.There you will be able to create logical partitions(ext4,ntfs,etc).

Boot Ubuntu live disk or Gparted live disk to do the above operations.


The process command line actually shows X, not Xorg:

$ ps aux | grep -w X
muru     14702  0.0  0.0  15940   956 pts/6    S+   12:33   0:00 grep -w X
root     30664  1.9  1.6 690024 136632 tty7    Ssl+ Jun16 215:33 /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
$ pgrep X -a
30664 /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

Interestingly, pgrep Xorg returns the same process:

$ pgrep Xorg -a
30664 /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

And even more interesting, expanding pgrep's search criteria then fails to work:

$ pgrep Xorg -fa
$

This is because X (/usr/bin/X) is a wrapper that calls Xorg. I believe (but am not sure) it actually execs, and so the command line, which is what ps shows, remains unchanged and the program is now different. This can be verified by examining the process' /proc directory:

$ sudo ls -l /proc/30664/exe
lrwxrwxrwx 1 root root 0 Jun 24 08:09 /proc/30664/exe -> /usr/bin/Xorg

This is why pgrep Xorg and killall Xorg work, but pgrep -f Xorg failed. pgrep -f searches the command lines, which still show X, not Xorg. So an action which should usually return better results, actually has worse results.

Indeed, it seems X does exec. Using this SO answer:

$ nm -D /usr/bin/X  | grep exec
                 U execv


Use virtual environments. This allows you to make unlimited amounts of virtual python environments, so you can easily use different sets of packages for different projects. Install the following:

sudo apt-get install python-virtualenv

Then:

sudo pip install virtualenvwrapper

Then, append the following to your bashrc file:

export WORKON_HOME=~/Envs
mkdir -p ~/Envs
source /usr/local/bin/virtualenvwrapper.sh

Then, suppose we want to make a virtual environment called "test-env" we can execute:

mkvirtualenv test-env

To use it:

workon test-env

From within this environment you can then pip install anything (without sudo!).

To exit your virtual environment:

deactivate


If you have no real interest in security you can avoid having to enter your password by having the system login automatically.

If you however do want a secure password (which would be sensible in most cases) the following guidelines are recommended.

Strong Passwords

Applications, and libraries exist for your Ubuntu system to assist in generating, or enforcing strong passwords. A strong password is defined as any password which meets the following criteria:

    At least fifteen (15) characters in length.
    Does not contain your user name, real name, organization name, family member's names or names of your pets.
    Does not contain your birth date.
    Does not contain a complete dictionary word.
    Is significantly different from your previous password.

    Should contain three (3) of the following character types.
        Lowercase Alphabetical (a, b, c, etc.)
        Uppercase Alphabetical (A, B, C, etc.)
        Numerics (0, 1, 2, etc.)
        Special Characters (@, %, !, etc.)

Source: https://help.ubuntu.com/community/StrongPasswords

Edit: If you want to enforce strong passwords or relax password requirements all this is configurable by editing /etc/security/pwquality.conf The file is heavily commented and pretty self-explanatory. Details on the respective options can be found on the man page


RAID10 write speed decreased to normal SSD speed after rebuilding the array

I'm not sure if all of this is correct, but:

mdadm syncs blocks when rebuilding an array, which should be identical to writing to the entire partition or disk of the newly replaced drive.
Using SSDs storage capacity beyond a certain percentage impacts their performance.

So because rebuilding your arrays caused writing at least one SSD beyond that percentage or until it's full may have caused this performance degradation.

Running a manual trim job on the devices may fix this, but could lead to data loss. Also copying zeros isn't a reliable method for measuring SSD performance.

You should have a look at how Btrfs or ZFS handle such cases. They should be more suited for setting up RAID sets with SSDs.


Bluetooth adapter turned from working fine to unrecognized

Just figured this out and had the same symptoms as you. Make sure your Bluetooth is enabled in BIOS/UEFI. If it isn't it won't work :)


Automatically change resolution when not in dock

Install hwinfo if you don't already have it.

Now, run $hwinfo --monitor or just $hwinfo

DO NOT connect it to the dock now. Reboot, choose your favourite resolution and run

$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.undock

DOCK the system now, and reboot. Choose your new favourite  resolution and run

$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.dock

Make a script file and add it to autorun:

    # Check if system is docked or undocked and use correct xorg.conf file.
    # <lm_name> is name of laptop monitor
    DOCKED="`hwinfo --monitor | grep "<lm_name>" | wc -l`"
    # Next line is for debugging
    # echo $DOCKED > /root/docked-state.txt
    if [[ $DOCKED = "0" ]]
    then
    cp /etc/X11/xorg.dock /etc/X11/xorg.conf
    else
    cp /etc/X11/xorg.undock /etc/X11/xorg.conf
    fi
    # End of dock-undock script


I was not able to fix the problem, so i decided to buy a new cooler. Most likely the fan was broken.


Taking debian SID and installing the minium required to run a hello world program gives:

RUBY - 13.1 MB

OPENJDK - 137 MB

PYTHON - 17.7 MB

MONO - 11.5 MB

QT - 28.8 MB

This makes Mono the smallest of all languages investigated.

This is taken from blog post by the mono packager directhex.

http://apebox.org/wordpress/rants/416/


unity-place-filesearch doesn't seem to work

You're running ubuntu 11.10 but the PPA you mention only has packages for Ubuntu 11.04.

I think you'll need to wait for the author of this program to update it to provide 11.10 packages.

The page for the FileSearch lens is here:

https://launchpad.net/filesearch-lens


Have you tried to clean the cache?. I find that sometimes, after an update, Spotify won't work unless you clear it:

rm -Rf ~/.cache/spotify

I hope that it helps as it is a blind shot.


URL to Complete list of native- & web apps for Ubuntu tablet version on BQ M10

You can browse what is in the store using uApp Explorer.

As far as "legacy" X11 desktop apps, the BQ M10 includes (as of OTA 10.1) a preview version of libertine and a container that includes LibreOffice, Gedit, Firefox, GIMP, and XChat-GNOME. There isn't a "supported" way to add your own X apps yet; I believe it is on the roadmap for OTA 11 at the end of May.