Where to find and install ASUS motherboard drivers for Linux

There aren't generally any special motherboard chipset drivers that you need to install separately on Linux, like you need to do on Windows. The drivers are part of the Linux kernel. The hardware is detected at boot time and the correct drivers are loaded.

There are however cases where one might acquire hardware that is newer than the version of the kernel in the Linux distribution you choose to install; or even do not yet have any or full functionality in the upstream kernel.

In these cases though, you usually have to just wait or suffer, until the better drivers are available, as manufacturers typically don't offer additional drivers for Linux for these types of hardware. This is rarely an issue for motherboards though, as most of them use standard chipsets across the board, so are often covered by the drivers already available in the kernel.

The Ubuntu Kernel Team are also pretty good about ensuring that newer drivers are backported into the current development version of Ubuntu, to ensure a broader range of compatibility for users.


Confused on apt-get update, and confused on .deb packages not installing programs?

Your guesses are pretty much correct.

The initial deb file from the NordVPN website just adds a repository with the actual program. It created a file in /etc/apt/sources.list.d called nordvpn.list. This file contains the following link to a repository: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main. That repository is where the actual program is installed from.

The reason the outputs for apt-get update are different is that when you run apt-get update, apt checks all the repositories listed in /etc/apt. The first time you ran it after installing the deb, apt checked the newly added repository and found there were packages that needed to be updated, so it got the new data about those updates. The second time you ran apt-get update, apt already knew about the available updates, so it found nothing new to do. After that apt-get upgrade can upgrade the necessary packages.

For the bionic-security update, I would try running sudo apt-get upgrade, and then update again. That should change to hit.

Hope this clears it up


No more scroll wheel scrolling along the sidebar in 13.04?

The less than ideal solution to this is to suck it up, and move your mouse cursor to the top/bottom of the launcher to scroll instead.


Why doesn't my display clear to the backgroud desktop?

You could try a less demanding Desktop Environment such as Gnome, LXDE, XFCE, or even OpenBox These have been known to work quite well on older systems.

Sources:
Can i replace my desktop environment?

http://www.howtogeek.com/107368/how-to-install-the-lightweight-lxde-desktop-on-ubuntu/

https://www.liquidweb.com/kb/how-to-install-the-xfce-desktop-environment-on-ubuntu-14-04-lts/

http://linux.about.com/od/howtos/tp/How-To-Install-And-Configure-Openbox-Using-Ubuntu.htm


There's no direct upgrade path. There are a couple of choices:

You can upgrade to 12.10 and then 13.04 and then 13.10 but that's a fair amount of bandwidth... Or,
You can wait a 21 days for 14.04 to be released. This is another LTS release and you should be able to upgrade directly from 12.04.


How to Move subsubfolders from subfolders into the folder

$ tree
.
├── Records_A
│   └── Folder_1
│       └── Item_1.png
├── Records_B
│   └── Folder_2
│       └── Item_2.png
├── Records_C
│   └── Folder_3
│       └── Item_3.png
├── Records_D
│   └── Folder_4
│       └── Item_4.png
└── Records_E
    └── Folder_5
        └── Item_5.png

10 directories, 5 files
[/tmp/Archives]$ find . -mindepth 2 -maxdepth 2 -type d | xargs -I {} mv {} .
[/tmp/Archives]$ tree
.
├── Folder_1
│   └── Item_1.png
├── Folder_2
│   └── Item_2.png
├── Folder_3
│   └── Item_3.png
├── Folder_4
│   └── Item_4.png
├── Folder_5
│   └── Item_5.png
├── Records_A
├── Records_B
├── Records_C
├── Records_D
└── Records_E

10 directories, 5 files


Cloning hard disk partition to smaller SSD on laptop

Warning:
This answer is for old filesystems with MBR, and legacy BIOS systems. It will not work for newer systems with UEFI.
Backup! Backup!! Backup!!!
I can't overemphasize the importance of backup. Backup your data. Backup the whole partition. Do it twice.
SSDs are getting cheaper. Buy a bigger SSD, say 120GB. Use the 64GB for an extra backup.
Now let us go step by step and do what you want.
Step 1: Boot from live CD/USB
Use the try Ubuntu without installing option. Plug in the external hard drive. It has to be at least 64GB or bigger.
Step 2: Identify the disks
Open Gparted. I prefer Gparted because it is visual and let me "see" the drives and partitions.  Click on the top right drop down and see the list of drives. Go through the list and identify the drives you want to work with, by their size and partition structure. You want to identify the internal hard drive you want to clone from as well as the external hard drive you want to copy to.

Step 3: Shrink
Make sure you have selected the internal disk you want to transfer.
Select the 100GB partition you want to copy.
Drag the right edge of the partition leftward to resize/move it as far as it would go.
If it does not go below 64GB, you will need a bigger SSD. If it goes below 64GB, don't worry, you will be able to expand it later once it is copied into the SSD.
Press the "Apply" button in Gparted and wait.
If all goes well go to the next step. If you get an error, stop!

Step 4: Copy partition
Select the partition you just shrunk and from the menu select copy.
Select the external hard drive and paste the partition there. It is best if the external hard drive does not have any partitions and or data.
You don't have to create a new partition beforehand in the external hard disk to copy the partition. You will need unformatted / unallocated space in the disk
Apply to actually do the work.

If the external hard drive is bigger than 100GB, you can switch steps 3 and 4. That is copy first and shrink later. This will take longer, but has the benefit of keeping your original partition unchanged.
Step 5: Switch HDD with SSD
I hope you know how to do this.
Step 6: Boot live CD/USB again
Plug the external hard drive back once booted. Open Gparted again. Verify the identity of the SSD and the external hard drive in Gparted.
Step 7: Copy from the external hard drive to SSD
Select the partition in the external hard drive and from the menu select copy.
Assuming it is a new SSD, you may need to create the MBR (msdos) in it before you can paste the partition.

Select the SSD and paste the partition there.

Apply to actually do the work. Until you press Apply it will look something like this:

Step 8: Reinstall Grub2
Since part of GRUB resides in the MBR, you have to reinstall GRUB in the SSD before you can boot from it.

While still booted from the Live USB, open a terminal, either by searching for it or pressing Ctrl + Alt + T.

From the terminal, run
sudo grub-install /dev/sdX

Note: X is the letter assigned to your new SSD.

See How to reinstall grub by ubuntu 14.04 live CD? for details.
Step 9: Reboot from SSD and enjoy!
If all goes well it should work
Hope this helps


I have problems when mounting my USB drive in a nonstandard location

It may be confusing that bootable USB creators don’t recognize the USB drive when the OS is doing it properly. The simple solution is to use Gnome’s own disk utility. Use Startup Disk Creator and format your drive (clicking “erase disk” will do the job for you). Then you are good to go.

P.S.: I don’t recommend GParted 0.18 because it completely trashed my USB drive. It has problems with FAT32.


wireless softblocked on my hp pavilion 360...found solutions but need more info

I don't mind to show you how to create a file or modify an existing one. The problem is I don't know which editor you have on your system and/or whether you have experience using it. That is why I have entered an alternative solution:

$ sudo su
[sudo] password for ....:
# echo "blacklist acer_wmi" >> /etc/modprobe.d/blacklist.conf
# exit
exit
$ cat /etc/modprobe.d/blacklist.conf

What this code does is append the quoted string to the blacklist file. If the file does not exist, the system creates it.
The cat command lists the content of the file. If the file already existed, you will see other blacklisted modules before the addition you just made.

N.B. Please be aware that I take no responsibility for what editing the blacklist file may result to. You mentioned that you think it will resolve your wireless issue. There is no way for me to confirm that.

PS. You will have to reboot the system for the changes to become active.


Use port 995 for MYSQL on ubuntu 20.04 server

Soren is correct that ports below 1024 are restricted and requires elevated privileges. It's generally not a good idea to use ports under 1024 without a great deal of thought and planning ahead of time.
That said, if you absolutely must use a lower-numbered port, you can use iptables to redirect a lower-numbered port to the one the application is listening on.
For example:
sudo iptables -A PREROUTING -t nat -p tcp --dport 995 -j REDIRECT --to-port 3306

Substitute 995 with the port to expose, and 3306 with the port your MySQL installation is listening on.

Note:
Port 995 is used with SSL-encrypted POP3 services for encrypted mail transfer. It is also used by mail servers such as NT's Exchange Server for user auth. Reusing port numbers under 1024 can lead to all sorts of unexpected problems down the road. Be very careful when circumventing intentional restrictions.


Second monitor not configured with NVIDIA driver

Solved this problem yesterday. In case anyone runs into the same issue, here is some information.

Strangely, I discovered that if I unplug the second monitor, allow the system to revert to a single monitor then plug it back in, it is occasionally detected and switched to the correct resolution. Despite this, the nvidia-settings tool always generates the same xorg.conf file. However, using it in /etc/X11/xorg.conf caused the system to show the correct screen resolution at login, but then repeatedly return to the prompt after entering the correct login credentials. It had to be removed in order for a successful log in to occur.

I found this page on the Xorg wiki (https://wiki.archlinux.org/index.php/NVIDIA#Multiple_monitors) and tested appropriately modified versions of the two custom xorg.conf files under the "ConnectedMonitor" and "TwinView" sections. I found that they both worked! For a few seconds... After logging in the system would automatically switch monitor modes a few times before settling for about 10 seconds and then showing the following message, that could not be closed or made to disappear:

Could not switch the monitor configuration
could not set the configuration for CRTC 731
                               |  Close  |

At that point the processor usage went up, and the system became unusable. The System Monitor revealed that Xorg was responsible. I can only imagine that the process and system was occupied with displaying the same message repeatedly.

Coupled with this page (https://a248.e.akamai.net/f/248/10/10/us.download.nvidia.com/XFree86/Linux-x86/185.18.14/README/appendix-b.html) I discovered that the common element is the "ConnectedMonitor" option. I created a custom xorg.conf file that fixed the problem. Here it is in its entirety:

Section "Screen"
    Identifier     "Screen0"
    Option         "ConnectedMonitor" "DFP, DFP"
EndSection

The only strange behaviour the system exhibits now is second monitor toggling between its native and an 800x600 resolution when I open the unity-control-center and the "Screen Display" panel. However, I have resigned myself to this being as good as things will get.


How do I turn off the backlight on my keyboard? (2011 sony vaio PCG-41217N laptop)

I was able to turn off my keyboard backlight by changing the value of the read-only text file "kbd_backlight" to 0 (originally -1) after opening it in gedit with root access via sudo gedit /sys/devices/platform/sony-laptop/kbd_backlight in Terminal.

Please be advised that using sudo to open gedit is problematic, with multiple recommendations on this site to use gksudo instead to properly manage file ownership between user and root. When I executed sudo gedit, I received multiple warnings in Terminal.


Here you have your answer: Installing Broadcom Wireless Drivers

Then, this questions is duplicated.


Start firefox using apparmor (for extra security)

I think you should run firefox as root too because you run apparmor as root.
maybe thats why it says

  Premission denied

sudo firefox


Where to find actual commands for Nautilus "open with" options?

For every command there's a corresponding .desktop file in /usr/share/applications/ or $HOME/.local/share/applications/. The command is in the line starting with ´Exec=`.

For "Disk Image Mounter it's the file /usr/share/applications/gnome-disk-image-mounter.desktop. The ´Exec` line is

Exec=gnome-disk-image-mounter %U

so the command is

gnome-disk-image-mounter %U

where %U gets replace by a list of URLs for the files you have selected, for example

gnome-disk-image-mounter file:///tmp/myimage.iso file file:///tmp/other.iso

See the Freedesktop Desktop Entry Specification for more about .desktop files.

See the gnome-disk-image-mounter manpage for more about gnome-disk-image-mounter.


Network Storage Device No Longer Accessible After 11.10 Upgrade

I had the same problem when going to 11.04 and now 11.10... it looks like a name resolution issue where samba can't get you NAS ip...

I don't know know all the details but I got it fixed by simply adding my NAS IP to the hosts file (/etc/hosts).

so, I have an entry there like this:

10.0.0.10     DLINK-NAS

that did it for me.


Understanding: "error while loading shared libraries: libicui18n.so.63"

I had a similar problem trying to use Visit software.
I solved the problem using the advise of this tweet: https://twitter.com/sinclairinat0r/status/1237201767198273536
wget http://mirrors.edge.kernel.org/ubuntu/pool/main/i/icu/libicu63_63.2-2_amd64.deb

sudo dpkg -i libicu63_63.2-2_amd64.deb

For me it solved the dependency missing.


The problem was basically nvidia drivers screwing up the system so badly that the nvidia re-install didn't work as expected.

They say to diagnose this is by running in the terminal: nvidia-smi which returned.
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver

The solution was basically a full re-install of the OS. So downloading ubuntu 16.04 in a USB drive, re-installing ubuntu.

Then:

$ sudo apt-get install linux-headers-$(uname -r)
$ sudo apt-get --purge remove nvidia-*
$ sudo apt autoremove

this is the driver for GTX 1080 from: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1604&target_type=debnetwork

$ sudo dpkg -i cuda-repo-ubuntu1604_9.1.85-1_amd64.deb
$ sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
$ sudo apt-get update
$ sudo apt-get install cuda

then reboot and everything works, for now.
Thanks nvidia for your trashy software!

Here is the discussion of the topic from nvidia-forum with some extra details.


Ubuntu 12.10 UEFI Installation with Windows 8 acer apsire

If you can boot the installer in BIOS/CSM/legacy mode, you could try a BIOS-mode installation. That will leave you with a mixed-mode setup, though -- with Windows booting in EFI mode and Ubuntu in BIOS mode. This is likely to be awkward, since you'll need to use the firmware's built-in boot manager to select the boot mode, at least initially. There are ways to make it work:

You could install rEFInd, edit its refind.conf file to uncomment the scanfor line, and add hdbios to that line. This will enable rEFInd to boot a BIOS-mode boot loader on at least some systems. This isn't guaranteed to work, but if it does, you'll then be able to boot the computer in EFI mode, which will launch rEFInd, from which you'll be able to launch Windows or a generic entry for GRUB. The latter will launch Ubuntu in BIOS mode.
You could install any EFI-mode boot loader for Linux you like. When you boot in EFI mode, this will then enable you to boot Linux, and some (such as GRUB and rEFInd) will enable you to boot Windows, too. Given your current problem, though, this might not work at all. Note that rEFInd is one possible EFI-mode boot manager, so you can use it for the preceding method and then try a more direct boot using rEFInd, too. To get it to boot Ubuntu directly, you'll need to add a filesystem driver so that it can read your kernel and create a /boot/refind_linux.conf file. (This is all described in the rEFInd documentation.)
You could convert Windows to boot in BIOS mode. This is likely to be quite awkward, though; you'll need to convert from GPT to MBR partitions and then either re-install Windows or jump through some poorly-documented hoops to switch Windows to use a BIOS-mode boot loader.

All of this assumes a successful BIOS-mode Linux installation. It's entirely possible that you're running into a hardware problem (hardware that lacks a Linux driver), in which case your only hope for installing Linux is to dig up a new driver and patch the installer with it or to wait until such a driver makes it into a future version of Ubuntu (or some other distribution).


I'm trying to remove the background from an image (using inkscape)

I recommend you to use gimp to do this and when you have the image you can use it on Inkscape to do your infographic.

You can install gimp from a terminal:
sudo apt-get install gimp

or from ubuntu software center.

Here is a tutorial to do what you want to do on gimp
and
Here is a tutorial to do it on Inkscape

If you have questions about gimp or inkscape you should probably visit their sites:
gimp.org
inkscape.org
where you can find plenty of tutorials


My logon and logout taking too much time ! is there a way to make them fast ?

I feel the main reason for being my startup too much slow is the Wubi Installation. If you want a fast working OS then you need to install it in a separate drive.

Im using Wubi and I have installed Ubuntu on top of Windows 7, Thats why it taking too much time to read(mount) things from HDD.


How can I operate on the active X display using a command in the console?

It's quite simple in theory and appears to work with compiz --replace, but other programs may not be so cooperative.

Login to the console session after Ctrl-Alt-F1, and type:

export DISPLAY=:0.0 (0 is the default display for the GUI/X)

Followed by compiz --replace, etc.
This simply sets the DISPLAY environment variable in your console session to that of your GUI session, hopefully fooling programs into thinking they are on that display and then operating on that display.


How to open a file in the folder from Activities search

One thing you can do is using shift+tab to highlight the files on the left side of the result in the activities and then press enter. When the Files window pops up, using Ctrl+Alt+o you can open the containing folder of the file.
Although, I believe you are looking for a simpler solution. Hope we can find one...


Extreme cursor delay with Acer Aspire E15 on Ubuntu 16.04

I experienced the exact same issue on my own Aspire E-15 (running Ubuntu 16.04). In your BIOS, change the "Touchpad" setting from "Advanced" to "Basic". For reference, xinput identifies the touchpad as a "ELAN0501:00 04F3:3019 Touchpad" when the BIOS option is set to "Advanced", and "ETPS/2 Elantech Touchpad" when set to "Basic".


What does the first '.' mean in '. ~/.bashrc'?

If you want to check something in bash, use  type and man.

In your case you want to know what is .

$ type .
. is a shell builtin

shell builtin means that . is inside bash shell. You can find information about shell builtins in bash manual page. There is a big section SHELL BUILTIN COMMANDS

$ man bash

SHELL BUILTIN COMMANDS
       Unless otherwise noted, each builtin command documented in this section
       as accepting options preceded by - accepts -- to signify the end of the
       options.   The  :, true, false, and test builtins do not accept options
       and do not treat -- specially.  The exit, logout, break, continue, let,
       and  shift builtins accept and process arguments beginning with - with‐
       out requiring --.  Other builtins that accept  arguments  but  are  not
       specified  as accepting options interpret arguments beginning with - as
       invalid options and require -- to prevent this interpretation.
       : [arguments]
              No effect; the command does nothing beyond  expanding  arguments
              and  performing any specified redirections.  A zero exit code is
              returned.

        .  filename [arguments]
       source filename [arguments]
              Read and execute commands from filename  in  the  current  shell
              environment  and return the exit status of the last command exe‐
              cuted from filename.  If filename  does  not  contain  a  slash,
              filenames  in  PATH  are  used  to find the directory containing
              filename.  The file searched for in PATH need not be executable.
              When  bash  is  not  in  posix  mode,  the  current directory is
              searched if no file is found in PATH.  If the sourcepath  option
              to  the  shopt  builtin  command  is turned off, the PATH is not
              searched.  If any arguments are supplied, they become the  posi‐
              tional  parameters  when  filename  is  executed.  Otherwise the
              positional parameters are unchanged.  The return status  is  the
              status  of  the  last  command exited within the script (0 if no
              commands are executed), and false if filename is  not  found  or
              cannot be read.


Try this out.

Open Home folder(or any other folder, whatever)
Goto File-> Connect to Server
type your sister's IP with smb protocol e.g. smb://192.168.1.123/
Click Connect -> Enter Credentials.

Please reply if you still get it repeatedly.


Why isn't there a useful version of GeoGebra in Ubuntu

Every new distribution of Ubuntu has got a new code name: take Xenial Xerus for example. If apt-get update is run, it will search through all repositories, including the ones you manually added, along with the codename xenial. If no package with the codename xenial is available, this will prompt back with 404 not found.

The developers for that repository simply did not optimize / put xenial in just yet.

There is a workaround: building from source. If you have a tarball you can extract that, and in there there should be a readme which instructs you how to build that package and install it from source. Often make is used for it. I do not reccomend building with make as it is possible that the source does not have any method to uninstall built package, unless mentioned in the readme file.

But yeah. Using apt-get actually retrieves the file via a website for the codename (eg. xenial), and if it is not available, you are unable to update / install the package, unless you build from source or find another method.


Why is my OpenOffice.org presentation opening in LibreOffice Writer?

Libre Office shouldn't open an impress file in Writer, but in its own Impress. As such: Try to force it to open through Impress (via context menu or the Ctrl+O dialogue on Impress).

If that doesn't work, it's either an issue with the file extension or the collation you used, in which case we'd need more information on the file(s) in question.


Chrome, Firefox chromium Vivaldi starts up slow and greys out, online passwords not working either. 16.04

I have posted the following bug for this issue. Please add any relevant information and/or mark it as affecting you as well:

https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1689825


Screen Blink when moving mouse after inactivity

I had this issue with Gnome 3 in Debian, it drove me so mad that I switch everything and went to Arch with KDE,but instead of screen flickering it was displaying "No External Display" message. But, as you said I was thinking that was something related to my touchpad, and it really was, my touchpad it's a Alps one that comes with my Dell, I only was able to fix this issue installing it's driver using DKMS, I followed the instructions in the link bellow, I hope it helps you, it's really annoying:

http://ayushyajaiswal.blogspot.com.br/2013/05/installing-alps-multitouch-drivers-in.html


Permission denied on new users even after chmod a+x on parent dir

To access a file or directory on Linux, in addition to having permissions on that file or directory, you need execute permission on all parent directories, which would in your case be /mnt, /mnt/Storage, and so on. Your users are likely missing one of these permissions.


electricsheep installation in ubuntu 15.04

You can check the following PPA for the latest version of packages:

https://launchpad.net/~ichthyo/+archive/ubuntu/zeug


start skype with the following command

LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype

If this doesn't work, make sure you install the 32bit libv4l-0 package first.

Your Skype is a 32bit version and it needs the 32bit libv4l-0 package (even though your ubuntu is 64 bit). If you don't have it install it by the following commands.

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libv4l-0:i386

If you don't want to type this long command every time while launching Skype, you should edit the /usr/share/applications/skype.desktop file and add the following at the Exec line so that it looks like this:

Exec=sh -c 'LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype'


You should better use systemd-timers to achieve this.

Create a timer named like your systemd service rebuild.timer

# nano /etc/systemd/system/rebuild.timer

[Unit]
Description=Start script every hour

[Timer]
OnCalendar=hourly

[Install]
WantedBy=timers.target

Edit your script to the following

#!/bin/sh
bbb-record --rebuildall

Ensure your script is runable chmod +x /home/sysadmin/rebuild

Edit your systemd service to remove restart=always and exit 0

[Unit]
Description=bbb-rebuild

[Service]
ExecStart=/home/sysadmin/rebuild

[Install]
WantedBy=multi-user.target

Then simply enable your systemd-timer with systemctl enable rebuild.timer.
Then check the timer is enabled with systemctl status rebuild.timer.


Is it possible to access the XAMPP on vmware workstation?

How you access it depends on the network settings on the virtual machine. If you use NAT, you should get an IP address, that would make it possible to access the machine. On my setup, I have set the connection to NAT.

Share the Mac's connection (NAT), is it called on my mac. You should have very similar option.

Using this setting, I am able to get a local IP address, where I can access the server. Im my case i is 192.168.140.137.


Nautilus Contextual Menu Icons Gone After Upgrade to 17.04

Temporary solution by downgrade

I am not sure how to fix it in 3.20.4, but what you can do is to try and downgrade to version of Nautilus that is used in Ubuntu 16.04 until newer
versions become more stable.

What worked for me, is:

Open Synaptic Package Manager (synaptic-pkexec from terminal)
Settings -> Repositories
Other software tab -> Add...
Paste repository deb http://archive.ubuntu.com/ubuntu xenial main
This should add repository for official Ubuntu 16.04 Xenial.
Make sure "Ubuntu 16.04 LTS 'Xenial Xerus' is checked and close "Software & Updates" window, going back to Synaptic PM.
Press "Search", type "nautilus", choose "name" search criteria, Search.
Select "nautilus" package by left-click, after which go to "Package -> Force Version" in top main menu of SPM, select 1:3.18.4 Xenial and accept it.
It will ask to mark package "nautilus-data" as well, do so and Apply changes.
After SPM installed version 3.18, select "nautilus" again and check "Package -> Lock Version" in menu.
Now go to "Settings -> Repositories" again and uncheck Ubuntu 16.04 repository, to avoid issues with it later.

I can not guarantee that this will work for you because I am not using Gnome, but it can be possible temporary solution for you until someone with knowledge can let us know what the actual core issue is.


gi.repository/Python3 example for Indicate?

You would need to use this:

Indicate.Server.ref_default()

to get the default server reference.

For documentation you can run pydoc3 gi.repository.Indicate.


Run 64bit OS in Virtual Box from 32bit Ubuntu

For Virtual Box, here's the Virtual Box FAQ:

  Note that VirtualBox also supports
  64-bit guest operating systems, under
  the following conditions:

  You need a
  64-bit processor with hardware
  virtualization support (VT-x or AMD-V)
  Since version
  2.1.0, you can run 64 bit Guests while running a 32 bit Host.
  You must enable hardware virtualization through your BIOS

So it depends on your CPU. Just having a 64-bit processor isn't sufficient, the CPU also needs hardware virtualization support.

As an example, the Intel i3 540 is listed as having "Intel® Virtualization Technology (VT-x): yes", so it should work there.


I can't use Steam in general I dont know problem

The following line states that you've already installed steam you just need to run the program.

Done steam:i386 is already the newest version (1:1.0.0.48-1ubuntu3)

The following command is simply trying to reinstall it.

sudo apt-get install steam

You can run it via the terminal or if it's easier just type steam in the menu.

Okay well if you didn't attempt to un-install it then you should be able to find it in dash ("Search your computer") it should show up if you type steam.

To run via the terminal, well there are a few ways but for now just open it and type

steam

Then hit enter

In the future when you post code and or terminal output please format it to look like this so it's easier to read :)

[2016-10-02 08:45:13] uninstalled manifest found in /home/hpersniper
/.steam/package/steam_client_ubuntu12 (1).
[2016-10-02 08:45:13]
Extracting package...
[2016-10-02 08:45:26] Installing update...
[2016-10-02 08:45:26] Cleaning up...
[2016-10-02 08:45:26] Update
complete, launching...
[2016-10-02 08:45:26] Shutdown Running Steam on
ubuntu 16.04 64-bit STEAM_RUNTIME is enabled automatically [2016-10-02
08:45:35] Startup - updater built Sep 20 2016 18:20:24 SteamUpdateUI:
An X Error occurred X Error of failed request: BadValue (integer parameter out of range for operation)

There are few threads open already that will help you fix any issues you have with setting up steam and or correcting issues just search around a bit! Could you mark this as an accepted answer so that your original question can be marked as solved!


Convert /etc/network/interfaces to netplan

First, let’s follow the recommendation included in the 50-cloud-init.yaml file. Please open a terminal and do:

sudo -i
echo "network: {config: disabled}"  >  /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
exit

Next, let’s remove the file and simultaneously back it up:

sudo mv /etc/netplan/50-cloud-init.yaml  ~/50-cloud-init.yaml

Next, verify the ethernet interface name with the command:

ifconfig

Substitute the interface you found below if not enp0s3.

Now let’s write a new file:

sudo nano /etc/netplan/01-netcfg.yaml

Write the following:

network:
  version: 2
  renderer: networkd
  ethernets:
    enp0s3:
      addresses:
        - 192.168.2.100/24
      gateway4: 192.168.2.1
      nameservers:
          search: [<domain name>.local]
          addresses: [192.168.1.100, 8.8.8.8]

Spacing, indentation, etc. are crucial and must be exact. Proofread carefully twice. Save (Ctrl+o followed by Enter) and exit (Ctrl+x) the text editor.

Now do:

sudo netplan apply

Reboot.


Is it possible to open the terminal via a bookmark

I think what you need is byobu, install and play around with it you will love it. Documentation.

To install:

sudo apt install byobu

  byobu is a script that launches a text based window manager (either screen(1) or  tmux(1))
         in  the  byobu  configuration.   This enables the display of system information and status
         notifications within two lines at the bottom  of  the  screen  session.  It  also  enables
         multiple tabbed terminal sessions, accessible through simple keystrokes.

  byobu  currently  defaults to using tmux(1) (if present) as the backend, however, this can
         be overridden with the byobu-select-backend(1) utility.

To launch at boot:

byobu-enable

Decide which multiplexer the backend should use:

byobu-select-backend

Select the byobu backend:
   1. tmux
   2. screen

Choose 1-2 [1]:

Using sessions [ What your looking for and why I love it]:

  A session is simply a running instance of Byobu. A session consists of a collection of windows, which are basically shell sessions, and panes, which are windows split into multiple sections.

  The first time you start Byobu, it starts you a fresh session in which you create windows and panes. On subsequent connections, if you have only one session open, Byobu will automatically open that session when you connect; if you have more than one session open, Byobu will ask you which session you want to use with a prompt like this:

Byobu sessions...

  1. tmux: 1: 1 windows (created Wed Aug  3 16:34:26 2016) [80x23]
  2. tmux: 2: 1 windows (created Wed Aug  3 16:34:38 2016) [80x23]
  3. Create a new Byobu session (tmux)
  4. Run a shell without Byobu (/bin/bash)

Choose 1-4 [1]:

Checkout this excellent tutorial on byobu from digitalocean.


Unable to change directory in Ubuntu server

The output of which is never a directory, it is the full path of the executable file that will be called when you type python (or whatever command you gave as argument to which).

Therefore, the directory you can go to is only /home/user/bin and you will find an executable file named python in there.


-bash: ./geth: cannot execute binary file: Exec format error

file geth says that geth is for "ARM aarch64" but you are on a AMD64 / x86-64 system.
You will have to find a geth package for AMD64 / x86-64.


How do I properly auto start Skype in GNOME3?

If you select in Skype Options to minimise on startup, it should appear in the system-tray area - this is bottom-right of the screen.

Move your mouse to the bottom-right to reveal this area.  Likewise clicking the "X" of the skype window will minimise the application to this area.

If you are having timing issues on startup, you can introduce a delay for a Startup-Application by using a command syntax:

bash -c "sleep 10 && skype"

This will sleep for 10 seconds before starting skype.


Format external hard drive to ext4 in command line

The command is mkfs.ext4, see its man page.

If you are ok with the default settings(1), it's just

mkfs.ext4 /dev/yourpartitionhere

Footnotes:

(1) from the man page:

  The defaults of the parameters for the newly created filesystem, if
  not overridden by the options listed below, are controlled by the
  /etc/mke2fs.conf configuration file. See the mke2fs.conf(5) manual
  page for more details.


USE

sudo chmod -R 777 /opt/lampp/htdocs


Can I remove the countdown when installing extensions in Firefox?

I found this:

You can easily disable the installation wait by a simple "about:config" modification.

1. Type about:config into the Firefox address bar and hit enter.

2. Click on "I'll be careful, I promise!" button.

3. Enter "security.dialog_enable_delay" into the Filter text box.

4. Double click on that preference value and change the value to 0


ping 8.8.8.8 connect: Network is unreachable?

It seems from your 192.168.56.* address that you are running in a VirtualBox image, and that you are wondering why the image has no connectivity when presumably your host does.

You have probably set the first eth0 interface to "NAT" or "bridged", and attached it to your host's ethernet interface. If you are online via wifi but your bridge/NAT is configured to use the ethernet card, you won't have network connectivity; the reverse is also true.

Change the network interface of the VM to use the correct host interface.


Did you install ubuntu-restricted-extras?

But your best bet, if you want to keep the file is to run in through Handbeske first and convert it to a standard format.

As to why, Roxio uses DRM which won't allow normal users to watch their, the users, property.


First of all create directory:

sudo mkdir /media/iso

Check if your image has a boot sector:

sudo file /media/oshirowanen/250GB.iso

If your drive image has a boot sector, issue the command in terminal:

sudo fdisk /media/oshirowanen/250GB.iso

Find in the table in Start column number, let it be 64 for example. Multiply this number by 512 (sector size), i.e. 64x512=32768. And finally mount your image with offset option:

sudo mount -o loop,offset=32768 /media/oshirowanen/250GB.iso /media/iso


How do I install kodi 16.1 on ubuntu 17.10

You haven't mentioned of you have already got the latest version of kodi installed on your system so here are the instructions incase you do.

if you need to uninstall Kodi and remove the stable PPA before installing the 16.1 version.

the following command will remove the latest PPA form your system.

sudo add-apt-repository -r ppa:team-xbmc/ppa

Next to add the PPA for the old version of kodi and install it run the following commands:

sudo add-apt-repository ppa:team-xbmc/kodi-old
sudo apt-get update
sudo apt-get remove kodi*
sudo apt-get install kodi

for more infomation see the kodi wiki here - http://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux


Solution One :

Is booting to a real windows, and adding the xbox accessories app from the microsoft store. this will require a live/outlook/hotmail email to use.

I happen to have one. Make sure to keep selecting the "hidden" option such as "no thanks" or "use account only for microsoft apps" to prevent microsoft attempting to switch your windows to email authentication/account...

from there it's pretty straightforward. The profiles you make belong to and are stored on, the device, so they continue to exist on ubuntu (all three of them). I am looking into an ubuntu-only solution :


If someone switches user from my lock screen, can I get back into my session?

As you said, when you try to go back it says to create a new session, so probably the session was killed. Sorry, your session is gone.


Turn off secure boot in your BIOS. Ubuntu won't load unsigned kernel drivers.


Python script not executing after setting executable permission

I remember an issue like that because I had a test.pyc in the same directory, and interpreter was using it instead of the original interpreted one (test.py).
Maybe it's a lead for you.


What is the command for Package Manager | Settings | Repositories | Source code

You can do it from terminal by running the following commands:

sudo -i   #to switch to the root user
echo "deb-src http://archive.ubuntu.com/ubuntu raring main universe restricted multiverse" >> /etc/apt/sources.list
echo "deb-src http://security.ubuntu.com/ubuntu/ raring-security restricted universe main multiverse" >> /etc/apt/sources.list
echo "deb-src http://archive.ubuntu.com/ubuntu raring-updates restricted universe main multiverse" >> /etc/apt/sources.list
exit
sudo apt-get update

This if you use Ubuntu 13.04. If you use other Ubuntu version, change raring with your Ubuntu code name. To see from terminal what is the code name of your current Ubuntu version, use the following command:

lsb_release -c

Also you can change the mirror server (in this case is the main server http://archive.ubuntu.com/ubuntu) with your favorite.


Cannot find Windows 7 after installing Ubuntu

If the Ubuntu don't suggest to mount an NTFS partition, I am afraid the installation was delete your windows. If you have a back up for your windows, it time to use it.


As of version 1.0 (of phablet-tools) the syntax you need changes to:

phablet-flash cdimage-touch -d grouper -b

You should not need sudo for this command.

See: phablet-flash -h OR http://sergiusens.github.io/posts/updates-to-phablet-flash.html

Verify what version you have with: dpkg -s phablet-tools | grep Version

This new version definitely works for Nexus 7 and Nexus 10, but I have not yet tried with Nexus 7 3G.

UPDATE: (23-Aug-2013)

The ASUS Nexus 7 3G (and in particular the 32 GB model) are somewhat different from the base model of the Nexus 7 ('grouper'). They have support for GSM 3G/4G and other low-level firmware changes.

Before Ubuntu Touch was 'flipped' (still ran Ubuntu in a container inside Android), this did not provide an insurmountable problem. However, the additional features not found in grouper were also not available.

Now with the 'flipped' design, and with current changes to the underlying Ubuntu Touch OS and UI, only the base model Nexus 7 (grouper) is currently supported.

See also:

Latest two images will not install on Nexus7 (32GB + 3G), but older were Ok

  The latest two (newest) daily images will not install on my Nexus 7, 32GB + 3G. The older versions work fine. Background looks like coloured snow. ..

Nexus 7 3G [2012] problem with ubuntu touch

  Nexus 7 3G is not equivalent to grouper.

  Nexus 7 is a commercial name that hides a lot of different hardware configurations in it.

  If the hardware codename is tilapia [2012, 3G] or razor [2013] the device will not work without modifications or what people call ports, please refer to https://wiki.ubuntu.com/Touch/Devices

and more technical:

https://bugs.launchpad.net/ubuntu-nexus7/+bug/1079729

  Ubuntu uninstallable on 32GB 3G Nexus 7

  Nexus7 variants without 3G support map their user data partition (UDA) to mmcblk0p9, where variants with 3G support map UDA to mmcblk0p10 ..

UPDATE: (09-Mar-2014)

This question/answer is no longer current.

As of March 2013 use of the phablet-flash tool has been deprecated, and you should use ubuntu-device-flash.
Support (as reference hardware) for the Nexus 7 (original model) is also now deprecated, with development focused on: Nexus 4 smartphone, Nexus 7 (2013) tablet, and Nexus 10 tablet.
Support for Galaxy Nexus is "maintenance only" (major bug fixes).


Bash is actually quite good at this. You just need to learn its shortcuts. For example (in the default emacs mode):

Ctrl + A : move to the beginning of the line.
Ctrl + E : move to the end of the line.
Ctrl + B : move one character backwards.
Ctrl + F : move one character forwards.
Alt + B : move one word backwards.
Alt + F : move one word forwards.
Ctrl + K : delete (cut) everything until the end of the line.
Alt + D : delete (cut) the word after the cursor.
Ctrl + W : delete (cut) the word before the cursor.
Ctrl + Y : yank (paste) what is in the buffer (what you cut with Ctrl+K or Alt + D for example)

And there are many more. Read man readline to see what else is available. You can assign different shortcuts by placing them in ~/.inputrc. For example, to make Ctrl + Left go back one word and Ctrl + Right go forward one word, add this to your ~/.inputrc:

"\e[1;5D": backward-word
"\e[1;5C": forward-word

To find out what those strange codes mean, press Ctrl + V and then press the key you would like to use. If you try with Ctrl + Right, you will see ^[[1;5C. Replace ^[ with \e in ~/.inputrc.

You might also want to look into other shells. Popular "modern", feature-rich shells include:

zsh
fish
ksh


Open the U1 control panel and you can choose which folder to synchronize locally and which not.
By default when you start to use U1 there is no folder synchronized except UbuntuOne folder. So you can select which folder to download to your PC.


Can't reach some https sites using Chrome but Firefox works fine

I vaguely recall a friend having a problem similar to this.  The solution we used was to flush out the secure sites certificates and cache.  I'm not sure exactly how to do this in Chrome, but it is likely under advanced settings.


I have an answer that works for me. I have just found this post: https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/1284635

That suggests to me ibus is problematic, so I uninstalled it:

sudo apt-get remove ibus

Then rebooted and everything is back to normal and working properly.


It depends which file you used to verify the signature. I try to describe the steps to verify it:

Download the signing key of the TCPdump group: tcpdump-workers.asc.

wget http://www.tcpdump.org/tcpdump-workers.asc

Import the key to GnuPG:

gpg --import tcpdump-workers.asc

Download the libpcap release and the signature:

wget http://www.tcpdump.org/release/libpcap-1.4.0.tar.gz{,.sig}

Verify the signature:

gpg --verify libpcap-1.4.0.tar.gz.sig libpcap-1.4.0.tar.gz

The last command should output something like:

gpg: Signature made Mon May 20 18:26:04 2013 CEST using RSA key ID D9C15D0D
gpg: using PGP trust model
gpg: Good signature from "The Tcpdump Group (Package signing key) <release@tcpdump.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.

The 3rd line says that GnuPG considers the signature as good.


How to switch between headphones and speakers manually

You can change using System Settings->Sound->Output - just pick the device you want the sound to output on.


Hplip network printer setup cannot find printer (HP Officejet Pro 8620)

The solution was to install the latest version of hplip from http://hplipopensource.com the details to it can be found in the release notes

Especially this section:

HPLIP 3.14.4 - This release has the following changes:
Added Support for the Following New Printers:
[...]
- HP OfficeJet Pro 8620 e-All-in-One Printer
[...]
Added support for the following new Distro's:
- Ubuntu 14.04 Beta


High Frequency run a script on another server

Use ControlMaster:

Host <external_host_ip>
   ControlMaster auto
   ControlPath ~/.ssh/cm_socket/%r@%h:%p
   ControlPersist 600
   User user
   IdentityFile ~/key.pem

And then connect just using ssh host_ip. The first session initiates the connection, the others (up to 100 consecutive according to your setup) will reuse the first one. It should get a lot faster.


How to convert from from ubuntu desktop 11.04 to ubuntu server 11.04

What's the difference between desktop and server?

1) The first difference is in the CD contents. The "Server" CD avoids including what Ubuntu considers desktop packages (packages like X, Gnome or KDE), but does include server related packages (Apache2, Bind9 and so on).

2) The Ubuntu Server Edition installation process is slightly different from the Desktop Edition. Since by default Ubuntu Server doesn't have a GUI, the process is menu driven, very similar to the Alternate CD installation process.

3) Ubuntu server installs a server-optimized kernel by default (the commands you mentioned should do it).

4) Ubuntu Desktop will receive 3 years of support, while Ubuntu Server will be supported for 5 years.

Can I convert the Desktop installation to server?

You can use apt-get to install the packages you need like Apache and Bind9 for example.

Reference: 1.


If you can access the terminal try sudo apt-get install ubuntu-desktop and reboot. This will download any required packages and also inform you of any errors if there is any.

To upgrade to 13.04, I beleive it is sudo do-release-upgrade -d


How can I do...

You could download the kernel binaries from the old or new Ubuntu releases /1/.

Ubuntu Packages Search: http://packages.ubuntu.com

Picking natty-updates kernel linux-image-2.6.38-10-generic : http://packages.ubuntu.com/natty-updates/linux-image

Downloading it and installing with the command:

sudo dpkg -i linux-image-2.6.38-10-generic_2.6.38-10.46_i386.deb

Package management is telling:

Selecting previously deselected package linux-image-2.6.38-10-generic.
(Reading database ... 127436 files and directories currently installed.)
Unpacking linux-image-2.6.38-10-generic (from linux-image-2.6.38-10-generic_2.6.38-10.46_i386.deb) ...
Done.
Setting up linux-image-2.6.38-10-generic (2.6.38-10.46) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
update-initramfs: Generating /boot/initrd.img-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.38-10-generic /boot/vmlinuz-2.6.38-10-generic
Generating grub.cfg ...
Found background image: /lib/plymouth/themes/my-plymouth/my-wallpaper.png
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found linux image: /boot/vmlinuz-2.6.38-10-generic
Found initrd image: /boot/initrd.img-2.6.38-10-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sda1
Found Ubuntu 10.10 (10.10) on /dev/sdd1
done

Rebooting

Picking from the grub > Previous Linux versions > Kernel 2.6.38-10

...and the (K)Ubuntu is telling that i'm running with the 2.6.38-10-generic /2/.

...won't it cause any problems?

Well ;) you could tell us...

Links

http://www.kubuntuforums.net/showthread.php?51992-FAQ-Kernel
http://www.kubuntuforums.net/showthread.php?53976-FAQ-Version-info-Regenerated


Easy way to install a .deb package without aptitude or synaptic?

Try to install .deb packages through gdebi,

 sudo gdebi filename.deb

Run the below command to install gdebi,

 sudo apt-get install gdebi

Installing the .deb file through gdebi will remove the dependency errors.


Snap writable areas don't appear to be writable

As you omitted details about the actual app in the snap it's really hard to guess.

I had similar situations and usually found out that executable file would not have execute permissions.


How do I uninstall Ubuntu from my MacBook and replace it back to mac?

You have to format your HD back to HFS+ first, thats the filesystem OS X needs to be installed on, you can do this using the installation disk.

So after booting from cd just click on Utilities on the top tabs, select Disk utility and reformat your HD to Mac OS Extened Journaled

after this is done you'll be able to install OS X again.


How to delete lines form multiple text files at once in command line?

Here are two ways, choice depends on how many files you have, how long the names are, and whether or not the filenames have "funny characters.

for i in *.txt ; do
    sed -i.bak '2,3d' "$i"
done

Or, the complex case:

find . -maxdepth 1 -type f -name '*.txt' -print0 | \
    xargs -0 -r -n 1 sed -i.bak '2,3d'


install beautiful soup specifically in python3.5

You should run pip as module of the Python version you want, instead of the pip command, which can point to any Python version, depending on what was installed last and how:

python3.5 -m pip install --upgrade beautifulsoup4


You should not uninstall eclipse you are right. Do not use apt-get if it is just icon related a specific user.

Probably you have a eclipse.desktop file either in /usr/share/applications or in ~/.local/share/applications.

If you delete the file(s) the entry will disappear.

Go to cd ~/.local/share/applications and list icons inside to remove the right one.
If you do not know the correct and the wrong one, you can check the dekstop file to check eclipse directory of th binary with just cat eclipse.desktop command.


How to carry audio over SSH?
Stolen answer from grawity in SuperUsers:

The easy way: Run paprefs, go to Network Server and check Enable
network access to local sound devices.

You need to install it using
sudo apt-get install paprefs

Whenever you SSH with X11 forwarding enabled, PulseAudio programs use
X11 to discover your sound server (use pax11publish or

xprop -root PULSE_SERVER

to see for yourself). Just tell PulseAudio to listen for
network connections (paprefs as described above), and all X11
programs will be able to use it.
(Other users will not have access to your sound server, unless you
allow it yourself in paprefs. The authentication data is carried
over in the X11 PULSE_COOKIE property, or you can copy
~/.config/pulse/cookie manually.)
Note however, that the PulseAudio stream is not encrypted this way, so
it is okay for use at home, but not over the Internet.

The slightly more complicated way: Enable network access as above, but
tunnel PulseAudio over SSH TCP forwarding. Use pax11publish to
discover your PulseAudio port (usually 4713), connect with
ssh -R 24713:localhost:4713

then run
export PULSE_SERVER="tcp:localhost:24713"

This will be slightly slower due to SSH overhead, but is safe to use
over the Internet.


How to md5 special characters - Thumbnail related

The proper encoding for the filename seems to be:

file:///home/ricardo/%C3%81rea%20de%20Trabalho/TempImgX/capa_site_01.jpg

That is: replace all blanks with %20 and that Á with %C3%81.
Don't replace the slashes / and the colon :. Then (in bash):

filename="file:///home/ricardo/%C3%81rea%20de%20Trabalho/TempImgX/capa_site_01.jpg";
echo -n "$filename" | md5sum
1f6cd39593b60e303d26856ffa471689  -

As @Rinzwind said in a comment,

  Not just {space} but ! * ' ( ) ; : @ & = + $ , / ? % # [ ]
  and any chars that are not in A-Z (like accents)
  [need replacement.]

Unfortunately you cannot apply this rule to the complete URI
file:///home/ricardo/Área de Trabalho/TempImgX/capa_site_01.jpg because that gives
file%3A%2F%2F%2Fhome%2Fricardo%2F%C3%81rea%20de%20Trabalho%2FTempImgX%2Fcapa_site_01.jpg
and that didn't work out.

Instead, the algorithm for that NEF/thumbnail tool seems to be working like so:

split the filename (like /home/ricardo/Área de Trabalho/TempImgX/capa_site_01.jpg) at / into parts
foreach such part replace all weird characters with their percent encoding
re-join the parts with /
prepend file://
apply md5 to the resulting string.


VNC with virtual display - black screen when I connect

I added /usr/bin/xrandr to the end of the script:
#! /bin/bash

/usr/bin/xrandr -d :0 --output VIRTUAL1 --primary --auto
/usr/bin/xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900$
/usr/bin/xrandr --addmode VIRTUAL1 "1600x900_60.00"
/usr/bin/xrandr

That way, VIRTUAL1 is set as output and connected. At boot, a new mode (found using cvt 1600 900) is being created and appointed to VIRTUAL1.
Only issue with this is: dock is missing at reboot... Haven't solved that yet.


This resolved my issue:

sudo apt-get install libpq-dev


How to edit multiple text files with a single command?

You can use sed :

sed -i.bak '1s/^.*$/new line/' *.txt

This will replace the first line of all .txt files in the current directory with the text new line, change it to meet your need.

Also the original files will be backed up with .bak extension, if you don't want that just use :

sed -i '1s/^.*$/new line/' *.txt


OS X's Disk Utility hides the EFI System Partition (ESP) from the user. If you want to modify it, you must use other tools, such as diskutil or gdisk. You can explicitly mount the partition from the command line in OS X. The commands are:

mkdir /Volumes/ESP
sudo mount_msdos /dev/disk0s1 /Volumes/ESP

You can then modify the contents of the ESP. Ubuntu's files will be in a directory called EFI/ubuntu.

This shouldn't be necessary, though, particularly not if you intend to re-install Ubuntu again. The new installation will simply overwrite the files from the old one.


Workaround for volume settings going to maximum after reboot

To mute the sounds you could use this command:

pacmd set-sink-volume 0 0

The first 0 is the sink, and the second one is the volume you want to set it to. The volume ranges from 0 to 65536, so to set it to half-volume, you could simply use this:

pacmd set-sink-volume 0 32768

Here is a link to more information on using the PulseAudio CLI (pacmd)


Source games: missing russian texts in XUbuntu 18.04

I've not testing this, but there is no risk to try the following process.

Enable russian caracters encoding

dpkg-reconfigure locales

Tick the one named ru_RU.UTF-8. Finally restart your computer to ensure the new locale is available in all tty and try again your game.


I believe that the config files for darktable are under ~/.config/darktable.  Usually, deleting the config files will cause them to be regenerated at the next startup.  Any changes you made to the default settings will be lost.

Before deleting your config files, though, delete just the Darktable library file (~/.config/darktable/library.db).  This is where Darktable saves information about the images you've imported.  After you delete the library file, Darktable won't know anything about your image collection (and should stop crashing).  You'll have to re-import the photos you want to work with, but happily, the library file is mostly just a cache that speeds up various operations within Darktable.  Darktable saves all important image metadata (including tags, edit history, etc.) in XMP "sidecar" files alongside the images themselves.  Hopefully, all you'll lose is a bit of time.

Always make a backup of any files you intend to experiment with.


What you want is called bash prompt

To get |>$ simply run PS1="|>$" in your terminal, if this is what you want then you should edit your .bashrc to make it permanent.

Find section looked like this:

if [ "$color_prompt" = yes ]; then
    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi

And if you are not using colored prompt, then correct line after word else before fi:

PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '

to this line

PS1='${debian_chroot:+($debian_chroot)}|>$'


Upgrading LTS to LTS (server) -- why wait for the first point release?

Yes, most users that use LTS are conservative, even more so on the server side, so we don't enable prompting updates until the point release.

It is correct that there will be bugfixes published between now and then, and that 16.04.1 will be a culmination of all those bugfixes.

If you're itching to move to 16.04 right away though, you can follow these instructions to move to 16.04 immediately:

Why is "No new release found" when upgrading from a LTS to the next?


Mount folder using ssh twice (first ssh to gate, then from gate to workstation)

This should be possible with SSH-forwarding. E.g.

$ ssh -f -L 2200:username@workstation:22 username@gate -N
$ sshfs -p 2200 localhost:/path/to/remote/dir /path/to/mount/point

However, the administrator of your gateway computer might have disabled SSH forwarding, in which case I think you're out of luck with this option.

Another possibility is to use SSH-bouncing. IMHO it is a bit more involved and requires you to possibly install netcat on the gateway machine.


How to configure macOS-like text navigation shortcuts in ubuntu (delete word/line, move cursor by word/line)

I have mapped my capslock to escape. I used xmodmap for this..Step 1 : Identify the keycodes for the keys you want mapped using xev. Run xev and press the keys you want mapped to get their key codes, like so :  xev | grep -i keycode  I am unsure of the key behaviour in macOs, so apologies, you will need to try this out yourself.Step 2 : With the keycodes you have, use the xmodmap -e to try out if your key mapping works as you would like.  For instance :
#This is to map CapsLock to Esc
xmodmap -e 'keycode 66 = Escape'
 If you want to get your old key layout back in the middle of this testing step, you can use setxkbmap -layout usStep 3 : Once you have all your keycodes, put them in a file in your home directory(or anywhere accessible by your user on login) For instance my final xmodmap file looks like so :
keycode 66 = Caps_Lock
keycode 9 = Escape
remove Lock = Caps_Lock
add Lock = Escape
keycode 9 = Caps_Lock
keycode 66 = Escape
Step 4 :  Modify your ~/.xinitrc to run xmodmap on startup with the custom keybindings. Mine is like so :
/usr/bin/xmodmap ~/.speed


Can't connect to own Ubuntu-created WiFi hotspot

I found the answer.

After following the guide and before enabling WiFi, restart the Network Manager with:

sudo service network-manager restart

Then enable WiFi and it should connect.


where to see created mysql database and tables

There should be files named mysql at least at these locations

/etc/mysql/
/etc/init.d/

You can check if there is a running mysql with...

ps -ef |grep mysql

Or type mysql on command line. It will show an error if there is a mysql:

ERROR 1045 (28000): Access denied for user 'xxxx'@'localhost' (using password: NO)

If there is no mysql in /etc/ you do not have it installed. /var/lib/ is optional so not a good directory to test if you have a mysql instance; the location of the data directory is defined in /etc/mysql/my.cnf (look for datadir). If that shows something other than /var/lib/ you need to use that directory to find the database files.


How do I determine and fix why I can not output LPCM from XBMC?

I do not think it is not possible...  To add passthrough of AC3 and DTS remove pulseaudio

sudo apt-get purge pulseaudio
sudo apt-get autoremove && sudo apt-get autoclean


How to solve 404 for static files with Django and Nginx?

This is most likely a problem of configuration in django or Nginx

There are two things you want to check:

Are your staticfiles configured correctly in settings.py? For the basic django page, these settings are not necessary, but for your static files, you need to configure static files. That is not necessary for production use, because there the webserver serves the static files. Are they collected? Once configured you might have to run python manage.py collectstatic.

For instance,

#settings.py
INSTALLED_APPS += [django.contrib.staticfiles,]
STATIC_URL = '/static/'
STATIC_ROOT = '/your_path/.../static/'

# This collects all files in /static/ directories and puts them in the static ROOT folder.
python manage.py collectstatic

Django does not serve static files by itself (unless you set DEBUG=True in settings.py), thus you will have to add a configuration in engine x to make it serve the static files. You might have to restart nginx and/or add autoindex on; to your config for /static/ in nginx.conf.

See Deploying static files.

In development, you might also have to add the /static/ url to your urls.py (in development) and not just the settings.


Should I run mod_fcgi or APC on a 512MB VPS?

You should use both fcgi and APC -- they don't do the same thing at all. But 512MB of RAM is not enough for a busy site.


How do I remove permissions on an external drive in 13.04?

This is a real cheat I picked up when I was new to Ubuntu and afraid of the command line - install dolphin, the KDE file manager. gksu dolphin to use it instead of Nautilus. You can copy files easily, but for your purpose, you can change file permissions or owners easily and recursively with a nice GUI interface. It's going to install a lot of KDE stuff you might not need otherwise, but it's a really nice file manager I use a lot.

I would copy everything off to a safe place using dolphin, change the file permissions and owner to something that makes sense, format the drives to ext4, and put them in an external USB housing. Bingo - you have the files, you can use the files, and you have a couple of USB drives as well.


Why Can't Ubuntu Server 16.04 Update After Install

You can try changing the DNS-server your server is using. To do that type in the following command:
nano /etc/network/interfaces
and add the following line (or change it if it's already there) :
dns-nameserver 8.8.8.8 8.8.4.4
Now your server should use the Google dns server (but of cause you can use any other dns server you want)

EDIT:
Now that you have shown the result of ping 8.8.8.8 its looks like your pc is not connected to the internet. You can try to get a new ip-adress from your router by typing sudo dhclient -r eth0 If this still does not work you can try assigning you pc a static ip-adress.


The Ubuntu desktop system package (ubuntu-desktop) depends on all of the packages in the Ubuntu desktop system. In all currently supported versions of Ubuntu open the terminal and type:

sudo apt install ubuntu-desktop
sudo reboot

In order to preview what sudo apt install ubuntu-desktop installs without installing anything run apt show ubuntu-desktop

In order to simulate what sudo apt install ubuntu-desktop installs without installing anything run apt install ubuntu-desktop --simulate


There's a directory, /etc/apt/sources.list.d/ that contains individual entries for each PPA you've added with add-apt-repository. Those are the files you need to back up.


Install solaar and see if their DPI settings apply to the G400.

See http://pwr.github.io/Solaar/ for more information about solaar.

Add deb http://ppa.launchpad.net/trebelnik-stefina/solaar/ubuntu yakkety main repository if you don't find solaar in the Ubuntu repositories.

To add the PPA, in terminal...

sudo add-apt-repository ppa:trebelnik-stefina/solaar

note: if you're using a Ubuntu newer than yakkety, you may have to manually change the Ubuntu version in Software & Updates, as yakkety was the latest repository for solaar.

To install, in terminal...

sudo apt-get update
sudo apt-get install solaar

Then pair the G400, and once paired, open the G400 settings and check/adjust the DPI.


You can't boot from a running system (the terminal).  You boot by having the boot media attached and select it as the boot drive.  In this case it will be the option to boot to the DVD.

Make sure you have the DVD placed in the computer.  When you boot the computer, you'll see keys to hit to enter the bios option or the boot drive.  You can also check your computer's manual for the option to enter the BIOS and set the boot drive.


Seems that this really is a thing after upgrading: went from 16.04 to 16.10 and had to switch SATA ports AND edit fstab. Irritante.


After startup, display reverts to one desktop duplicated on both screens

You need to save the settings to your xorg.conf file. This should maintain your settings when you reboot etc.


aa-genprof will not scan to create profiles!

It seems that you should install lightdm package to get this file
with sudo apt-get install lightdm.

Below is a clue:

$ dpkg -S lightdm_chromium-browser
lightdm: /etc/apparmor.d/abstractions/lightdm_chromium-browser


Installing Nvidia driver on Kubuntu 15.10x64: The distribution-provided pre-install script failed! Continue installation anyway?"

You can install your driver via the package manager :

Open a terminal (Ctrl+Alt+T) and :

Remove old nvidia packages :

sudo apt-get purge nvidia*

Install nvidia-340 driver :

sudo apt-get update
sudo apt-get install nvidia-340 nvidia-prime


Why does ubuntu installer keep crashing when creating the partitions?

This type of error is usually a hint of a hardware fault. I recommend you run a SMART test on your disk. If you need help interpreting results, post back with details. It could be there's some other fault, though -- either a disk problem that won't show up in SMART (like a cabling or controller problem) or something that's not disk-related (bad RAM, maybe).


Wine doesn't load Steam Ingame Overlay in any game

According to this: http://appdb.winehq.org/objectManager.php?sClass=version&iId=19444 that is a known issue using Steam with Wine...


Trying to copy a directory with cp and it is taking forever (I think)

When you run into this kind of thing (which happens from time to time) there are a few things you could do.

First, you need a new prompt. If you are using a graphical user interface, this should be as easy as opening a new terminal window. If you are not, you should be able to switch to another tty by using Ctrl+Alt+F2 for example. Another alternative is to pause the current command using Ctrl+z. You can check what jobs you have paused using the command jobs and let the program run again by using, for example bg 1, where bg stands for background.

Once you have a prompt, and the program you think takes too much time is still executing, you can start doing some investigations. One thing to look at is whether the destination is actually being filled:

ls /home/danai/destination_folder

Run the command a few times. Does the output change? If so, you are fine. If not, we need to check further.

Check if your drive is filling up:

df

Run the command a few times - or put a watch on it:

watch df

Does the output change? Is there a drive (containing your home directory) filling up? If so, the command is running, and is working, and is copying something.

Have a look at what you are copying:

du --summarize -h /mnt/external/directory_to_be_copied

This will tell you, approximately, the size of the directory you are copying. This could give you a hint about how much time it will take.

If all this fails, the source might not really be a directory, but rather some kind of mean device filling up your file system. There are such devices. If you watch df you can see if a file system is filling up. If so, you probably want to abort.

Go back to the terminal or tty you used to start the cp (probably tty1 at Ctrl+Alt+F1, if you didn't already change it) or put the command back in the foreground using fg 1 (or whatever number your job had, but probably 1), and abort it with Ctrl+C.

As a side note - when you copy directories, you probably want to use cp -r to copy any subdirectories as well.


Should I forcefully uninstall ubuntu-minimal: Depends: resolvconf as it has unmet dependencies

I tend to not use/trust sudo autoremove as I have found that when I look at the packages it says are no longer required, I have seen my entire desktop, (when using the MATE desktop), and have experiences with it removing dependencies that I did in fact require, and have had to reinstall some systems as a result, always look at what packages it's removing when you issue that command, because it may have even removes a repository gpg key, and now the install -f wont work because the system wont download from the untrusted repo.

Just the type experiences I have had with the autoremove.


Should you do anything first to make sure it's safe to delete? Yeah. You need to make sure that there is no important data on it that you need. If, after deleting the partition, your computer does not boot, you can use boot-repair to repair GRUB 2.
How should you delete it? You install GParted using the software center. Run GParted, authenticate, right click the partition and Unmount it, if necessary, delete it, resize any partitions you want to resize to give them more space, and hit the green check button to apply the operations.

But I can't stress this enough: Make sure your data is backed up and there is nothing you don't want deleted on that partition!


I had the same problem with ubuntu 16.04 LTS on my surface pro 2. The problem come from linux-kernel.

To solve the problem, i installed WICD network manager. I don't have problem with wifi disconnected randomly after that.

Take a look at WICD -->  https://help.ubuntu.com/community/WICD

if you dont like WICD, you can switch back to the default network manager without any problem.


If you select to install it in UEFI mode your ubuntu installer will automatically partition your hard drive, unless you click on manual partitioning option.


Keyboard problem how to substitute a letter

You can use xmodmap (I know it's a very basic-looking page but all the information is there) to reallocate keys.

Personally, I'd look at getting a replacement keyboard:

Ebay
2nd hand shops
Computer disposal companies
The original manufacturer

Ebay and 2nd hand shops are more likely to sell you working models but plenty of "for parts" sales happen on Ebay, very cheaply. There is the possibility you'll end up with another broken keyboard though.

Computer disposal firms might be able to help you out too. They tend to deal with thousands of laptops so might not want to help, but they're probably your best bet because of the volume they deal with.

And finally, it might be worth having a word with the people who made the laptop. Companies do hoard spare parts for service needs so unless it's really very old, they might have a shiny new keyboard. They won't let you have it cheaply though.


If you're planning to upgrade a card yourself, I'd personally opt for an Intel wireless chipset. Intel has an unrivalled record for providing drivers for their WiFi cards. You can  all but guarantee it'll work on Linux.

I didn't know the BCM4321 had onboard BT. I've no idea if it works. As for WiFi, I think it's covered by the newer bcm80211 (renamed to something else in 2.6.29) which works very well for the brcm4313 in this laptop. You need at least Natty for this to work well.

On a side note, if wireless transport speeds are important to you, check to make sure it's not hard-limited. The 4313 is limited to a pathetic 72MB/s. Fine for browsing, painful for moving 20gig files around.


Is there a way to batch export SVGs to PNGs?

It appears you can use Inkscape from command line:

`#{INKSCAPE_PATH} -z -f #{source_svg} -w #{width} -j -e #{dest_png}`

more details

I imagine you can write a simple bash script to process all SVG files:

#!/bin/sh

for file in *.svg
do
     /usr/bin/inkscape -z -f "${file}" -w 640 -e "${file}.png"
done

the example above converts all .svg files in the current directory, adding .png extension to the output files.


How to show dashboard for Micrmax 353G in ubuntu 12.04?

If I understand correctly you want some sort of indicator to show network traffic totals.  As suggested here you could use vnstat, although it is a command line utility.

Another option would be to combine vnstat and indicator-sysmonitor. For example if you want monthly totals in MiB to be displayed alongside other indicators install vnstat, then follow the instructions for installing indicator-sysmonitor here, except use a  script like this instead:

#!/bin/bash
echo "Tx (MiB):"$( vnstat -i wlan0 --dumpdb | grep "m;0" | cut -d ";" -f4)\
"--- Rx (MiB):"$( vnstat -i wlan0 --dumpdb | grep "m;0" | cut -d ";" -f5)

The output would look something like this: Tx (MiB):41 --- Rx (MiB):3 and will be displayed alongside your indicators at the top of your screen, all you need to do is modify the script to display and format the data you are interested in.

You will need to change the wlan part of the script to what ever interface you are using, check ifconfig.


Two ideas:

AutoLogin is On

Go to Settings -> Details -> User -> Automatic Login
The Upgrade didn't complete properly

Go to the terminal and verify that the ubuntu-desktop package is installed:

sudo apt install ubuntu-desktop

(ubuntu-desktop requires gdm3 which requires gnome-session which manages the login session so, presuming you haven't changed any configs, ensuring ubuntu-desktop is installed should fix a lot of things.)

There are more things that you could have messed up somehow, but these are the easiest to fix.


Answering my own question ...

Adding an extra -t argument to ssh solved the problem.

The command now looks like ssh -t -t -t -t user@dx200 ...... ( -tttt should do the same).

The man page on ssh say's this about -t:

 -t      Force pseudo-tty allocation.  This can be used to execute arbi-
         trary screen-based programs on a remote machine, which can be
         very useful, e.g. when implementing menu services.  Multiple -t
         options force tty allocation, even if ssh has no local tty.

But nothing about how many 'Multiple' is, or what in the ssh code that governs the number of -t options required.


sudo apt-get check is your friend. :)

From the man page:

check
check is a diagnostic tool; it updates the package cache and checks for broken      dependencies

For finer checks (half-configured, etc.) you can try sudo dpkg -C instead:

-C, --audit
Searches for packages that have been installed only partially on  your system. dpkg will suggest what to do with them to get them working.


I found this article which might be helpful: https://itsfoss.com/upgrade-ubuntu-version
Try doing:
sudo update-manager -d

This worked for me.


Mistyped ++ split existing terminal window

To open a tab in terminal press Ctrl+Shift+T key combination.

Hope this helps!


How do I get the computer's SNID number from Ubuntu 20.04?

You can find the serial number ID by enter the following in a terminal:
sudo dmidecode -s string

where string is replaced by any of a number of parameters...
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
So in your example, to find the SNID you would use:
sudo dmidecode -s system-serial-number

reference


How to know which devices are connected to my UbuntuOne account?

Because we use macaroons, which aren't stored server-side, it is not possible to get this kind of information from the SSO account, no.


Unable to install Inkscape on ubuntu 14.04

To install Inkscape, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt-get update
sudo apt-get install inkscape


For /, 20GB usually are enough. I've yet to exceed that size even on old installations.

A rule of thumb for the size of a swap partition is 1x to 2x the size of your RAM, depending on whether you plan to use suspend (less if you don't, more if you do).

That would leave about 450GB for your /home partition, which can be plenty if you only want to play around with Ubuntu or not nearly enough if you are planning on storing lots of media files on there. Also, if you are planning on using Steam for Linux – just a wild guess — keep in mind that games installed via Steam are stored in your home directory.


Unable to boot into Ubuntu Live USB, boot priority ignored

You have to disable hibernation and Fast startup.
Open command prompt as administrator - execute :

powercfg /h off

Open the old version of the Windows Control Panel.
Go to the Power Settings and uncheck Fast startup.
In case it is not visible, enable show hidden settings.

Shutdown the machine completely - do NOT restart.
Boot into BIOS and select to boot from the USB disk.
Select the Ubuntu entry with UEFI in front and boot.

Update addressing the information in your comment.
In case you still can't boot create the media this way.
Open command prompt as administrator - execute :

diskpart
list disk
select disk *
clean
create partition primary
active
format fs=fat32 quick
assign letter=**

Note : * = number of USB drive | ** = select a free drive letter
Now mount the ISO file and copy its content to the USB drive.
This method from within Windows is proven to work properly.


QL has a proper process name since 2.4. ("quodlibet")

2.4 also includes new plugins for keeping the session active and to stop music if the session gets locked.

Use the PPA to get the last release: https://launchpad.net/~lazka/+archive/ppa


How to change font in Arista Transcoder?

When you choose add a file: Resize dialog, on top-right corner click on the gear button

You can select font name & size, unfortunately no background color option.

For colored subtitle, you can use FFmpeg command line. See How to Add Font size in subtitles in ffmpeg video filter


Natural scrolling / reverse scrolling with touchpad (only) is not working (reliably) on Kubuntu 18.10 (plasma 5.13.5)

This looks like a bug specifically in the plasma version in question, 5.13.5, which ships by default with Kubuntu 18.10. I installed 5.14 and this seems to have resolved itself.


Chromium Snap WebApps stop working after Chromium update -> Bug! (No fix yet)

EDIT: Unfortunately, as per this bug, WebApps are a total disaster on Chromium Snap currently: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1732482

Please subscribe to this bug and mark yourself as 'This bug affects me' to increase the heat.

----OLD info below----

The 'fix' for the above problem is to edit all affected .desktop files and replace the obsolete Chromium path (1123 in the example above) with current, which always refers to the latest Chromium Snap version installed.

So Exec=/snap/chromium/1123/usr/lib/chromium-browser/chrome --profile-directory=Default --app-id=<yourappid>

becomes Exec=/snap/chromium/current/usr/lib/chromium-browser/chrome --profile-directory=Default --app-id=<yourappid>

When done, save the .desktop file and your WebApp should be working again.
Of course this process will have to be repeated for every WebApp you create, so I suppose a definitive fix would have to be implemented by the Chromium Snap team.


Making remote desktop available over internet

On your Ubuntu desktop, go to connection information and take note of your IP address. Also, take note of the Ubuntu desktop's username in the about section in System Settings. Then, download Windows Remote Desktop from the Windows Store, enter username@(ip-address here with no parenthesis), and then it will connect to the desktop.


Using apt-get or pip version of virtualenv and numpy

Please try to stick to one question in posts, you will get better answers that way.

There is no rule saying you can't use both apt and pip in conjunction you just run a much higher risk of running into Dependency Hell

1.) I would suggest using apt for as much package management as you can, and if you find you need some obscure python lib apt doesn't supply, either use pip or install from source (I would install from source, but to each his own).

If you do decide to use pip as it will likely be easier, I would just keep a list of what is installed with pip.

2.) It depends on your end goal. I intro programming (amongst other more interesting classes) at a major university for 2 years and I really didn't care how "up to date" all their libraries were as I was teaching vanilla python (python 3.6). In any event though, I would say that up to date libraries aren't essential for new programmers (barring you're not using some library as old as your grandfather) as the fundamentals of programming seem to be agnostic of versions.

3.) Is what application specific?

4.) See 2


Trying to install Ubuntu 13.04 i386 as a VM in VirtualBox, the system crashes upon completion

Use VirtualBox 4.2.14 or later.
Do not encrypt your hard drive- I've noticed undefined results.
Make sure you have at least 512MB RAM 1GB would be better for 13.04.
Use as much video memory as you can. 128MB seems to be best.
Enable 3D in the video.

After install, you may have to Power Off machine through VirtualBox.
After install it will run slow so use sudo apt-get update and sudo apt-get upgrade from the command line to get updates.

Then, install Guest Additions. This may be slow and hinky due to poor graphic response.
When you restart it should work.
Finally, use sudo apt-get install dkms to keep VirtualBox kernel drivers in sync with any kernel updates.


No logical name for any network adapter 16.04

This error is something specific to ubuntu. To be able to configure interfaces using commands ifup and ifdown or ifconfig up and ifconfig down, you need to add those interfaces to the file:

/etc/network/interfaces

Open this file using

$nano /etc/network/interfaces

You find the first line says that:

interfaces(5) file used by ifup(8) and ifdown(8)

so, add the interface you want to that file, then restart the networking service, and you will be able to run the command.

1 - Open the file for edit

2 - add the line (in a new line)

auto (interface_name_without_bracets)

3 - save the file and exit

4 - $sudo service networking restart

5 - Try the commands ifup  or ifdown


Adobe Connect App with Wine 5.0 on Ubuntu 18.04

You don't need Wine to connect to Adobe Connect sesssions on Linux. you just need to switch your browser's user-agent from Linux to Windows ... (and preferably open it in Firefox; Works better in my experience.)
1- Install "User-Agent Switcher and Manager" or any other "User-Agent switcher" Addon/Extension on your web browser.
2- Switch your browser's User-Agent to a Windows based one.
(e.g. if you are using Firefox on Linux, change it to "Firefox on Windows"; and if you are using Chrome on Linux, change it to "Chrome on Windows".)

Voila, you can now access Adobe Connect sessions through your web browser on Linux, without getting bothered by Adobe about why you don't have the already EOL Flash plugin installed!


As per the suggestion in this site, you can get pure xubuntu-desktop:

From Ubuntu Quantal:

sudo apt-get remove adium-theme-ubuntu apg appmenu-gtk appmenu-gtk3 appmenu-qt at-spi2-core bamfdaemon banshee banshee-extension-soundmenu banshee-extension-ubuntuonemusicstore baobab binfmt-support bluez-gstreamer branding-ubuntu brasero brasero-cdrkit brasero-common checkbox checkbox-gtk cli-common compiz compiz-core compiz-gnome compiz-plugins-default compiz-plugins-main-default compizconfig-backend-gconf deja-dup duplicity dvd+rw-tools empathy empathy-common eog evolution-data-server evolution-data-server-common example-content gbrainy gedit gedit-common geoclue geoclue-ubuntu-geoip ginn gir1.2-atspi-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gtksource-3.0 gir1.2-indicate-0.6 gir1.2-peas-1.0 gir1.2-totem-1.0 gir1.2-totem-plparser-1.0 gir1.2-wnck-3.0 gnome-bluetooth gnome-control-center gnome-control-center-data gnome-desktop3-data gnome-disk-utility gnome-font-viewer gnome-icon-theme-symbolic gnome-media gnome-nettool gnome-online-accounts gnome-orca gnome-power-manager gnome-screensaver gnome-screenshot gnome-search-tool gnome-session gnome-session-bin gnome-session-canberra gnome-session-common gnome-settings-daemon gnome-system-log gnome-system-monitor gnome-terminal gnome-terminal-data gnome-user-share gnome-utils-common growisofs gstreamer0.10-gconf gvfs-backends gwibber gwibber-service gwibber-service-facebook gwibber-service-identica gwibber-service-twitter hwdata ibus-gtk3 indicator-appmenu indicator-datetime indicator-power indicator-session intel-gpu-tools libappindicator0.1-cil libarchive1 libatk-adaptor libatspi2.0-0 libaudio2 libbamf0 libbamf3-0 libboost-serialization1.46.1 libbrasero-media3-1 libcamel-1.2-29 libcanberra-pulse libcdio-cdda0 libcdio-paranoia0 libcdio10 libcompizconfig0 libdbus-glib1.0-cil libdbus1.0-cil libdbusmenu-qt2 libdconf-dbus-1-0 libdconf-qt0 libdconf0 libdecoration0 libebackend-1.2-1 libebook1.2-12 libecal1.2-10 libedata-book-1.2-11 libedata-cal-1.2-13 libedataserver1.2-15 libedataserverui-3.0-1 libexempi3 libfolks-telepathy25 libfolks25 libgail-3-common libgail-common libgconf2.0-cil libgdata-common libgdata1.7-cil libgdata13 libgdiplus libgdu-gtk0 libgeoclue0 libgexiv2-0 libgif4 libgkeyfile1.0-cil libglew1.5 libglewmx1.5 libglib2.0-bin libglib2.0-cil libglib2.0-data libgmime-2.4-2 libgmime2.4-cil libgnome-control-center1 libgnome-desktop-3-2 libgnome-media-profiles-3.0-0 libgnome-menu2 libgnome2-common libgnomekbd-common libgnomekbd7 libgoa-1.0-0 libgpgme11 libgpod-common libgpod4 libgtk-sharp-beans-cil libgtk2.0-cil libgtkmm-3.0-1 libgtksourceview-3.0-0 libgtksourceview-3.0-common libgtkspell3-0 libgudev1.0-cil libgweather-3-0 libgweather-common libgwibber-gtk2 libgwibber2 libhyphen0 libidl0 liblaunchpad-integration1.0-cil liblircclient0 liblouis-data liblouis2 libmetacity-private0 libmhash2 libmission-control-plugins0 libmono-addins-gui0.2-cil libmono-addins0.2-cil libmono-cairo4.0-cil libmono-corlib4.0-cil libmono-csharp4.0-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-sharpzip4.84-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil libmono-system-drawing4.0-cil libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libmono-zeroconf1.0-cil libmtp-common libmtp-runtime libmtp9 libmysqlclient16 libmythes-1.2-0 libneon27-gnutls libnotify0.4-cil libnux-1.0-0 libnux-1.0-common liboauth0 liborbit2 liboverlay-scrollbar-0.2-0 liboverlay-scrollbar3-0.2-0 libpeas-1.0-0 libpeas-common libprotobuf7 libprotoc7 libpth20 libqt4-dbus libqt4-declarative libqt4-network libqt4-opengl libqt4-script libqt4-sql libqt4-sql-mysql libqt4-svg libqt4-xml libqt4-xmlpatterns libqtbamf1 libqtcore4 libqtdee2 libqtgconf1 libqtgui4 libquvi0 libraptor2-0 librasqal3 librdf0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-gnome libreoffice-gtk libreoffice-help-en-us libreoffice-impress libreoffice-math libreoffice-style-human libreoffice-writer librest-0.7-0 librsync1 libsdl1.2debian libsdl1.2debian-pulseaudio libstlport4.6ldbl libsyncdaemon-1.0-1 libtaglib2.0-cil libtelepathy-farsight0 libtelepathy-logger2 libtextcat-data libtextcat0 libtotem-plparser17 libtotem0 libubuntuone-1.0-1 libubuntuone1.0-cil libunique-3.0-0 libunity-2d-private0 libunity-core-4.0-4 libunity-misc4 libwmf0.2-7-gtk libwnck-3-0 libwnck-3-common libyajl1 libzeitgeist-1.0-1 light-themes media-player-info metacity metacity-common mono-4.0-gac mono-gac mono-runtime mousetweaks mysql-common nautilus nautilus-sendto nautilus-sendto-empathy nautilus-share notify-osd notify-osd-icons nux-tools obexd-client overlay-scrollbar plymouth-theme-ubuntu-logo protobuf-compiler pulseaudio-module-bluetooth pulseaudio-module-gconf python-brlapi python-configglue python-dateutil python-egenix-mxdatetime python-egenix-mxtools python-farsight python-indicate python-libproxy python-louis python-papyon python-protobuf python-pyatspi2 python-pyinotify python-speechd python-support python-telepathy python-twisted-names python-ubuntuone-client python-ubuntuone-control-panel python-ubuntuone-storageprotocol python-uno python-wnck qdbus qt-at-spi seahorse shotwell sni-qt ssh-askpass-gnome telepathy-butterfly telepathy-gabble telepathy-haze telepathy-idle telepathy-indicator telepathy-logger telepathy-mission-control-5 telepathy-salut thunderbird-gnome-support tomboy totem totem-common totem-mozilla totem-plugins ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-mono ubuntu-sounds ubuntu-system-service ubuntu-wallpapers ubuntuone-client ubuntuone-client-gnome ubuntuone-control-panel ubuntuone-control-panel-gtk ubuntuone-couch ubuntuone-installer unity unity-2d unity-2d-launcher unity-2d-panel unity-2d-places unity-2d-spread unity-asset-pool unity-common unity-lens-applications unity-lens-files unity-lens-music unity-scope-musicstores unity-services uno-libs3 ure vino whois wodim xdiagnose xfonts-mathml zeitgeist zeitgeist-datahub zeitgeist-extension-fts

From Kubuntu Quantal:

sudo apt-get remove akonadi-backend-mysql akonadi-server akregator amarok amarok-common amarok-utils appmenu-gtk appmenu-gtk3 appmenu-qt apport-kde apturl-kde ark bluedevil cdparanoia cdrdao docbook-xsl dolphin dragonplayer dvd+rw-tools freespacenotifier gnupg-agent gnupg2 gpgsm growisofs gstreamer0.10-qapt gtk2-engines-oxygen gwenview ibus-qt4 icoutils jockey-kde k3b k3b-data kaccessible kaddressbook kamera kate kate-data katepart kcalc kde-baseapps-bin kde-baseapps-data kde-config-gtk kde-config-touchpad kde-runtime kde-runtime-data kde-wallpapers-default kde-window-manager kde-workspace kde-workspace-bin kde-workspace-data kde-workspace-kgreet-plugins kde-zeroconf kdebase-runtime kdegames-card-data kdegraphics-strigi-analyzer kdelibs-bin kdelibs5-data kdelibs5-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdepasswd kdepim-groupware kdepim-kresources kdepim-runtime kdepim-strigi-plugins kdepim-wizards kdepimlibs-kio-plugins kdesudo kdm kdoctools kfind khelpcenter4 kinfocenter klipper kmag kmail kmix kmousetool knotes konsole kontact kopete kopete-message-indicator korganizer kpat kppp ksnapshot ksysguard ksysguardd ksystemlog ktimetracker ktorrent ktorrent-data kubuntu-debug-installer kubuntu-default-settings kubuntu-desktop kubuntu-docs kubuntu-firefox-installer kubuntu-netbook-default-settings kubuntu-notification-helper kubuntu-web-shortcuts kvkbd kwalletmanager language-selector-kde libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4 libakonadi-kde4 libakonadi-kmime4 libakonadiprotocolinternals1 libarchive1 libassuan0 libattica0 libaudio2 libbluedevil1 libboost-program-options1.46.1 libcalendarsupport4 libcanberra-pulse libcln6 libclucene0ldbl libdbusmenu-qt2 libdebconf-kde0 libdiscid0 libdlrestrictions1 libdmtx0a libepub0 libeventviews4 libflac++6 libgadu3 libgif4 libgpgme++2 libgpgme11 libgpod4-nogtk libgps19 libgrantlee-core0 libhyphen0 libibus-qt1 libincidenceeditorsng4 libindicate-qt1 libiodbc2 libk3b6 libkabc4 libkateinterfaces4 libkatepartinterfaces4 libkblog4 libkcal4 libkcalcore4 libkcalutils4 libkcddb4 libkcmutils4 libkde3support4 libkdecorations4 libkdecore5 libkdegames5a libkdepim4 libkdepimdbusinterfaces4 libkdesu5 libkdeui5 libkdewebkit5 libkdgantt2 libkdnssd4 libkemoticons4 libkephal4abi1 libkexiv2-10 libkexiv2-data libkfile4 libkholidays4 libkhtml5 libkidletime4 libkimap4 libkio5 libkipi-data libkipi8 libkjsapi4 libkjsembed4 libkldap4 libkleo4 libkmanagesieve4 libkmbox4 libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4 libkntlm4 libkonq-common libkonq5-templates libkonq5abi1 libkontactinterface4 libkopete4 libkparts4 libkpgp4 libkpimidentities4 libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkresources4 libkrosscore4 libksba8 libkscreensaver5 libksgrd4 libksieve4 libksieveui4 libksignalplotter4 libktexteditor4 libktnef4 libktorrent-l10n libktorrent3 libkunitconversion4 libkwineffects1abi2 libkworkspace4 libkxmlrpcclient4 liblastfm0 libmailcommon4 libmailtransport4 libmessagecomposer4 libmessagecore4 libmessagelist4 libmessageviewer4 libmhash2 libmicroblog4 libmpcdec6 libmsn0.3 libmtp-common libmtp-runtime libmtp9 libmuonprivate1 libmusicbrainz3-6 libmysqlclient16 libmythes-1.2-0 libneon27-gnutls libnepomuk4 libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0 libokularcore1 libphonon4 libplasma-geolocation-interface4 libplasma3 libplasmaclock4abi2 libplasmagenericshell4 libpolkit-qt-1-1 libpoppler-qt4-3 libprison0 libprocesscore4abi1 libprocessui4a libpth20 libqalculate5 libqapt-runtime libqapt1 libqca2 libqca2-plugin-ossl libqgpgme1 libqimageblitz4 libqjson0 libqrencode3 libqt4-dbus libqt4-declarative libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-svg libqt4-test libqt4-xml libqt4-xmlpatterns libqtassistantclient4 libqtcore4 libqtglib-2.0-0 libqtgstreamer-0.10-0 libqtgui4 libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql libqtscript4-uitools libqtscript4-xml libqtwebkit4 libraptor2-0 librasqal3 librdf0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-emailmerge libreoffice-impress libreoffice-kde libreoffice-math libreoffice-style-human libreoffice-style-oxygen libreoffice-writer libsolid4 libsolidcontrol4abi2 libsolidcontrolifaces4abi2 libsoprano4 libssh-4 libstlport4.6ldbl libstreamanalyzer0 libstreams0 libsyndication4 libtag-extras1 libtaskmanager4abi2 libtemplateparser4 libtextcat-data libtextcat0 libthreadweaver4 libvirtodbc0 libweather-ion6 libxml2-utils libyajl1 libzip1 muon muon-installer muon-notifier muon-updater mysql-client-core-5.1 mysql-common mysql-server-core-5.1 ntrack-module-libnl-0 obexd-client odbcinst odbcinst1debian2 okular okular-extra-backends oxygen-cursor-theme oxygen-icon-theme oxygen-icon-theme-complete partitionmanager phonon phonon-backend-gstreamer pinentry-gtk2 pinentry-qt4 plasma-dataengines-addons plasma-dataengines-workspace plasma-desktop plasma-netbook plasma-scriptengine-javascript plasma-scriptengine-python plasma-widget-facebook plasma-widget-folderview plasma-widget-kimpanel plasma-widget-kimpanel-backend-ibus plasma-widget-menubar plasma-widget-message-indicator plasma-widget-networkmanagement plasma-widgets-addons plasma-widgets-workspace plymouth-theme-kubuntu-logo plymouth-theme-kubuntu-text printer-applet pulseaudio-module-bluetooth python-kde4 python-pyudev python-qt4 python-qt4-dbus python-sip python-uno qapt-batch qapt-deb-installer qdbus quassel quassel-data rekonq shared-desktop-ontologies software-properties-kde soprano-daemon system-config-printer-kde systemsettings uno-libs3 update-manager-kde ure usb-creator-kde userconfig virtuoso-minimal virtuoso-opensource-6.1-bin virtuoso-opensource-6.1-common wodim xfonts-mathml

From Lubuntu Quantal:

sudo apt-get remove ace-of-penguins audacious audacious-plugins chromium-browser chromium-browser-l10n chromium-codecs-ffmpeg esound-common galculator gdebi gdebi-core giblib1 gir1.2-gnomebluetooth-1.0 gnome-bluetooth gnome-disk-utility gnome-mplayer gnome-user-share gpicview guvcview gvfs-backends hardinfo libarchive1 libaudclient2 libaudcore1 libaudio2 libaudiofile0 libavcodec53 libavformat53 libavutil51 libbinio1ldbl libcddb2 libcdio-cdda0 libcdio-paranoia0 libcdio10 libcompfaceg1 libcue1 libdca0 libdirectfb-1.2-9 libdiscid0 libdvdnav4 libdvdread4 libenca0 libesd0 libfaad2 libfluidsynth1 libfm-data libfm-gtk-data libfm-gtk1 libfm1 libgdu-gtk0 libgif4 libgpgme11 libgpod-common libgpod4 libgringotts2 libgsm1 libimlib2 liblircclient0 libmcrypt4 libmcs1 libmenu-cache1 libmhash2 libmms0 libmowgli2 libmtp-common libmtp-runtime libmtp9 libmusicbrainz3-6 libneon27-gnutls libobrender27 libobt0 libonig2 libopenal1 libopts25 libpisock9 libpostproc52 libpth20 libresid-builder0c2a libschroedinger-1.0-0 libsdl1.2debian libsdl1.2debian-alsa libsidplay2 libsvga1 libswscale2 libtar0 libts-0.0-0 libuniconf4.6 libunique-3.0-0 libva1 libvdpau1 libvpx0 libwebcam0 libwvstreams4.6-base libwvstreams4.6-extras libxvidcore4 lm-sensors lubuntu-artwork lubuntu-core lubuntu-default-settings lubuntu-desktop lubuntu-icon-theme lxappearance lxappearance-obconf lxde-common lxde-core lxdm lxinput lxkeymap lxlauncher lxmenu-data lxpanel lxpanel-indicator-applet-plugin lxrandr lxsession lxsession-edit lxshortcut lxtask lxterminal mplayer mtpaint ntp obconf obexd-client openbox openbox-themes osmo pcmanfm plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text python-support scrot sylpheed sylpheed-doc sylpheed-i18n sylpheed-plugins transmission tsconf uvcdynctrl uvcdynctrl-data wvdial xfonts-100dpi xpad && sudo apt-get install xubuntu-desktop

It suggests to do sudo apt-get install xubuntu-desktop which you have already done. How to convert Ubuntu to Xubuntu talks about the changes you will get so you must edit the command and see what you may need.


How to change default user in WSL Ubuntu bash on Windows 10

Now that LxRun.exe is deprecated, if you install Ubuntu from the Windows store the command you will need is

ubuntu config --default-user <username>

Restart LxssManager service

sc stop LxssManager
sc start LxssManager