rsync error while transfering data from one server to another

If not already done, you have to ensure that root loging via SSH on 192.168.151.123 is permitted. Root login is denied by default. Secondly, you have to set a root password, which is also not set by default.

Permit root login:

--- ./sshd_config_2014-10-12    2014-10-21 15:00:24.354489498 +0200
+++ /etc/ssh/sshd_config    2014-10-21 15:03:03.925036747 +0200
@@ -24,7 +24,7 @@

 # Authentication:
 LoginGraceTime 120
-PermitRootLogin without-password
+PermitRootLogin yes
 StrictModes yes

 RSAAuthentication yes

Restart ssh service:

 sudo service ssh restart

Set root password:

 sudo passwd


Google Chrome personal data loss after every reboot

For anyone having this issue, I found a solution that included uninstalling chrome, manually removing cache and config folders and then reinstall chrome.

It fixed my issue, but later it broke once again and I could solve it by only removing the cache folder:

rm -rf ~/.cache/google-chrome*

For original solution see https://askubuntu.com/a/96826/614129


Hardware compatibility on Ubuntu 12.04 LTS

For the UEFI part see this question and the answer for more information Installing Ubuntu Alongside a Pre-Installed Windows with UEFI

For the hardware, The Intel Z77 Chipset has no problems that I am aware of. The ASRock, since it is using the Z77 Chipset, should work out of the box. For the issue regarding UEFI, you can either disable UEFI from the BIOS options or do what the link I provided offers in regards to installing Ubuntu with a system that has UEFI enabled. More info about this in How to boot Ubuntu from EFI/UEFI?

For the video card in the CPU it should also work out of the box (No problems with Ivy or Sandy technology).

Of course, you would need to use the latest update of 12.04 which is 12.04.2 and download the 64 bit version (32 Bit will not work). More info about this in http://www.ubuntu.com/download/desktop


Ubuntu One not syncing / wrong time after updates

Precisely, that error is caused by the time being wrong :-)

I don't know what the reason for the error but it's probably a timezone, DST issue that can be fixed by installing and enabling ntp and updating the system.

Hope it helps!


Ubuntu 12.04 reached it's End of Life at April 28, 2017.

  Ubuntu 12.04 LTS reached its regular End of Life on April 28, 2017. No more package updates, including security updates, will be accepted to the 12.04 primary archive.

So the answer is: the some one needs to upgrade to the next version (which is not the same as installing security updates) or reinstall.

If you don't want to reinstall, an Upgrade from 12.04 to 14.04LTS is supported and should work well. But be aware: Most installed packages will receive an upgrade too which might break some things.


Give a try to lmms. I'm not that professional in case of Audio, but I think this should help.

To install run the command:

 sudo apt-get install lmms


Is there a way to use colors to differentiate nautilus windows?

At the moment there is no way to make this sort of setting, you might want to suggest it as a feature request on Launchpad or brainstorm

The closest you can get, I'm afraid, is to edit your theme manually.

Look under

/usr/share/themes/theme_name/gtk-3.0/apps/nautilus.css

and

/usr/share/themes/Ambiance/gtk-3.0/gtk.css

You can change the colors manually using web colors

http://html-color-codes.com/

This is long way from what you are wanting.


Asus 1215n GPU driver/s don't give me a "full" OS experience

There are a bunch of successful reports for the Asus 1215N with bumblebee. You can use the nvidia card for chrome or any other application you use to, and leave the desktop to run under the Intel card. Have a look here:
https://launchpad.net/~hybrid-graphics-linux

The bumblebee-disablecard.1215n and bumblebee-enablecard.1215n files will switch on/off the card on demand.


Installing BlueZ 5.50 doesn't update bluetoothd

If you compile a programm from sources and do not use pre-compiled dpkg packages, the dpkg packages will not be touched or changed in any way.

Normally, the configure step instructs the build to use /usr/local as install prefix, instead of /usr. This is to prevent self-compiled stuff to override binaries or other files that are shipped within a dpkg package.
So you bluetoothd binary resides somewhere in /usr/local.

root@localhost:~/bluez-5.50# find /usr/local -name bluetoothd
/usr/local/libexec/bluetooth/bluetoothd

Unfortunately or luckily, not really sure, the make install does place a systemd service and target in /lib/systemd/system, which overrides the files from the dpkg package bluez.
In my opinion, these two files should go into /etc/systemd/system to prevent e.g. an update of bluez overwriting your manually installed version. To make that, you also should add --with-systemdsystemunitdir=/etc/systemd/system to your configure command and reinstall the new bluez and the old bluez.

root@localhost:~/bluez-5.50# ./configure --enable-midi --with-systemdsystemunitdir=/etc/systemd/system
root@localhost:~/bluez-5.50# make
root@localhost:~/bluez-5.50# make install
root@localhost:~/bluez-5.50# apt-get install --reinstal bluez


Yes, it was officially decided at this UDS that client side windows had too many drawbacks to be worth the benefits. The Unity developers, a compiz developer, and a KWin developer have agreed on a new approach that lets window decorations paint the background of the window as well as the decorations. Rejoice.


To trash files or directories :: Open the terminal using Ctrl+Alt+T

cd into the directory which contains your file and :

sudo gvfs-trash /filename/

Hope this'll help.


Without the content of "/etc/fstab" it is difficult to say what your mount commands did (permanently). If you can compare it with another similarly configured system you should be able to spot the difference.


How to add my .deb package to the sudo apt-get install command

You could read about 'personal package archives' (PPA). That's one method to share a debian packaged program with many other users. To install it then they need to do nothing but this:
sudo add-apt-repository ppa:YOUR-LAUNCHPAD-USERNAME/PPA-NAME
sudo apt-get update
sudo apt-get install SOFTWARE-NAME

Those PPAs are hosted on Launchpad so there website might be a good place to start at.


GRUB version 2.02 doesn't show Windows boot manager after dual boot with Ubuntu 14.04

There is no Windows installed on this computer, so there is no way to boot into Windows.


How to find drivers for ubuntu 20.04 LTS

There is no need to find any external driver, Ubuntu will take care of it by default but there is one important thing to note:
Ubuntu also tend to use generic drivers and those will update every point release....
You should first try Ubuntu alongside windows and see if any problem even exist or not...


How do I efficiently find my terminal window in GNOME Shell?

You may use the GNOME shell extension called Dash to Panel.

  An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.

Amongst various other options, this extension shows larger preview for application windows on hover and also static ordering for window previews.

For more info, visit the extension's GitHub page.


Errors when installing wine in ubuntu 14.04 LTS

You need to enable 32-bit support within apt on Ubuntu 14.04 64-bit in order to successfully install wine:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install wine


How do I obtain a complete Ubuntu download?

There are various types of Ubuntu install media.  The typical ones require the internet to download packages, but there are others where an internet connection is only optional, because the install media is large enough to contain enough packages for a working system.

If the downloaded image file is only a few hundred MB, or less, you probably have a network installer, which requires the internet.

You will want one of the "desktop" ISO images, which are typically around 1.4GB in size.

This is a large initial download but will ensure that you can install a working system even with no internet connection.  It will fit on a DVD or a 2GB+ USB stick.


sudo apt-get install not working to install plank and another applications

Okay, I understood. You have malfunctioned Visual Studio Code (Terminal name is code) that is making other packages not installable.
So do these steps:

sudo dpkg --remove --force-all code

If that fails:

sudo rm -i /var/lib/dpkg/info/code.*
sudo dpkg --remove --force-remove-reinstreq code

Confirm Apt is fixed. The following command should return no errors:

sudo apt-get update

Credits goes to here.


Minecraft won't launch due to error in launcher

I have the same problem. Usually restarting the computer does the trick. However ￼￼

LIBGL_ALWAYS_SOFTWARE=1 java -jar Minecraft.jar

works, but my FPS goes down from 0-23 to 1-3.Thus, the game isn't really playable this way.


code=exited, status=200/CHDIR is your key error message.

It indicates that /var/www/rest-api/dist doesn't exist or is not accessible at the time your service is attempting to run.

If it's mounted over the network, After=network.target does not necessarily mean that any given network mount has been mounted.  It's even possible that a slow to start local drive might not be mounted yet.
To see if you're experiencing a race condition, try adding a delay or possibly using RequiresMountsFor=, or even ConditionPathExists=.

source: https://www.freedesktop.org/software/systemd/man/systemd.unit.html


World of Tanks is available for Windows only as I see on the Website.
But there are possibilities to run Windows software on Linux.

Wine

Wine is a program that allows you to install and use Windows programs. It's not perfect, but there is a database where you can see whether the program worked according to other people. This link was already posted in the comments of your question: http://appdb.winehq.org/objectManager.php?sClass=application&iId=11544

As you can see the newest versions of the game are rated in "GOLD", the game should run fine. Details can also be found in this database.

Since Wine is a bit complicated to new or inexperienced users, I recommend using Wine via
Crossover (http://www.codeweavers.com/products/)
or PlayOnLinux(Free, downloadable in Software Center).

These programs will use Wine to run windows software, but offer an easier interface. You can also try using Wine without this software. Just look for "Wine" in the Ubuntu Software Center.

Please keep in mind, that even with this database, and even if I would try it out for you, there is no guarantee that it will work on your specific hardware. It's not a native solution, but a workaround. It's GOLD rating looks promising, through.


You are having this problem because /dev/sdb is mounted (type mount | grep /dev/sdb to see), and its meta-information is in the System's RAM, and the system has it "locked" to prevent multiple uncontrolled access . If you umount /dev/sdb before you sudo fdisk /dev/sdb, the system will ensure that the "disk"'s meta-information is up-to-date on "disk", then forget the in-memory copy of the meta-information, and let you adjust/trash the SD card to your heart's content.


How to install TP-LINK Archer T4U driver?

Please download this file on some other computer and transfer it to the desktop of the subject computer: https://github.com/abperiasamy/rtl8812AU_8821AU_linux/archive/master.zip Right-click it and select 'Extract Here.' Now, in a terminal:

cd ~/Desktop/rtl8812AU_8821AU_linux-master
make
sudo make install
sudo modprobe rtl8812au

Now that we have the wireless working correctly, we'll refine this a bit.

sudo apt-get update
sudo apt-get install dkms
cd ~/Desktop/rtl8812AU_8821AU_linux-master
sudo cp -R . /usr/src/rtl8812AU_8821AU_linux-1.0
sudo dkms add -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms build -m rtl8812AU_8821AU_linux -v 1.0
sudo dkms install -m rtl8812AU_8821AU_linux -v 1.0


Windows users also complain about this. This laptop uses the Intel Q87 express chipset which does not have PWM outputs so the only way of controlling the fan speed is via the BIOS. You could try changing the power management profile to balanced.

I do not recommend removing dust by using an air duster to blow the dust into the laptop. It is much safer to use a domestic vacuum cleaner to suck dust out, although this is nothing like as effective at cleaning the fan as disassembly and using something like a glass cleaning wipe on the fan blades.


Switching between windows or tabs doesn't finish

I found this bug report. It looks like there is a feature called virtual contexts that is causing problems with Intel MESA drivers.

This is the code review for the respective regression.

UPDATE (10/16/2015):

This fix is available in Chrome Dev (48.0.2535).


Library that will send me an email when the log file changes

For specific changes try http://code.google.com/p/linscripts/wiki/logmon

It's even possible to execute another command.


Canon MX330, Ubuntu 20.04 (after upgrade from 18.04) - Printing not working - Scanning Does Work

Printing is supported by printer-driver-gutenprint. It shouldn't be too difficult to set up a print queue from (say) localhost:631, as described here.
Also, ippusbxd is suboptimal. Although your Canon is too old to use it, it is probably best to keep it off your system.
Personally, I would do the following to set up a print queue:
lpinfo -m | grep MX330. This gives you a PPD to substitute. It begins gutenprint and ends with expert.
Now you need a URI. Use lpinfo -v and read the page given in the link above. Now substitute for the PPD and URI in lpadmin -p PRINTQ -v "URI" -E -m PPD. PRINTQ can be any name you want to give to the queue. How's that?


Building a six-screen setup. What video cards options are there?

I have a 3 monitor rig working with both blob and OSS drivers(blob performance is marginally better and supports opencl much better).  That's not a solution to a six monitor quandry.

Dual monitors cards with 2 triplehead2gos should be more than adequate to achieve 6 monitor screen real-estate.


External HDD not mounted error for backup with LuckyBackup

Finally found the solution.

It is a known issue with version 0.4.7 (the one in the repos). The author has updated to version 0.4.8 that solves this problem.

You can find the explanation at this url and the deb files for 0.4.8 at the project webpage.

Thanks Loukas for a very useful software.


They are two different kernel versions and there is no noticeable difference between them
Remove the newer version of the kernel and stop it from updating:

Hit Alt + F2 and type konsole into the box at the top of the screen that appeared
Copy:

sudo apt-get remove linux-image-3.5.0.27-generic linux-headers-3.5.0.27-generic ;sudo apt-mark hold linux-image linux-image-generic linux-headers-generic

Into the new window hit enter, type in your password; if it asks you if you want to do this type yes in the window.


Check if you're switching between workspaces or desktops? It's different and if you're using Compiz, you should only use one desktop with several workspaces. (you can change these settings by opening the Compiz Config Settings Manager in the General section

set number of Desktops to 1.


Copy/Paste not working within Ubuntu 18.04 guest on VirtualBox

Simple answer for an annoying problem. My problem was likely not knowing that copy/paste is different in Linux terminal than in the rest of the Linux system:

Cut - Ctrl + Shift + X

Copy - Ctrl + Shift + C

Paste - Ctrl + Shift + V

see: https://howtoubuntu.org/how-to-cut-copy-and-paste-in-the-terminal-in-ubuntu

also answered here: https://apple.stackexchange.com/a/389788/340499

and here: Is there a way to execute keyboard shortcuts from the terminal?


Installation

Go to the software center and install wine (or by clicking here)
Go to www.ace-spades.com or the download link listed above and download the installer.
Double-clicking on the installer should just run it. If not, try right clicking and select "open with Wine" or "open with Wine Windows Program Loader".
Let the installer run, it should just do everything automatically for you.

Running

RUNNING THE GAME:

Ace of Spades can connect to a server through one of two ways. The second method  is much more reliable and helps you get around the server problems that many users seem to experience.

Install any windows web-browser through WINE. Go to here  and simply click on the server you want to join. The rest should work as normally under windows. This should be possible with a native Linux browser, but it involves setting the association between the browser and 'client.exe' manually and I haven't been able to get it to work just yet.
Launch the program via command line: In a terminal(Press Ctrl + Alt + T) type wine '/home/USER/.wine/drive_c/Program Files/Ace of Spades/client.exe' -aos://####### Replace USER with your username and ###### with the server number you want to join. The server number can be found on www. Ace-spades. Com  by right clicking on a server name and choosing "Copy Link Location". This can be pasted to replace the entire aos: //##### argument.

Source


Play dual movies, using two sound devices one for original version and the other one for dubbed

Install pavucontrol from this link using Software Center.

Next Start two instances of vlc for the same video file, use the following cmd:

`vlc /path/to/video.avi & vlc /path/to/video.avi`

Start pavucontrol in a new terminal using the following cmd:

pavucontrol

Now in the playback tab, scroll down to find two vlc applications. Simply change the audio output for one of the player.

Set one of the player in full screen mode and minimize the second player.


How to do encryption for a simple telephone on Nexus 5 and Ubuntu Touch?

No, that's not possible: the standard phone application uses 25-year-old technology with very low bandwidth and is just not suited to do encryption.  (9600 BAUD is just too little to add encryption)
Sorry!  :-(
Having said that: nothing is truly impossible, but to apply modern cryptographic encryption to a system that has such a low bandwidth would take a lot of processing power from the phone itself so that no one has bothered doing this: there are other ways of making encrypted calls out there...


Wubi: Cannot download metalink and therefore the ISO (Change?)

The devs must know the issue because of an existing bug report for 14.04.1. 14.04.1 was the first point release where the devs forgot(?) to update the links.

IMHO there are the following solutions to fix this:

You avoid Wubi (recommended).
You wait until devs will fix this (Maybe, this will never happen)
You change the file mentioned in bug report by your own. (Maybe, this solution is too difficult for you).
You use a workaround for 14.04.1 published by bcbc, which works for 14.04.3, too. Thanks to bcbc.
You trust unofficial, unsigned but fully fixed versions by hakuna_matata which you can find here. Thanks to hakuna_matata.


Use an app that emulates a terminal on your android device (look in the market) to issue the dd tool to write a downloaded iso to your usb or sd-card.

dd if=/path/to/ubuntu.iso of=/dev/yourusborsdcard

be careful however, this can damage your tablet data if handled improperly. always use a usb/sd-card without any important data on it.

edit: a terminal emulator like this one


In the 'File' menu of LibreWriter, you can select 'Export as PDF', or there is a toolbar butten (next to the save icon on my computer) which does the same thing.


I finally found the solution.  From the main menu:

System → Preferences → Look and Feel → KDE System Settings

Choose Icons, then set the theme to Oxygen.


Possible to add a command to be run when a currently running command completes?

My solutions is this: suspend your long-running task with Control+Z,
  then type something like:

fg; echo "Done!"

  If you want to run react differently based on the success or failure
  of your command, use && and || as short-circuit operators.

fg && echo "Success!" || echo "Failure!"

Source: How to execute command after current running command in bash?


Unable to boot OS X after installing ubuntu

When you see a circle with a slash symbol instead of the Apple logo, it means your Mac couldn't find a valid System Folder to start up from.
  If you're using your Mac at a school or business, it might be trying to start from the wrong version of OS X. Contact your IT department for more help.
  If this is your personal Mac, try reinstalling OS X by using OS X Recovery.

https://support.apple.com/en-us/HT204156


How do I get a Canon PIXMA MX350 printer working?

Go to this website
http://software.canon-europe.com/products/0010699.asp.

Select Linux, press submit and select : "Printer Driver for Debian Linux (3.1)".
Its name should be cnijfilter-mx860series-3.10-1-i386-deb.tar.gz

This driver also works for MX320 and MX330 printers so maybe also for MX350.

Untar it and do

cd cnijfilter-mx860series-3.10-1-i386-deb/packages
sudo apt-get install libpopt-dev # not sure it is useful
sudo dpkg --force-architecture -i cnijfilter-common_3.10-1_i386.deb
sudo dpkg --force-architecture -i cnijfilter-mx860series_3.10-1_i386.deb

Now just go to System Settings/Printing. Press Add, and you should see your printer if you wait a bit.


How to add ubuntu to windows 10 boot manager, but it will be in another hard drive?

I can't answer the question directly, since I'm not very familiar with configuring Windows boot tools. I'd like to point out some basic issues, though....

There are two types of programs, with some overlap between them, that are relevant:

Boot managers -- These programs present a menu or other user interface to enable you to select which OS to boot.
Boot loaders -- These programs load an OS kernel into memory and transfer control to it. Most boot loaders can load just one type of OS kernel (such as a Linux kernel or a Windows kernel) into memory.

Thus, the boot path goes from the firmware to a boot manager to a boot loader to the OS. One boot manager can hand off control to another, and there can be more complex boot paths if one stage or another returns to an earlier step.

Some programs, such as rEFIt, rEFInd, and gummiboot (now systemd-boot), are boot managers but not boot loaders. Others, such as the Linux EFI stub loader, are boot loaders but not boot managers. Still others, such as GRUB, are both boot managers and boot loaders. Some programs are boot loaders with limited boot management capabilities; for instance, ELILO and (under EFI) SYSLINUX can present menus that let you select which kernel to run, but they can't launch the boot loaders for other OSes.

My understanding of the Windows boot manager/loader is that it can chainload to another OS's boot loader or load a Windows kernel. It cannot load a Linux kernel directly, though (except perhaps via the EFI stub loader, but I don't know of anybody who's tried it that way). Thus, even if you succeed in configuring the Windows boot manager the way you want, you'll need a Linux boot loader in the mix.

One twist in all this is the Linux EFI stub loader, which is built into the kernel. The EFI stub loader turns the kernel into an EFI application that serves as a boot loader for the kernel itself. Thus, an EFI boot manager can fill a role very much like a boot loader, but technically, it's the kernel itself that's the boot loader. The nature of Linux kernel booting also means that you need to be able to pass options to the kernel, which few non-Linux boot managers make easy. Also, if you wanted to use this feature to have the Windows boot manager launch a Linux kernel, you'd need a way for the Windows boot manager to read the Linux kernel. Since the kernel is normally stored on a Linux-native filesystem, this would require changes to either move the kernel to a FAT partition or add an EFI driver for your Linux filesystem into the mix. Both are possible, but they add complications to the setup.

Note also that EFIs include their own boot managers, but not boot loaders. Unfortunately, most EFIs' boot manager user interfaces are quite poor, so most people prefer having something else available to fill that role.

Most experienced Linux users are familiar with GRUB and perhaps one or two other boot loaders or boot managers. Thus, you should have no problems getting advice on this site on how to configure GRUB, ELILO, SYSLINUX, gummiboot, or rEFInd to do what you want. (Note: I forked rEFInd from rEFIt, so if you care to use rEFInd, I'm the one to ask about it.) Expertise in configuring the Windows boot manager/loader is rarer here, though. If you really want to use the Windows tool, you should probably ask on a Windows forum.

There are about a bazillion questions and answers about boot manager and boot loader setup on this site, so please search if you care to use a more traditional Linux-friendly boot manager. If you can't find the answer to your question, feel free to ask another. (I recommend asking a new question rather than posting follow-ups, since your follow-up questions are likely to be very different from your original question and will require extensive new answers.)


Changing symlinks does not work for directories

By default, if you pass a directory (or a symlink to a directory) as the second argument to the ln command, it will create a link inside that directory with the same name as the first argument.  So with the set of commands you have issued, you should find a symlink named dir2 inside dir1.

You can change this behaviour using the -T option:

-T, --no-target-directory
       treat LINK_NAME as a normal file

If you pass this option in your second ln invocation, then it should overwrite the lnk symlink rather than creating a new symlink inside the first directory.


Ubuntu does not boot after installation (Alongside windows 8)

I solved it with the technique described by the two links olfred posted. And after that running boot-repair again with "Backup and rename Windows EFI files" as suggested by insert_name_here.

How I did it:

Followed the instructions from this link.
Ran boot repair with the "Backup and rename Windows EFI files" option.

Explanation

I first tried to overwrite the original efi files with that of ubuntu's (and GRUB) that caused my machine not to boot anymore. The manufacturers lock had to be overridden. That's when the extra option in boot-repair came in.

Thanks to all for helping.


Adding new runtime flag / options to commands in the terminal?

You can define a bash function with the same name as an executable, and have it process your additional parameter and call the original function unambiguously using the command builtin. From man bash:

command [-pVv] command [arg ...]
       Run  command  with  args  suppressing  the normal shell function
       lookup. Only builtin commands or commands found in the PATH  are
       executed.

To illustrate,

function ls() {
  case "$1" in
    "foo")  shift
            echo "do new thing with remaining args: $@"
            ;;
    *)      command ls "$@"
            ;;
  esac
}

Then

$ ls -ltr --color=always
total 12
drwxrwxr-x 2 steeldriver steeldriver 4096 Sep 17 08:16 subdir1
drwxrwxr-x 2 steeldriver steeldriver 4096 Sep 17 08:17 subdir2
drwxrwxr-x 2 steeldriver steeldriver 4096 Sep 17 08:17 subdir3

works as normal, whereas

$ ls foo -ltr --color=always
do new thing with remaining args: -ltr --color=always

(you may need to unalias the ls command in order to try this out).

Obviously a real-world implementation should do proper error checking - perhaps using getopts to process the entire command line rather than a simple switch/case on $1.

Alternatively (and more traditionally) you could achieve the same by writing a wrapper script and placing it somewhere that comes earlier in your $PATH than the original executable (such as /usr/local/bin or $HOME/bin). Within the wrapper, refer to the original executable by its absolute path.


awk loops on each record of input. If no input files are specified, it uses standard input. If you want to run an expression without using any input, use a BEGIN block, and keep nothing outside it:

$ awk 'BEGIN {print "foo"}'
foo

So, in your case:

awk 'BEGIN {printf "%20s\n", "hi"}'

Usually, the BEGIN block is run before any input is read. So, it is run whether or not there is any input, and since there are no other expressions to run, awk simply exits.

You can also use exit to make awk exit the loop:

awk '{printf "%20s\n", "hi"; exit}'


How to install with Wubi when it says "Could not retrieve the required disk image files"?

I cannot tell you exactly what went wrong, because you didn't include anything from the log file the error message told you has more information.
However, the general problem is that the Wubi installer is unable to download an Ubuntu ISO image.

One common cause of this problem is that the Wubi installer is unable to use bittorrent. This is how it downloads ISO images. No special software is required on your computer to facilitate this (wubi.exe contains everything necessary). But, this does not work well on some Internet connections. Yours could be one.
If you want more detailed information about the cause of the problem, please edit your question to include the contents of that log file (c:\users\username\appdata\local\temp\wubi-12.10-rev273.log).

It sounds like you already tried burning an Ubuntu ISO to a DVD, so you probably already have an ISO image. If you do, and if it is an ISO image for Ubuntu 12.10, just put it and wubi.exe (the Wubi installer) in a folder that contains no other files, and run wubi.exe again.
If you don't have an appropriate ISO image, you can download one manually on the download page, and put it in an otherwise empty folder with wubi.exe.
If you're already running Wubi from the DVD you burned (or from a USB flash drive you created, or by mounting the ISO image), then this means the installation medium is corrupted. That is, either the ISO image contains wrong data, or the DVD/USB contains wrong data (which could happen from wrong data in the ISO, or due to other problems, most commonly due to something going wrong when it is burned/written).
So if that's the case, MD5 test the ISO image. If it's bad, download the ISO again (and test it again too). If it's good, make sure you're burning the DVD or writing the USB flash drive correctly. In particular, remember that the desktop ISO for Ubuntu 12.10 (but not earlier versions) requires a DVD, it is too big to fit on a CD.
Sometimes a DVD will come out better if you burn it at a slower speed.
Wubi might not meet your needs, though.
You said:

What can I do, because I want to get rid of my Windows 7 and use the way better Ubuntu 12.10?

If you install with Wubi, Ubuntu will be installed inside a rewritable disk image file stored inside your Windows system. So, while Windows will not be running while you use Ubuntu, you will not be able to remove Windows and keep Ubuntu. (Actually, you could, if you converted your Wubi installation to a regular installation. But you would have to be able to boot from external media to do this, so if you can do that, then you can just install a regular Ubuntu system in the first place.)
So you probably shouldn't use Wubi. How you should install Ubuntu depends on what went wrong in your first attempt (before you tried Wubi):
If you tried to burn it to a CD, that won't work starting with 12.10 (the version you're trying to install). Burn it to a DVD instead.
If your computer won't boot DVDs, or you don't have a DVD, or you'd prefer not to use a DVD, then you can write the ISO image to a USB stick instead.
As stated above, your ISO image, DVD, or USB flash drive could be corrupted. So test the ISO image, and make sure you're writing the DVD or USB correctly (see the two links just above this paragraph). Corruption can interfere with regular installations as well as Wubi installations, and can even prevent your DVD from booting entirely. As stated above, if you're trying to install from a DVD, burning the DVD slowly can reduce the likelihood of corruption.
If your DVD/USB boots but doesn't get very far, then you can usually test the DVD/USB itself. When you see a purple screen with person and keyboard icons at the bottom (this is very early in the boot process after you boot from the DVD/USB), press a key to bring up the text-based boot menu. Then select Check disc for defects. For more information on this, see the community documentation and this video.
If none of that works, you'll have to provide more information about exactly what you've done and what happened, including exactly what happened when you tried to boot, and any error messages that appeared at any point.


Enabling 7.1 audio passthru in 14.04 for Kodi

To enable audio passthrough from Ubuntu running PulseAudio and Kodi we need to make several settings:

Using Pulse Audio

Enable passthrough for our audio output device
This is done using pavucontrol  where we can enable passtrough in advanced settings for our digital output through HDMI, or S/PDIF resp.:

The profile used for our audio devices is defined in the Configuration tab.
For passthough mode we need to set pulseaudio to 2.0 channels.
Enable audio passthrough from Kodi system audio output settings:

Choose a digital output device (HDMI or S/PDIF) in the output configuration
Tick enable passthrough
Select which output device to use in case there are more than one
Tick what encodings our AVR is capable of decoding

Please note that S/PDIF is only capable of providing 5.1. audio. For 7.1. audio we'd need a HDMI connection.

For further limitations on using Pulse Audio for passthrough and for indepth additional hints read the great tutorial from the Kodi team. There you will also find an extremely helpful table for setting to be made under various conditions.

Using ALSA

Sadly Pulse Audio currently does not support passthrough of DTS-HD or TrueHD audio. To get this working we therefore can not use Pulse Audio as a sound server for Kodi.

We need to start Kodi with ALSA instead (AE_SINK=ALSA kodi).
To avoid unwanted side effects with Pulse Audio it is recommended to remove it completely, or suspend it using pauspender before starting Kodi.
Both can be achieved by a startup script for Kodi:

#! /bin/bash

pasuspender
AE_SINK=ALSA kodi

In case we always want to start Kodi with ALSA and to always suspend Pulse Audio just link to this script in our kodi.desktop file giving the full path to the (executable) script in its Exec line.
Then the passthrough device will point to the ALSA device:


Very simple solution to that ---
the edge scrolling function is not the 'default' function in ubuntu 14.04

Go to settings, then click on 'mouse and touchpad' then just uncheck the 'two finger scrolling' option.
There you go, no restart, no hassle


English, several localizations, how to get rid of them?

You can't get rid of them easily, since all the English variants are shipped in the same set of language packs in Ubuntu. My advice would be to select en_US and leave it at that. The other installed English variants do no harm, do they?


Which version of Catalyst AMD graphics driver will be default in Ubuntu 13.10

The open source driver is default, not Catalyst/fglrx. However Catalyst is available from ubuntu software center. There it has version fglrx 2:13.101-0ubuntu3, which I guess is 13.10. This is not surprising since 13.11 isn't out yet (it's in beta).


Sound is not working correctly on Ubuntu 12.04

It seems like I'm unable to comment, so I'm putting my comment into this answer.

Could you open a terminal (Control + Alt + T by default) and enter the command alsamixer? You should see a bunch of volume levels. Make sure they are towards the top of their bars and unmuted ("OO" is unmuted, "MM" is muted at the bottom of each bar).

If it doesn't look like anything's wrong, could you post a screenshot of the alsamixer window?


Wired internet connection stopped working

Can you please let's know whether this is a Laptop or PC,  if this is a laptop - then the Network driver might not configured or installed.

We can solve this issue by installing the proper network driver.

For this you need to download the latest drivers from the below URL,

http://linuxwireless.org/download/compat-wireless-2.6/

Once its download, open your terminal window - go to the download location and extract the download file.

tar -xvf compat-wireless-2012-07-03-p.tar.bz2

just execute the below command one after another,

cd compat-wireless-2012-07-03-p

scripts/driver-select alx

make

sudo make install

sudo modprobe alx

Now do a restart and check this resolves this issue,


According to the developer of the indicator sensor, there is no Quantal port for it yet.

indicator sensor ppa

The ubuntuone indicator has no quantal port either.

ubuntuone indicator

so I guess this is the case for all your missing/broken indicators.


Blackscreen with only mouse pointer after switching to Ubuntu desktop from Kubuntu on 15.04

I have fixed the problem. There were 2 issues.

1. First Issue was with display-manager. Found the solution by searching in this forum. This was fixed by reinstalling ubuntu-desktop and unity.

  dpkg-reconfigure -a
    dpkg --configure -a --force-all
    apt-get install ppa-purge
    apt-get install --reinstall ubuntu-desktop
    apt-get install --reinstall unity
    reboot

After this I was getting login screen but it won't login, because of Display driver issues.

2. Second issue was with libegl1-mesa-lts-utopic - which is a left-over during upgrade for Utopic to Vivid.

This was identified from Boot in Recovery mode> Clean Packages
Following are the steps I have done to fix:

  apt-get autoremove libegl1-mesa-lts-utopic
   apt-get update
   apt-get upgrade
   reboot
   apt-get autoremove
   dpkg --configure -a
   apt-get clean
   apt-get autoclean
   apt-get autoremove


nino is what you are looking for.
install it from the software center


Open Terminal :

sudo vi /etc/pam.d/common-password

Add :

password [success=2 default=ignore] pam_unix.so obscure sha512 **min=10**

As you can see min=xx will specify the x number of character should the password include .


Have problem with install latest amd ati drivers

I find this solution on google this working for me
https://gist.github.com/moldcraft/8116528


Most window managers call this 'shading' the window. It is usually done by double-clicking or scrolling on the title bar (you can undo it with the same action), but that depends on the window manager (and I'm not really sure which one you're using). If not, it looks like clicking on the down-arrow on the left will probably do it. For sure, there should be an option in the right-click menu (if you right-click on the title bar) to bring the window back.


How to change text direction in LibreOffice?

In LibreOffice 7  Tools -> Options... -> Language Settings -> Languages -> Default Languages for Documents -> Check on Complex text layout option (Also select the preferred language from the dropdown menu) -> Press Apply and OK button
Then use
Ctrl+Shift+D --- switch right to left entry
Ctrl+Shift+A--- switch left to right entry
OR
You can use Left-To-Right and Right-To-Left icons


isolinux folder empty every usb installer creation

You may run syslinux to create boot setup manually. See Opening Syslinux to make a USB bootable?

(win folder should contains syslinux.exe after build). I'm not sure about Windows' paths but in Linux:

sudo syslinux -d /media/usbmountpath -i /dev/sdx

Otherway:

Create a Ubuntu/Mint VirtualBox.
Mount the USB key to it
Create Bootable USB from there.

Reference:

HowTos - Syslinux Wiki


Having issues using fdisk and GParted with Lexar 64GB USB, but reading and writing is fine

Sorry about the confusion, the issue wasn't the USB, it was the kernel version I was using. I decided to delete 3.4.0.0 and use the kernel ubuntu provided by default.


Ubuntu 11.10 Software center struck at "Applying Changes" and Update Manager won't proceed because of an Installation Error

Got the answer.

First I used this code

sudo apt-get update --fix-missing

when it completed its execution, I tried to force remove the faulty application by a simple

sudo dpkg -r –force-depends

and then finally

sudo dpkg --configure -a

and bingo problem solved!

Thank you very much @UrFriendlyVirus


You have probably copy/pasted something in your ~/.bashrc file.

bash: export: `=': not valid name probably means you used an = with spaces. Remove spaces around this to fix this.

/home/(my account name)/bin is wrong, you should replace (my account name) with your actual account name.

You can open your .bashrc by typing gedit ~/.bashrc & in your terminal or opening your home folder and choose View > Show hidden files and opening it from there.

If this doesn't fix it, could you add the contents of your .bashrc to your question?


error:failure reading sector 0x33002 from hd0

Had an error "reading sector 0x5x220 hd0" after installing xubuntu and rebooting.

Typing "instmod normal"  and then "normal"  worked.

Edit:

After another reboot "reading error" occured...


Unity top bar, side bar, and window decorations missing after upgrade to 12.10

I finally got Unity back at a normal resolution with compiz working as usual (apparently). It doesn't feel as snappier as before, but at least I can work with it.

This is what I did (hope it helps others):

Tried resetting xorg.conf file as @RobertPitt suggested (which, actually, did nothing for me).
Then tried what @Freedom suggested, but there was no entry inside the additional drivers tab.
Googled for a while and tried the steps outlined in this page and this page. After following the first web page steps nothing changed. As for the second page, I couldn’t get the ATI driver package to build.
Out of frustration, I got rid of fglrx with sudo apt-get autoremove fglrx --purge and rebooted sudo shutdown -r now.

After reboot, everything looked and seemed to work as usual. So weird.

By the way, I have a Radeon HD 3400 (RV620) card and there's still no entry for proprietary drivers in the additional drivers tab.


Xfce notification for detected keyboard and/or mouse

I did a bit of digging around and based on the notify-send command (thanks mreq for that) and the swatch command, I came up with this:

swatch --config-file=/etc/swatch.conf --tail-file=/var/log/syslog

And my swatch.conf looks like this:

# Watch log file for word "Comfort" (Comfort Mouse, maybe be more specific)
# Don't trigger more than 1 notification in 5 seconds.
watchfor /Comfort/
    echo
    exec notify-send -t 3000 "Keyboard / Mouse Detected" "$_"
    threshold track_by=$1, type=limit, count=1, seconds=5

Now I just gotta toss a --daemon on the end of the command and create an init script and I should be good to go I think.

Btw, notify-send can be added by running sudo apt-get install libnotify-bin

Thank you!


5 Ways to Run Linux Software on Windows:

Virtual machine
Cygwin
Install Ubuntu via Wubi
Ported and Compiled Programs ...


Do I have to create a new snap package everytime a dependency gets a security update?

The short answer is yes, you'll need to rebuild your snap if you need to update a dependency. However, there's a longer answer here, too.

Say you have some application that uses SSL (could be some embedded software or a full-blown website using Apache). You do your research and utilize specific key exchange and symmetric algorithms. Now say a security vulnerability was discovered in SSL, and a new version was released. Just because it's a security release doesn't mean the patched vulnerability was in one of the algorithms you used. What if it wasn't? What if, by patching that vulnerability in an algorithm you didn't use, something you did use was broken or compromised (happened to me recently with PHP)? If you're bundling it you can make the call about whether or not you need to upgrade on a use-by-use basis. You can also test it extensively before rolling it out to all your users. There's also the possibility that the distribution you're targeting has a different version of SSL that doesn't work with your piece of software, where bundling it in the snap provides for a common experience across platforms.

There's definitely a trade off between the benefits of sharing dependencies and the benefits of bundling them.


Do you have free space to create partition or want to resize existing? Ubuntu Live Cd can help you, boot from it, run gparted and you are able to do many things, all what you need with partitions. Live CD can be written to DVD, or USB by program uunetbootin. Gparted live cd is alternative, you can download it directly from uunetbootin and write to usb disk.

If you have free space where you want create partition, just install gparted and run it.

In gparted choose a disk to operate with. Choose partition to resize, change size and apply changes. Or choose free space, create partition, apply changes.


Can not insert data mysql using python with pymysql

You've misunderstood how to use the python interface.

cnx = mysql.connector.connect(user='root',password='******',
                              host='localhost',
                              database='temp-at-interrupt')
cnx.close()

Here you connect, and then close the connection. After this, without ever defining your cursor cur you attempt to execute a query with it. This won't work.

You have to set up your connection, define your cursor, run your queries, and after you've finished querying you can close the connection.

The mysql documentation provides this example, which shows the flow of it:

import mysql.connector

cnx = mysql.connector.connect(user='scott', database='employees')
cursor = cnx.cursor()

tomorrow = datetime.now().date() + timedelta(days=1)

add_employee = ("INSERT INTO employees "
               "(first_name, last_name, hire_date, gender, birth_date) "
               "VALUES (%s, %s, %s, %s, %s)")
add_salary = ("INSERT INTO salaries "
              "(emp_no, salary, from_date, to_date) "
              "VALUES (%(emp_no)s, %(salary)s, %(from_date)s, %(to_date)s)")

data_employee = ('Geert', 'Vanderkelen', tomorrow, 'M', date(1977, 6, 14))

# Insert new employee
cursor.execute(add_employee, data_employee)

emp_no = cursor.lastrowid

# Insert salary information
data_salary = {
  'emp_no': emp_no,
  'salary': 50000,
  'from_date': tomorrow,
  'to_date': date(9999, 1, 1),
}
cursor.execute(add_salary, data_salary)

# Make sure data is committed to the database
cnx.commit()

cursor.close()
cnx.close()

Here you clearly see the flow of connecting to the database, creating a cursor, executing queries, committing the result to the DB, and finally cleaning up and closing the connection.


Why would permissions on a mounted volume be different when done manually vs. through fstab?

A fairly insecure and permissive solution is to add ,dir_mode=0777,file_mode=0666 immediately after guest,uid=1000,iocharset=utf8, leaving no space after the utf8 bit.

I would encourage you to experiment with more restrictive settings like ,dir_mode=0755,file_mode=0644 and see if that will work for you.

The mount options are described in man mount. Except for cifs - the man page says:

Mount options for cifs
See the options section of the mount.cifs(8) man page (cifs-utils package must be installed).

man 8  mount.cifs tells you everything you need to know and some more. It says (among other things):

FILE AND DIRECTORY OWNERSHIP AND PERMISSIONS
The core CIFS protocol does not provide unix ownership information or mode for files and directories.
Because of this, files and directories will generally appear to be owned by whatever values the uid= or
gid= options are set, and will have permissions set to the default file_mode and dir_mode for the mount.


Does Banshee support Last.FM iPod scrobbling?

Not currently: see Bug 536389.  It's a commonly requested enhancement, but so far no one has offered a patch, and this doesn't seem to be a high priority for the core developers.


Custom ringtones will arrive with OTA-9 (Jan 27 2016).


Have you tried this nvidia-section at ubuntu.com?

https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia

I believe it would help you solve most problems with nvidia-cards in an ubuntu environment.


you have two beautiful pages from the kernel team ...

https://wiki.ubuntu.com/KernelTeam

kernel debugging and how to find out :

https://wiki.ubuntu.com/Kernel/Debugging

To determine which guides are relevant to your problem see the Kernel/Debugging/Symptom based debugging guide .


Which package contains the C standard library?

This should be available in the glibc package Though most all the packages essential to development and code-building can be found in build-essential


How to synchronise Google calendar with gnome calendar?

KOrganizer should be a better match for Kubuntu than gnome calendar.After installing:

Go to Settings -> Configure KOrganizer.
In Settings: Press "General" -> "Calendars" tab -> Add.
Search for "Google" and press "Google groupware"
Press "Add" and sign in to your google account.


Cannot control how often fsck is running on /boot/efi

Edit /etc/fstab

The only way I found is to update /etc/fstab and change the flag to never check the partition which is in vfat format:

Look for this line:

UUID=D656-F2A8  /boot/efi   vfat    defaults    0   1

and change it to this:

UUID=D656-F2A8  /boot/efi   vfat    defaults    0   0

The last column was set to 1 run fsck and we changed it to 0 don't run fsck.


Scheduled tasks won't run simple command

Answered by OP in comments.

  I was able to use the command amixer in stead of pacmd. Thanks


Unable to open Update Manager after Upgrading 11.10 to 12.04

If your /home is on a separate partition, your best option is to use a live cd/usb and do the install without formatting the /home partition. If it is not, then copy your files on a separate drive, and do a full/clean install.

It is easier than making a repaired install work perfectly.


Open the terminal by pressing Ctrl+Alt+t and enter su then type in your pass word and next enter gedit /etc/fstab the file will open and you can edit it accordingly, save and close gedit. Type exit to exit from root and continue with the rest of the directions given.


Which Norton Commander style filemanager do you recommend?

Midnight Commander sounds like what you want:

sudo apt-get install mc


How to path set in Ubuntu 15.04 of Java , download the version of java-8-oracle?

Install the JDK with a PPA:

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

And after that

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

Check the installation:

% java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Later you can change the default Java with:

sudo update-alternatives --config java


Open pavucontrol (if it was installed correctly) and check the configuration tab, you need to select one of the duplex profiles if you want to channel the sound to 2 different connectors.

After you have selected the profile go to the output tab and for each device on the list set the desired volume.


Images don't get saved in Ubuntu Browser

From the comments...

Turns out image captures are stored in ~/.cache/webbrowser-app/captures/ believe it or not.

Ubuntu Browser is a stripped down web browser application. Highly recommended that you use a full-featured browser like Firefox, Chrome, etc.


"Command not found" is the common response for a command you're not authorized to use.  In this case, apt-get is a system command, and requires root privilege; you should type sudo apt-get and whatever you're trying to install, remove, etc.  You'll be prompted for your user password, and assuming your'e on the sudoers list, the command will then execute with root privilege.


LIfebook lh531 inbuilt card reader not working

I had the same issue with a card reader. I could not find a fix. The only solution I could use was use my windows laptop to copy files I needed to my mini SD card. It is stupid having to rely on another OS to make up for Ubuntu failings, but most hardware is designed to work on MS Win and not Ubuntu. Maybe in the future better driver will be developed, unfortunately if you use additional hardware and need full compatibility you'll have to use a MS Win partition, dual boot. Sorry dude, not what you want to hear...


Update 12.04 LTS to 14.04 on dual boot laptop with win7 already installed

You can upgrade it just fine. If you open a terminal, you can upgrade with one command: sudo do-release-upgrade and the Update Manager GUI will also give you the option to upgrade from LTS to LTS. You can even go into your sources.list file and change all referenes of one release to another release, eg: "precise" to "trusty", then do an apt-get update and then apt-get dist-upgrade, but this is not a recommended method to upgrade with.

In future (or if you plan to do it now), consider making a minimum of two partitions for your Linux install - one for the root filesystem "/" of 20GB or more and a dedicated one for the home filesystem "/home" of the remainder of your drive. You can skimp on having a swap partition if you have 4GB or more of RAM if you're an average user.

The reason you split it like this will allow you to do a complete fresh install of Ubuntu without stomping all over your home data because the installer can be told to mount Partition XYZ as "/home" but then you uncheck the box to format that partition. The installer will set it up and when you boot into it, it will happily re-use your existing /home data with the worst of your housekeeping being perhaps changing UID's and GID's if your new user account doesn't have the same UID/GID as the old account (a big recursive chown command will fix that).

And best of all is that through the entire process, your Windows 7 installation will be preserved. During the Ubuntu install, just delete the old Ubuntu partition(s) to recreate your new layout, but do not touch the Windows one(s). The installer will set Windows up in the GRUB menu whichever way you go.


Without a terminal of some form, it could just be one you get by switching to a tty (e.g. pressing Ctrl+Alt+F6) and a network connection you will struggle.

If you have access to these two things you should type

sudo apt-get install ubuntu-desktop

to reinstall all the packages installed by default.


Nautilus shows progress unnecessarily after rename and remove

It seems to be a bug, i reported it here:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1783817


Remove kubuntu-desktop from ubuntu 12.04

Probably you have to delete each dependency by hand:

apt-cache depends kubuntu-desktop

These scripts should work for 12.04: www.psychocats.net


Update to 14.04 pushed on Sept 23 breaks X

Got this problem too, upon updating. Got a nasty segfault from X, and both regular and "safe" graphics mode failed to start X.

As a temporary workaround - I booted from the older 3.13.0-34 kernel and it worked fine (at boot time, via grub menu).

Updating to the latest nvidia driver in the "additional drivers" menu solved the issue (with 3.13.0-36, the latest kernel). I had nvidia binary driver 304.117, and moving to 331.38 made it work.


Root Server - nothing works after Ubuntu 10.04 Update to 12.04

Usually those VPS providers only support certain versions of your OS with Plesk, etc. I run into exactly the same problem as you some time ago.
After upgrading from the command line nothing worked and reading through the support documents I found out that the version I wanted to use was not supported and I had to go back to a backed up version.

Ubuntu opens a backup shell though on port 1022. You might be able to connect to this shell if you haven't rebooted your server yet. If you are extremly lucky you may find a way to recover or downgrade - otherwise going back to a back up is a safe approach.


sudo dpkg -P {defect package} helps to solve this problem.
For more info about this problem read here:
trying to overwrite '/usr/bin/opencv_haartraining', which is also in package libopencv2.3-bin 2.3.1+svn6514+branch23-12~oneiric


After 12.04 to 12.10 upgrade (64bit), xorg held back and unable to install wine

I just remembered, if you havent made a fresh install yet, try PlayOnLinux first!

check this


The command could not be located because '/sbin' is not included in the PATH environment variable

You can do either of the following:

Open your ~/.bashrc file and write the following to the end:

export PATH=$PATH:/sbin

and then do source ~/.bashrc or open a new terminal instance.

or open your /etc/environment and add /sbin to end of the PATH variable, so that is as follows:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/usr/games:/sbin"


Where can I find documentation for AMDGPU-PRO?

For open source drivers included in the upstream kernel, the interfaces should generally be documented somewhere under the ./Documentation/ sub-directory of the Linux kernel source tree. As amdgpu is an open driver in the upstream tree, there should be some documentation included there for it as well. However, the Pro driver include extra proprietary components, as well as newer versions of some open source components, so there may be differences between what interfaces are provided by it, and by the version of the amdgpu driver in the kernel version you are running.

Beyond that, it's basically up to driver developers to provide such documentation, and many proprietary drivers just do not provide any such information.


missing syslinux.cfg file for ubuntu 16.04 iso installation on USB

I was able to successfully install the iso on my USB using the Pen Drive Linux installer.


I have similar times on an XPS 9950 with a not partitioned 500 GB SSD (all of the HDD is dedicated to one OS). Ubuntu 17.10, 18.04 and 18.10 with Legacy boot was around your times. Now I have elementary OS Juno on UEFI and times did not changed much, I accepted it as normal even if I was expecting blazing fast boots in the Linux world.


You can use redirection:

find / <searchterm> 2>/dev/null

This redirect all errors to the null device /dev/null.

for example:

 # find / -name StewieGriffin\*
/root: Permission denied
/home/peterg: Permission denied
/home/stewie/StewieGriffin-resume.doc

Would be converted to

# find / -name StewieGriffin\* 2>/dev/null
/home/stewie/StewieGriffin-resume.doc

Please take a more look on this link.


Remove pidgin from notification / indicator applet

From your comment, we know that you have ['pidgin.desktop', 'empathy.desktop'] entry on mail indicator applet, so that's mean you haven't removed pidgin.desktop yet. To do so, open terminal by pressing Ctrl+Alt+T and run following command:

gsettings set com.canonical.indicator.messages applications "['empathy.desktop']"

Using dconf Editor

Install Dconf editor
Launch dconf Editor
Navigate to com > canonical > indicator > messages, and delete 'pidgin.desktop'

Log out and log back in to apply changes you've made


My card reader doesn't show up at all, but previously did in 10.10

It's a hardware error, either the device is broken or the connector has come out from inside your computer.

When the device doesn't appear in lsusb then you're in serious trouble because that means the most basic detection has failed and it's rarely a software issue. To double check that it's not a software issue use a liveCD and boot from that, test if it works there.


You cant install windows 10 with wine
Either install vmware / virtualbox in linux and install windows 10
or make a partition with gparted and dual boot  the windows 10 in the particular partition

refer this

How can I install Windows after I've installed Ubuntu?


Ubuntu hard drive wiped (filesystem not readable) after Windows initialized the drives - Unknown 'Microsoft Reserved' partition

Sounds like you will have an opportunity to test your backups. "Initialising" a storage device in Windows will erase everything on it to prepare it for use by Windows, after which you can format it and then store files on it. When Windows encounters newly-recognised disks with a bunch of data (or non-Windows file systems), it will sometimes ask if you want to "initialise" the storage device.
Hopefully your backups are not too out of date.


No menues orlauncher after upgrade to 12.10

More than likely it is something in the config that was done on a previous release that is now causing problems for Unity.  Prior to 12.10 you could just 'unity --reset' however this no longer works.  Have a look at this answer, particular the second one which is for 12.10


Problem while installing amd driver on ubuntu 12.10 on my dell inspiron 5520

I had what seems to be the same issue.  The AMD driver needs to be downgraded.  Follow the steps here: http://www.ubuntugeek.com/how-to-install-amd-catalyst-legacy-drivers-in-ubuntu-12-10-quantal.html

This will install the legacy driver which may (if it is the same problem) bring things back to full resolution again.


To remove just file zilla :

sudo apt-get remove filezilla

Remove filezilla and it's dependencies :

sudo apt-get remove --auto-remove filezilla

Remove all your config data and file :

sudo apt-get purge filezilla

Or

sudo apt-get purge --auto-remove filezilla


intel wireless ac 9560 - HARD BLOCKED - failed to load firmware chunk

Have you tried newer kernel, like 5.2?

See https://bugzilla.kernel.org/show_bug.cgi?id=203891


I have a printer it do not print HP 2600 from Ubuntu 20.04. I have connected with a USB cable

install hplip-gui {from software center}

open hplip toolbox

remove the current device show in hpliptoolbox {click on - button}

set up new device

It's gui based, You will understand next stuff.
It works for me on hp 1020. It will work for you.


Does VMware Player require Windows license?

You will need the appropriate licence for the operating system you plan on running virtualised.

This is different to wine which implements various Windows APIs on Linux - it does not run any Microsoft software, which is why no Windows licence is required.


Why doesn't "cd" work in a shell script?

As others have explained, the directory is changed in the child process of your script, not in the terminal process from which the script is called. After the child process dies, you are back in the terminal which is left where it was.

Several alternatives:

1. Symbolic link

Put a symlink in your home to the long path you want to easily access

$ ln -s /home/alex/Documents/A/B/C ~/pathABC

then access the directory with:

$ cd ~/pathABC

2. Alias

Put an alias in your ~/.bashrc:

alias pathABC="cd /home/alex/Documents/A/B/C"

(from here)

3. Function

Create a function that changes the directory, the function runs in the process of your terminal and can then change its directory.

(from here)

4. Avoid running as child

Source your script instead of running it. Sourcing (done by . or source) causes the script to be executed in the same shell instead of running in its own subshell.

$ . ./pathABC

(from here and here)

5. cd-able vars

Set the cdable_vars option in your ~/.bashrc and create an environment variable to the directory:

shopt -s cdable_vars
export pathABC="/home/alex/Documents/A/B/C"

Then you can use cd pathABC

(from here)


I am not aware of any standard Linux command for that.
This could be scripted, but it would be quite an involved script:

Check the complete filesystem for symlinks pointing to the subtree that is about to be moved; store all those symlinks. Important: include relative symlinks (pointing to "../../....").

Move / rename the subtree.

Iterate over the stored symlinks and recreate them, now using the new path to that subtree. This might be non-trivial for relative symlinks.

Restore the old owner and group for each link.

There is much potential for errors.


I had same problem. During boot messages it would say that it timed out waiting for resume device. Check in /etc/initramfs-tools/conf.d/resume if there is UUID in it like RESUME=some-uuid remove uuid and replace with "none" to be RESUME=none. After that run sudo update-initramfs -uk all and it should be good to go.


Try deleting your keys and reconnecting, they're stored in:

~/.ssh/authorized_keys

It worked for me when I had something similar sounding...


The problem is with the multiple logged in users in your system. I used to experience the same problem. Solved it by a policy chane allowing logout even when multiple users are logged in. If you understand the implications(like lose of non-saved data, for other logged in users) of allowing such a thing, you could go ahead and do the same.
It can be done as follows:

sudo vi /etc/polkit-1/localauthority/50-local.d/usershutdown.pkla
As content of that file, enter the following and save it:

[Allow Shutdown]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.stop-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes
[Allow Restart]
Identity=unix-user:*
Action=org.freedesktop.consolekit.system.restart-multiple-users
ResultAny=yes
ResultInactive=yes
ResultActive=yes

Now restart your system and check if things are working as intended.

N.B: You could use any other editor of your choice to create that file.


launch Amarok from the dash and then right click the icon that appears on the launcher and select "Keep in Launcher"


Install Ubuntu without mouse: Please help

If you're using the visual installer, you should be able to press Tab to cycle through the selectable buttons, and Enter to select that option. This site should be able to help you out greatly for this. https://help.ubuntu.com/stable/ubuntu-help/keyboard-nav.html.en


See the date and time section, type date on the terminal, it will give you the date set by your computer. If sometimes the date is incorrectly set by the automatic date and time function then this issue may occur, which occurred to me a while back.

Also you need to run sudo apt-get function for updating, upgrading and downloading other libraries. Check if you have done that also.


Reinstalled my system with ubuntu-gnome and the problem is over. I don't get system errors and image problems anymore. What i suggest all is not to install more than one desktop environment in your system..


Ubuntu 12.04 problem installing thinkorswim

I had a similar problem under Fedora and Gnome Shell. The main Thinkorswim window didn't show up, and looking at top, Java and Xorg used up all CPU.

I managed to properly run Thinkorswim after switching to Openbox as a window manager. My guess is that any non-compositing window manager will do.


I downloaded a file with uTorrent and now I can't find it

If the file exists and is in a mounted partition you should be able to find it with find.

It helps if you know the name or part of the name, for example you know that ubuntu is part of the name and you know that it is an iso file. You can sort the iso files according to time with the newest files last,

sudo find / -iname "*ubuntu*.iso" -printf "%T+ %p\n"|sort

or if don't know anything about the name but you know that the download was done within the two last days (modify if necessary), and that it is not a hidden file or in a hidden directory inside your home directory.

sudo find ~/* /media -type f -mtime -2 -printf "%T+ %p\n"|sort

You can put a size limit too, for example 500 MiB, and then you need not drown in hidden configuration files (there was only one that big file for me, a thunderbird imap inbox file),

sudo find ~ /media -type f -size +500M -mtime -2 -printf "%T+ %p\n"|sort


I would recommend installing open-vm-tools as they are always the latest version. This usually clears up a lot of errors. The only thing is that you have to mount shared folders manually or you can edit the vmware script to do it for you (as I did). A lot of times you will get errors with VMWare tools when in fact they are actually working because sometimes the order it tries to load the modules isn't correct or it may try loading the module too early.


Why am I unable to connect to wireless networks?


Is there a way to lock/unlock your screen with a USB in Ubuntu 18?

Alright, I finally purchased a Feitian key and looked into the login more. It turns out that pam_usb works perfectly, and is preinstalled (mostly). You can go here to learn how to do it yourself, but make sure you have their PPA enabled (which you can find here). Lastly, make sure you have your udev set up correctly to accept the devices. If you're unsure how to do that, follow the steps here and then restart your computer.

Also, one last note: DON'T forget to test your key on sudo before you test it on your lock screen, because you'll end up getting completely locked out if you mess something up. Oh, and despite the fact that these are all Yubico articles, this works with any FIDO U2F capable key, it isn't just limited to Yubikeys or Feitian, but you can still follow all of Yubico's support pages to set everything up. Cheers!


I can only offer a place to look.  When I originally setup my PC to my big screen monitor I had to do an automatic image adjust from within the monitors menu system what your experiencing sounds quite similar like you I was only able to see a portion of the projected display you may also want to fiddle with hdmi -> dvi converters these can sometimes be helpful when fine tuning the display with PCs attached to large displays..

Sean


Is there a software that "simply" copies files from my pc, from some directories, to a NAS?

Back in time sounds like a good choice for your case.

From the Ubuntu Apps Directory:

  Back In Time is a framework for rsync, diff and cron for the purpose
  of taking snapshots and backups of specified folders. It minimizes
  disk space use by taking a snapshot only if the directory has been
  changed, and hard links for unmodified files if it has. The user can
  schedule regular backups using cron.

  This is the GNOME front-end for the backintime-common package. If you
  also install the package nautilus-actions, it can be integrated with
  the Nautilus file manager to provide context-menu options.

It creates uncompressed backups in the place that you set in the options, allowing you to set useful elements like:

Where to save your backups.
Schedule

Folders to be included.

Which folders or files you wish not to be included (by name or
pattern)

Choose the period of time after which a backup will be removed and
how many backups you wish to keep.

and Other useful options.

Once the backups are done, you can gain access to your data via the GUI of Back In Time or by diving inside of your backup folders (see the next screenshot). This way will also allow any other users to access the backup in the NAS from within a different operating system.

Good luck!


parole player gives gstreamer error when trying to play a video encoded with libx264

For H.264 video use a more common output container format such as .mp4, .mkv, .ts, etc. Also, add -pix_fmt yuv420p if you want dumb players (WMP, QuickTime) to be able to decode it properly.


I followed your instructions :)

I mean, I created a folder called Código/ and then I executed the same (wrong) command.

What happened was that the folder Código/ was renamed to ..-Code/. The name of the folder starts with a dot (.) so it is now a hidden folder.

Now if you execute ls -a in your terminal, then the folder ..-Code/ should appear (as will every hidden file in the directory).

You can also see hidden files using Nautilus (the Ubuntu file manager) by pressing Ctrl+H.

EDIT: in order to recover ('un-hide') the folder you just need to execute mv ..-Code ./Code and you'll have the folder named like you wanted.


Unity doesn't appear after installing Nvidia drivers

I just went through this myself, the problem is that there is a bug in the Ubuntu installer that removes the Linux Headers needed for the Nvidia drivers to work.

You'll need to do the following:

From a terminal:

sudo apt-get install linux-headers-generic && sudo apt-get remove nvidia-current && sudo apt-get install nvidia-current

If you don't see output from nvidia-current being installed then one of the first two commands failed.

You'll need to reboot, and once you do you'll be able to use your computer again.


Add the repository universe:

sudo apt-add-repository universe

update package:

sudo apt-get update

install vlc :

sudo apt-get install vlc browser-plugin-vlc

More explained by https://wiki.videolan.org/Documentation:Installing_VLC/#Ubuntu

# sudo apt-get update
# sudo apt-get install vlc vlc-plugin-pulse mozilla-plugin-vlc


Wubi's root.disk is missing, but you can still log in as a guest - where is the data?

You can't boot a wubi install without the root.disk!!?

If the root.disk is being booted, but not visible in Windows, it points to some ntfs corruption (grub can find the root.disk and loop mount it, but windows cannot see it, but that seems strange). To rule that out, you can run chkdsk /r from Windows to repair this (there's always a danger you could lose the disk in this case, or it gets 'recovered' to the C:\found.000 folder and renamed to file0000.chk in the process). In some cases the whole disks directory is recovered to C:\found.000\dir0000.chk\ and within that there'll be the root.disk and swap.disk).

Boot in recovery mode or let the user log in as Guest and drop to a terminal and enter ls /host/ubuntu/disks to confirm they're in wubi.
You can check where /host is mounted to get the partition: df or mount
That will at least confirm it's a Wubi install and the partition.
They may be able to copy data from /home to /host (back to the windows host partition from the virtual disk).

You can identify the root.disk via the command: sudo losetup /dev/loop0
e.g.

bcbc@ubuntu:~/$ sudo losetup /dev/loop0
/dev/loop0: [0803]:2161 (/host/ubuntu/disks/root.disk)
bcbc@ubuntu:~/$ mount | grep /host
/dev/sda3 on /host type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

With that info you can boot a live CD, mount the /host and recover the data:

sudo mkir /media/win
sudo mount /dev/sda3 /media/win
sudo mount -o loop /media/win/ubuntu/disks/root.disk /mnt

Not sure if you can identify the root.disk from the Guest session as it's unlikely you have sudo rights, so if you can't boot in recovery mode to a root prompt, then you could boot a live CD, mount each partition and look for the file: <mountpoint>/ubuntu/disks/root.disk. But note that running the bootinfoscript will give you the same info (and maybe also some clues if there is any file system corruption).


Dual booting Ubuntu with Windows does not make Ubuntu run any slower, so installing Ubuntu over Windows 7 would not make it run faster (at least not appreciably faster). If Ubuntu was running inside Windows in a VM or wubi, it would run slower because your processor would have to tell Windows 7 what to tell Ubuntu, and Ubuntu would have to tell Windows 7 what to tell your processor. It's like trying to have a conversation with someone through another person - it's going to take longer.

Since you have Ubuntu running in its own partition though, it is talking directly to your processor without going through Windows.


How do I temporarily remove proxy settings?

The correct way to use unset is without the $, so you can do the following:

unset http_proxy

to unset your proxy settings or you can even use the following:

http_proxy=""

Note that there is no space in before and after the =.


Your script is correct, but type:

./array.sh

instead of sh array.sh

The difference between ./ and sh is explained here.


I have found the answer:

The author of the program (as he has done with some of the other config options) left one of the options like this:

DISABLE_UNHIDE=1

And even though above that he says:

# If both the C 'unhide', and Ruby 'unhide.rb', programs exist on the system,
# then it is possible to disable the execution of one of the programs if
# desired. By default rkhunter will look for both programs, and execute each
# of them as they are found. If the value of this option is '0', then both
# programs will be executed if they are present. A value of '1' will disable
# execution of the C 'unhide' program, and a value of '2' will disable the Ruby
# 'unhide.rb' program. To disable both programs, then disable the
# 'hidden_procs' test.
#
# The default value is '0'.
#

He has obviously forgotten, and left it as 1 meaning that the unhide test is not run. So to enable it, just simply change the option to what it is meant to be as default, this being 0.


WebGL doesn't work in Chromium on Ubuntu

Here is bugreport of the bug that you have encoutered: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1463598

The ubuntu maintainer of Chromium has deliberately disabled GPU acceleration in the ubuntu build in Chromium 43, see bugreports comments for details.

To workaround this issue you can downgrade to a previous version of Chromium.


Is it possible to apply different colors to terminal tabs in GNOME based on the opened directory?

Yes it is, if you're willing to subvert the cd builtin.

Here (from my ~/.bashrc) is how I put my Username, Host and Current directory in my window title:

# from the "xttitle(1)" man page - put info in window title
update_title()
{
    [[ $TERM = xterm ]] || [[ $TERM = xterm-color ]]  && xttitle "[$$] ${USER}@${HOSTNAME}:$PWD"
}

cd()
{
    [[ -z "$*" ]] && builtin cd $HOME
    [[ -n "$*" ]] && builtin cd "$*"
    update_title
}

Replace the update_title function with one of your own to look at the current directory and Do the Right Thing.


Netgear AC1200 WiFi USB Adapter, model A6150

I have tried to install an AC1200 Wifi adapterfrom dootoper I bought from Amazon.
Got the driver from this github  https://github.com/gordboy/rtl8812au

This works every time I install it.. I did this a few times because of every time an update is installed the wifi adapter stops working.

I have an old wifi adapter which isn't that fast like the new one, so I switch sometimes to the old one.

I have this installed thru a usb extra cable to have a better signal same as the new one.

The cables are different: one is a usb3 highspeed extension cable, the other an old usb 2 extension cable.

The funny thing I now found out is, that the new AC1200 Wifi adapter always works with the old cable every time!


Open ibus-setup and check the "Show icon on system tray" option. Add Mozc via ibus-setup and use the IBus icon to access the Mozc settings.

I submitted a couple of comments on this bug which might add some info.


Replacing Windows with Linux Ubuntu 12.04 LTS

Before you begin, you want to make sure that all of the data from your Windows installation is safely backed up, or moved to your Ubuntu partition. Also read these instructions briefly to ensure that they make sense.

Boot from the Ubuntu live CD.
Open the GParted program. Your hard disk is split up into 'partitions'. You will have three (3) partitions: One for Windows, one for Ubuntu, and one (the smallest) swap partition.
Once GParted opens, identify the Windows partition. The partition type is NTFS and will be outlined in greenish blue. The Swap area will be red and the Ubuntu partition will be navy blue, but you want to keep these.
Right click the greenish blue Windows partition and click "Delete partition".
Now, right click the navy blue ext4 Ubuntu partition and click "Resize/Move Partition". A dialog box will open - drag the right or left edges of the navy blue box so it fills up the maximum amount of space possible.
Click OK to close that dialog box.
Click "Apply" in the main GParted window to apply these operations. Confirm that you want to, if you are 100% sure that you do not need Windows any more. The operation will begin, and it might take a long time - but be patient while it finishes.
One finished, reboot into your Ubuntu installation.
Open the Terminal with ctrl+alt+T and type sudo update-grub, then Enter. Type in your password, which will not appear, and press Enter again. This will remove Windows from the Grub menu.

Then, you are finished.

But seriously, make sure you don't need anything (internet history, etc.) from your Windows installation! I find Firefox Sync, Microsoft Skydrive, and Google Drive very handy for ensuring a smooth migration to a new OS.


Not sure what exactly worked, but I did:

Intel Virtualization Technology [Disabled]
OS selection [Windows 7]
CSM [Disabled]
xHCI [Enabled]

...and it booted. Good luck!


Multiple Depends/Recommends/[…] in a control file?

No you can't do this. It had never occurred to me to try such a thing, but I took a stab at it. I tried building a package with the following in the debian/control file:

Package: bzr-explorer
Architecture: all
XB-Python-Version: ${python:Versions}
Depends: ${misc:Depends}, ${python:Depends}
Recommends: tango-icon-theme
Suggests: bzr-gtk
Depends: bzr (>= 1.14), qbzr (>= 0.19)
Recommends: bzr-svn
Suggests: bzr-git

dpkg did not like it one bit:

dpkg-source: error: syntax error in bzr-explorer-1.1.2/debian/control at line 24: duplicate field Depends found
dpkg-buildpackage: error: dpkg-source --before-build bzr-explorer-1.1.2 gave error exit status 9
debuild: fatal error at line 1337:
dpkg-buildpackage -rfakeroot -d -us -uc -S failed

In fact, now that I go looking for it, this is explicitly forbidden in Debian Policy, 5.1 Syntax of control files:

  A paragraph must not contain more than
  one instance of a particular field
  name.


Whatsapp is one of the seven applications included in the ubuntu-social-kit snap package which is available in the default repositories in all currently supported versions of Ubuntu. To install it open the terminal and type:

sudo snap install ubuntu-social-kit


How are administrators supposed to read root's mail?

Encouraged in the comments by Gilles, I have adapted and expanded another answer:

How do I read local email in thunderbird?

(I am running Ubuntu 12.04.1 LTS, but the general setup process should apply to previous and future Ubuntus)

The first thing to do is to install a Mail Transfer Agent (MTA) so the mail can be relayed to a mail User Agent (MUA) such as Thunderbird. This is only necessary because we are dealing with local mail and want to be able to send and receive it; with normal remote gmail type accounts, only a user agent such as Thunderbird is necessary.

I use postfix, which itself is an alternative to sendmail, of which there are commercial and open source versions. More information about postfix's capabilities is at the official site and users may find that the mailing lists contain useful information if any issues arise.

So, to install the program, run

sudo apt-get install postfix

You can either configure it when it is installed, or decline the offer and later run

sudo dpkg-reconfigure postfix

to create the important config file (/etc/postfix/main.cfg). If you ever manually edit this file, which is not necessarily recommended, you must run sudo newaliases and sudo service postfix restart afterwards to apply the changes.

Postfix is pretty straightforward to setup, although you may have some particular settings that you wish to apply. In the first screen you see below, you must choose the local option for your mail:

Then on the next screen choose your 'mail name'; it is usually the same as /etc/hostname. You can accept the defaults for most of the following screens.

When it mentions /etc/aliases and the Root and Postmaster recipient (as above), you can fill in your user name, but make sure you check your aliases file is as it should be by reading the next section of this tutorial.

First, as also recommended in this discussion, your /etc/aliases should be like this if it is setup correctly:

postmaster:    root
root:   mike

If not, edit it with sudo nano /etc/aliases, and then run sudo newaliases and sudo service postfix restart so that the configuration is updated. Postfix's aliases feature allows mail to be redirected, so the setup is very important for the rest of this tutorial.

As also noted in the above link, you need to create a .forward file containing your username and localhost: e.g. mike@localhost so that root's mail will be forwarded to you. To do this, enter these commands:

sudo touch /root/.forward

and then run

sudo nano /root/.forward

to place your user: e.g. mike@localhost in the file and save it.

In addition, I found it was necessary to add your user to the mail group so that Thunderbird could access the mail files:

sudo adduser $USER mail

and then logout and login for the changes to take effect. There is no need to chown or chmod any files, as some articles might suggest, and adding your user to the mail group is much better practice and avoids any direct changing of the permissions on the root filesystem.

Now for the Thunderbird configuration. Go to edit > account settings > account actions > add other account > select Unix spoolmail and in the next screen put your username in the first box and place yourusername@localhost in the second box.

Now, go to your new account in account settings and select server settings and select the local directory as /var/mail or /var/mail/username (if setup), as in the screenshot below.

As per the instructions in this article you will need to configure the smtp server if you want to test the account by sending a mail to root@localhost and then clicking get mail in Thunderbird to receive it, as root's mail is being redirected to youruser@localhost.

Go to account settings > outgoing server and choose to add a new one. The settings should be as in the screenshot below:

Now, finally test your account by composing a mail to root@localhost and then a few seconds later clicking get mail on your account. You should see an email like this:

Some programs or logs will need to be configured so that they send mail to root, but that can be decided as you find the need. This article should hopefully be useful as it is not always straightforward to set up Thunderbird to receive local mail.


Ubuntu 14.04 LTS doesn't recognize any USB device

If you have the original Ubuntu Live installation media (USB or CD), you could test running from that media, rather than the HDD. If that works with USB devices, then you could save any essential data on your HDD and reinstall -- or better, using the Live media, download and try a newer LTS version, e.g. 16.04, which has the Unity GUI with which you are familiar, or 18.04, which has reverted to GNOME. Being newer, these versions may have features more compatible with your PC.

The nice thing about most Linux distros is that they can be reinstalled in less than 30 minutes... as opposed to many hours for other OS's.


In Ubuntu 14.04, Unity uses CSS themed window decorations and some themes like Adwaita (well, actually most themes) don't support it yet.

One of the popular themes that support CSS window decorations is Numix.


Unique problem facing installing Ubuntu 14.04 alongside preinstalled windows 8.1 on laptop lenovo z7080

The problem with the WiFi is because the version of ath10k drivers shipped with ubuntu don't yet have support for the new 168c:0041 wireless card in the laptop. This is fixed in the 4.3 kernel. There's a 4.3-rc3 build available in the kernel-ppa ppa at http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.3-rc3-unstable/


How to Access MySQL with Python Version 3.4

The documentation for MySQL Connector/Python says Version 2.0 should work with MySQL Server 5.5-5.7 and Python 3.3 and later. So I would say it's a good bet. If it doesn't work, follow up with what error you encounter and I'll see if I can help.


Not enough memory or swap space

With only 2 GiB of main memory and without swap space you're likely to run into problems. I suggest you create and mount a swap partition for that. You can easily set up an encrypted swap partition with dm-crypt, which will break resuming from suspend-to-disk because of the random one-time volume keys.

To delete "OS1" simply delete that partition with palimpsest, gparted, fdisk or whatever disk partitioning tool you prefer. Do the same for the existing swap partitions to create the larger new one. You can also swapon multiple partitions (works with fstab too).

Other possible causes

This could also be broken hardware or a bad driver. Since the issue correlates with web browsing I suspect a RAM module gone bad or a faulty graphics adapter driver, but you should sort out the swap issue first since that seems more problematic.


GNOME Boxes : move images to another hard drive

I don't use Gnome Boxes; however, I have simlinked the prefix directory for WINE. It has no issues  with the prefix folder being a simlink. My guess is it will work the same for you. For most applications simlinks are transparent.

the config files shouldn't take much space so it is the image directory that needs attention.

An alternative is to make partition that you mount to ~/.local/share/gnome-boxes/images. This partition can be automounted.
If the drive is disconnected when you start Gnome boxes, then the VM will think it has no VMs.


No HDMI audio out, and low volume on speakers

first let me see the output of aplay -l
if it has HDMI in it then:

speaker-test -c 2 -D hw:0,3

  This requires that you are connected via HDMI to other device

press Ctrl+C after you here both the speakers

then you problem would be solved by installing pavucontrol

sudo apt-get install pavucontrol

Goto the configuration tab and select the suitable setting

and to solve the laptop problem install

sudo apt-get install alsamixergui

type in terminal alsamixergui and set the master volume to full


You will find the instructions here:

http://www.ubuntu.com/download/desktop/install-desktop-latest

In step 4 you can decide, if you want to install Ubuntu alongside Windows (dual OS), or replace Windows by Ubuntu. Choose the latter. Sometimes reading helps :-)

But if you already had difficulties with that, I assume you have no experience with Ubuntu at all, do you? Then I would strongly recommend to keep Windows alongside Ubuntu at least for the first months until you got more comfortable with Ubuntu. In case something isn't working in Ubuntu, you can still boot into Windows and get it done. I've been using Ubuntu for almost 7 years now, and still run Windows alongside it, just in case I need to use some software only availiable for Windows. Sometimes there is just no alternative in Ubuntu. That's a pity, because I really love Ubuntu (and dislike Windows)!

Don't forget to backup the data you might have saved in Windows folders (like "My documents" etc.) before you replace it by Ubuntu.


I had the same trouble when I wanted to update to a HIDPI Grub menu and ended up cloning this repo: https://github.com/vinceliuice/grub2-themes
I then executed the install process for my laptop (Surface Book 2):
./install.sh -b -t stylish -s 4k

This worked the first time. I did notice that it setup the themes for me in /usr/share/grub/themes/stylish/theme.txt
I also tried grub-customizer and that didn't work for me either.


Why doesn't Ctrl-pgup and Ctrl-pgdn change tabs in vim when started in byobu?

You are correct that Byobu does not capture Ctrl-PgUp and Ctrl-PgDn.  However, in stock Ubuntu, they are actually captured by Gnome Terminal and move among tabs in Gnome Terminal.

You can see this behavior by creating a new tab in Gnome Terminal with Ctrl-Shift-t, and then pressing Ctrl-PgUp and Ctrl-PgDn.


Enable transparency in GNOME Activities Overview

I figured it out. It seems to be a bug of the proprietary fglrx driver. Some people recommend turning off the Have file manager handle the desktop in the GNOME Tweak Tool, but it didn't work for me, so I changed to using the open source ATI driver instead. It's working fine now.


Seems like the proper is to request emacs24:

dpkg --status emacs24

It might due to the emacs being a transitional package for emacs23 and you have emacs24 installed.


Installing Ubuntu on a Lenovo A740 (Touchscreen): (initramfs) Unable to find a Live Medium Containing a file system

Alright. Heres what I do to make sure things go right.

Stick with usb 2.0 ONLY
Find out which partitioning sheme GPT or MBR your current drive is in. this step can be skipped if the SSD/HHD you plan to install to has no partitions that you wish to keep.
Create the USB key :

Simply download this.
Format your USB 2.0 key to FAT32 using gparted.
(Still in Gparted) Right click on the visualised partition and select "manage flags" tick "boot" and apply.
Now simply mount the iso by double cliking it (this should open it's folder).
CTRL-A
CTRL-C
Go into the still-mounted folder of the formatted USB 2.0 key.
CTRL-V
Reboot and go into BIOS (make sure UEFI boot is enabled and) reorder boot priority so as to hav the USB (in UEFI mode first) save a restart.

Let's stop here for now tell me if this succeded but really from there everything else should be more or less intuitive.


How to enable top bar background opacity?

WORKAROUND

Using this post Install Adwaita shell theme on Ubuntu 20.04? Extract the contents for the default theme /usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource file.

Then from the Yaru directory in the above pic, copy the gnome-shell.css file to
$HOME/.local/share/themes/myYaru/gnome-shell or $HOME/.themes/myYaru/gnome-shell directory. Create the Directory's as necessary.

  [ here in this file gnome-shell.css, there are some paths which specify resource you
  should play tricks if theme is not effective with those paths ]

  [In my trail It was not needed. But you have to play tricks with the
  folders and paths if something is not showing properly.]

Example:

  background-image: url("resource:///org/gnome/shell/theme/checkbox-off.svg"); }
  background-image: url("resource:///org/gnome/shell/theme/checkbox-off-focused.svg"); }
  background-image: url("resource:///org/gnome/shell/theme/checkbox.svg"); }
  background-image: url("resource:///org/gnome/shell/theme/checkbox-focused.svg"); }
  background-image: url("resource:///org/gnome/shell/theme/toggle-off.svg"); }
  background-image: url("resource:///org/gnome/shell/theme/toggle-on.svg"); }

to use this shell theme myYaru you need to install User Shell theme gnome-shell extension.

then select it from gnome-tweaks

now you have the local copy of the default shell theme. so you can edit gnome-shell.css file in this local theme.

now open the file $HOME/.local/share/themes/myYaru/gnome-shell/gnome-shell.css

and go to line number around 1141;

/* Top Bar */
#panel {
  background-color: #1d1d1d;

change this with rgba color to control the opacity.

example:

/* Top Bar */
#panel {
  background-color: rgba(0,0,0,0.4);

save the file and refresh the gnome-shell with Alt+F2 'r' Enter method.

with opacity set to 0.05 i.e rgba(0,0,0,0.05)


There are several optimisations you can make to preserve screen space on small screens. Having only 1 GNOME panel is definitely an improvement.

Global Menu Bar

You can customise your GNOME panel to contain the menu bar for all application windows (except those that don't work with it - the main ones are Firefox and Open Office). Obviously this makes much more sense if the GNOME panel is at the top.

To enable this, install the package: indicator-applet-appmenu. Once installed, right click the panel and click 'Add to Panel...' and choose the 'Indicator Applet Appmenu'. One caveat with this is that applications with huge menu bars (such as GIMP) may not fit on the panel at low resolutions.

Maximus

Maximus is software that automatically maximises windows and removes their title bar when maximised. It was designed specifically for netbooks and used to be part of the Ubuntu Netbook Remix.

To test it, you can press Alt+F2 then enter maximus. To use it permanently, you will probably prefer to add it to the startup applications (System->Preferences->Startup Applications).

If you ever want to un-maximise a window, you can't use the normal window buttons but you can still use Alt+click+drag down. The window border will then be re-added to the window.

You can get a similar effect by configuring compiz so that window decorations disappear when you maximise a window. This is good if you don't want windows to maximise automatically but want to save space once they are maximised.

Docky

Docky is a launcher and dock.

Its main advantage in terms of saving screen space is its Intellihide/Window Dodge feature. I find this much better than the autohide of the GNOME panel because it seems that it shows at the right times more. Docky also reduces space by using icons instead of names for windows and grouping windows by application. These are the settings I use:

These settings can be accessed by clicking the Docky anchor icon, then clicking on the dock to configure. Docky requires compositing to run. If your netbook can't run compiz, enable compositing in Metacity.

Window Selector

Window selector is a panel applet that shows all your windows in a menu. This can save a lot of space if it is used instead of a window list at the expense of requiring an extra click.

As far as I know, this applet is installed by default. You can enable it in the usual manner.

I personally use the all of these to make best use of my smallish (13.3") screen. I have 1 panel, which I keep at the top.


Use xsetwacom:

http://linuxwacom.sourceforge.net/wiki/index.php/Tablet_Configuration

(see "man xsetwacom" too)

Find your device with

xsetwacom list

Example output:

Wacom DTK2241 Pad pad               id: 12  type: PAD
Wacom DTK2241 Pen stylus            id: 13  type: STYLUS
Wacom DTK2241 Pen eraser            id: 14  type: ERASER

My device was a DTK2241 so I'll use this example below:

xsetwacom -s get "Wacom DTK2241 Pad pad" all

Then for the pad device list your available buttons with:

xsetwacom -s get "Wacom DTK2241 Pad pad" all

Example output:

xsetwacom set "Wacom DTK2241 Pad pad" "Button" "1" "button +1 "
xsetwacom set "Wacom DTK2241 Pad pad" "Button" "2" "+2 "
xsetwacom set "Wacom DTK2241 Pad pad" "Button" "3" "+3 "
xsetwacom set "Wacom DTK2241 Pad pad" "Button" "8" "+8 "
xsetwacom set "Wacom DTK2241 Pad pad" "Button" "9" "+9 "
xsetwacom set "Wacom DTK2241 Pad pad" "Button" "10" "+10 "
....

Then set a button, for example:

xsetwacom set "Wacom DTK2241 Pad pad" "Button" "1" "key a"


Ubuntu Server Upgrade from 16.04 to 18.04 hangs on first reboot

After doing some deeper research there seems to be an issue with the recent Linux kernel version 4.15 and HyperV 2008R2. Rolling back to an older kernel fixed this.
This bug report tipped me off -https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1814069

In my case, I had to boot the VM on a Linux instance with Virtual Box, and purge the most recent kernel through apt. I didn't have to install anything as there were already previous kernels still installed.  I updated grub and transferred my updated image back to my HyperV instance. Now works as expected.