Why is OpenJDK 10 packaged as openjdk-11-*?

This is because those packages will become OpenJDK 11 when that is released. See this mailing list post:

  On behalf of the Ubuntu Foundations Team, I am requesting an SRU
  exception for OpenJDK. Our plan is to release OpenJDK 10 as the
  default JRE/JDK 1 for Bionic, and then move the default JRE/JDK in
  main to OpenJDK 11 in September/October 2018 as an SRU.

  = Proposed Plan =

  Bionic will be released with OpenJDK 10 as the default JRE/JDK and
  OpenJDK 11 will replace it once it reaches GA.

  ...

  If we are going to switch to OpenJDK 11 in bionic once released, we
  want to avoid OpenJDK 8 as the default JRE/JDK in Bionic at release
  time because any additional interface delta that exists between 8 and
  11 not only exposes the archive to breakage, it also exposes external
  consumers of the JDK to breakage.  In comparison, the interface delta
  between OpenJDK 10 and OpenJDK 11 is expected to be fairly small,
  especially in comparison with the delta between OpenJDK 8 and OpenJDK
  9 that we already know is large.  We should therefore release with
  OpenJDK 10 as the default JDK in 18.04, transitioning to OpenJDK 11
  when it is released.

That's also why the source package of openjdk-11-* is actually called openjdk-lts.

A bug report has been filed - please subscribe to it (but don't comment unless you have new information to add, which is unlikely). An Ubuntu dev, Jeremy Bicha, has responded:

  The intent is to upgrade openjdk-11 to 11 in Ubuntu 18.04 LTS. That's
  why it was named that way. It is a major change and will take some
  time to prepare. There is no need to ask for it to be done since it
  will be done.

  Ubuntu 18.04 LTS was released several months before OpenJDK 11 was
  released so it wasn't possible to provide OpenJDK 11 before Ubuntu
  18.04 LTS was released.

  https://lists.ubuntu.com/archives/ubuntu-release/2018-March/004364.html

  Sorry for the inconvenience.

  2018-11-24: Please don't ask for an ETA. That sends out an email to everyone
  subscribed to this bug and does not help fix the bug.

  This bug is being worked on. openjdk 11.0.1 was updated in 18.10 and
  there was a security update that needed to be handled quickly in 18.04
  LTS. 11.0.1 will come to 18.04 LTS when it's ready but it is a major
  change that needs careful coordination.

  2019-02-26: This bug is already being handled in bug 1814133 so I'm marking it a duplicate. Further discussion should happen on that bug instead of here.

A new bug report has been opened for tracking all changes that need to be made, and there are a lot of them - a rough count of 140. Excerpts from the bug report:

  This transition is a security update of openjdk-lts from openjdk-10 to
  openjdk-11. This introduces runtime and FTBFS issues which requires
  backports of multiple packages into the security pocket as well.

  The packages are being build on PPAs under the
  https://launchpad.net/~openjdk-11-transition team. The PPAs depend
  solely on the security pocket and are separated in stages.

  The agreed process among foundations and the security team is that
  packages in the PPAs will be binary copied into bionic-proposed,
  checked for migration issues, and - no issues pending - copied into
  bionic-security.

  [...]

  A few packages might also need to be updated in Cosmic, but as an
  exception that will be done after the Bionic transition is worked out.

And another Ubuntu dev, Tiago Stürmer Daitx noted:

  [We] are planning to update java apps that are affected by this
  transition.

  To be more specific, any package that fails to run correctly with
  openjdk-11 will be investigated and is a candidate for a update. The
  update does not necessarily imply we will use the latest version: we
  might simply apply or backport changes that allow them to work under
  openjdk-11.

Still no ETA at present. Quite a few packages have been updated and added to the various PPAs maintained by the transition team, so if you wish to help out with testing, do check them out.

Update 17 April 2019:

It seems that fix has been released. Now apt show openjdk-11-jdk shows:

Package: openjdk-11-jdk
Version: 11.0.2+9-3ubuntu1~18.04.3

And the output of java -version is:

openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)


At the interface which have "low graphics mode", press Ctrl+Alt+F1. After login, input:

sudo service lightdm restart

and it will go in to x window.  Input:

sudo apt-get install gdm

and choose gdm later. This method is using gdm to replace lightdm. Reboot.


Is there a shortcut to minimize just the selected window in Ubuntu?

To hide the current window you can use Super+ H. Alternatively, Alt+Space, then Enter. If you’ve used keyboard shortcuts in Windows since the mid-90s, that second one will be muscle memory


Recursively change owner of a directory by that directory's name

Working script
Assuming that www-data is the correct group for your web server
Enter the following with your favourite editor in chown_www.sh
#!/bin/bash

for directory in `find /var/www/html/ -mindepth 1 -maxdepth 1 -type d`
do

    user=$(basename $directory)
    chown -R $user:www-data $directory
done

make it executable
chmod +x /path/to/script/chown_www.sh

and execute as root or via sudo
sudo /path/to/script/chown_www.sh

Disclaimer: This has no error-check to see if the directory names are viable users (and/or clean names).

Explanation
The find with a min/max depth of 1 will only find directories that are directly located under /var/www/html - which is what you want.
-type d in case there are some files in /html.
Then we get the directory's name with basename and do the recursive chown, like you wanted.

Disclaimer: This is inspired by user muclux, but my edit was rejected


grub and grub2 seems to run sequentially at boot time

Method A

I don't know if this will solve your problem, but you may give it what it wants. First of all, see what locale files you have on your system:

cd /
locate grub.mo

My output looks like this:

/usr/share/locale-langpack/en_AU/LC_MESSAGES/grub.mo
/usr/share/locale-langpack/en_CA/LC_MESSAGES/grub.mo
/usr/share/locale-langpack/en_GB/LC_MESSAGES/grub.mo
/usr/share/locale-langpack/ro/LC_MESSAGES/grub.mo

Basically, get one of these files (the one you're interested in), compress it to gz and copy it to boot folder of GRUB.

sudo cp /usr/share/locale-langpack/en_GB/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo

Now, according to this claim, GRUB looks first for mo files and if there is none, looks for gzipped one. So it should be enough to fix your problem. Yet to be completely sure, do:

gzip /boot/grub/locale/en.mo

And definitely you don't have both Grub and Grub2 installed. That is just an error message telling you that Grub is missing a localization file.

Method B

Try reinstalling Grub from the running operating system. There is no need for booting a live medium.

sudo apt-get install grub-pc-bin
sudo grub-install /dev/sda
sudo update-grub

This will work for a default Grub MBR installation only!


What does "[ OK ] Reached target Network is Online." message on startup mean?

The message in syslog, systemd[1]: Reached target Network is Online is related to systemd. It simply means that the networking stack is up, that networking devices have been discovered and, if possible, a driver has been associated and that, again, if possible, an IP address assigned.

This does not indicate that the system is connected to the internet. That depends on, among other things, the state of the wireless switch, ethernet cable, whether networking is enabled in Network Manager, etc.


How to download a youtube playlist with numbered prefix via youtube-dl?

The best solution I found is:

youtube-dl -o "%(playlist_index)s-%(title)s.%(ext)s" <playlist_link>


Is configuration of AMDGPU-pro on my laptop correct?

The output you pasted seems to suggest amdgpu is not loaded, and you have no DRI available. It seems also that previously you were using the radeon driver, not amdgpu. It seems you need to uninstall amdgpu-pro, as your graphics chip is not supported by it, being too old, and you must use the radeon drivers instead.

The amdgpu-pro installation appears to have blacklisted the radeon driver, which is required for your card.


How to format text within the Thunderbird Conversations view?

I'm the author. Unfortunately, the inline reply feature of Thunderbird Conversations only provides support for a plaintext reply, not an HTML one. This would require significantly more work, for which I lack the time and the motivation.

Thanks,

jonathan


Run the following commands to install the missing file:

sudo apt-get update
sudo apt-get install --reinstall apache2-bin


read only problem with usb drive and data loss?

I'm not an expert but the problem seems to come from the 1/1/1970 date for .

You can resolve it saving file from firefox as indicated here: http://forums.linuxmint.com/viewtopic.php?f=47&t=141529. The date will be updated and the problem will be gone after remounting the USB stick.


Why dropbox is reading 3GB of data every 20 minutes?

I found the solution on this dropbox forum question, linking to this dropbox help page.

The problem for dropbox was related to file permissions, some files were not writable by the user using dropbox, and was fixed by doing this :

sudo chown "$USER" "$HOME"
sudo chown -R "$USER" ~/Dropbox ~/.dropbox
sudo chattr -R -i ~/Dropbox
sudo chmod -R u+rw ~/Dropbox ~/.dropbox

It seems that dropbox stops to use the inotify infrastructure once it founds one file with incorrect permissions !


How to change boot order in grub2 to include bootable USB?

Can I include the USB in the boot menu in GRUB2?

Yes, it is possible. You have to edit the /etc/grub.d/40_custom file and add the following entry. So, open the 40_custom file by:

sudo nano /etc/grub.d/40_custom

and add the following entry right after the last line.

menuentry "Windows-USB" {
        insmod chain
        insmod ntfs
        set root='hd1'
        chainloader +1
}

Here. hd1 is the USB containing bootable media. It can be different for you, so you have to get this number right or this will not work.

Save and close. Then run:

sudo update-grub

Now, when you restart your computer you'll see an entry named Windows-USB.


Unable to Write to Mount Applied by fstab

It seems I've figured it out. It seems that I wasn't unmounting the previous mounts before running

mount -a

I've added noperm, file_mode=0777, dir_mode=0777 and UID=your username to the mount. The UID will change ownership of the folder, and file / dir mode changes the permissions.


This is not the answer, but it lets me show you a picture of what should work when booting from a Live USB and reinstalling Grub.

The nicely laid out instructions from 'How to Ubuntu' on how to repair Grub with a live USB (http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd) are unfortunately incorrect if using an EFI system. Adding one extra line lets it work, but it took a lot of chasing down other possibilities before realising this.

As an extra bonus, it also didn't actually work for you even with the line added :(

Here's my Live USB grub fixing that did work:

In this case, the Ubuntu installation was on sda7 (for you it was sda5) and the EFI partition was on sda2 (for you it was sda1). Everything else would be the same.

(incidentally, the 'grub-probe: error ' is for sdb1 which is the Live USB so can be ignored)

Why it's throwing up errors for you, I unfortunately don't know. The main reason for suggesting this was just a quick check to make sure that boot-repair had done it's job correctly and then we could look at other reasons for why you were getting the black screen.

I've used the same instructions before and they worked fine, but it must have been for a machine without UEFI.

I assumed it wasn't working firstly because the Live USB wasn't in UEFI mode, so might not have permission to write to the EFI partition, which in turn meant finding out that the Asus 'One Time Boot Menu' was accessed by pressing ESC on bootup and that they don't have Legacy Boot Options and UEFI Boot Options listed separately (which is what I've seen on a Dell laptop & an HP laptop) and it seems you need to choose 'Legacy USB support' to be disabled to ensure that it's booting in UEFI mode for your laptop (and I assume for other Asus machines as well).

Unfortunately we ended up down a rabbit hole of other possibilities before I realised the How To Ubuntu instructions are not taking an EFI boot partition into account.

If the now adjusted instructions do work, the main thing it helps with is to confirm that Grub is installed correctly on your machine.

It's a bit disconcerting that it's throwing up errors when trying to install Grub, but it might be best to just trust that boot-repair would give you errors if it hadn't been able to do it's job.

So use boot-repair as you did before, assume that Grub is fine and either troubleshoot along the lines of brndn2k's suggestion of looking here:
My computer boots to a black screen, what options do I have to fix it?
or try reinstalling Ubuntu again.

I've distracted you enough with this line of enquiry :)

Bon chance!


The development of a Mac Ubuntu installer is currently blocked by the lack of journalling write support in the HFS+ filesystem driver.

As Mubi obviously needs to write to the Mac filesystem, and most Macs come with HFS+ journalling turned on, this functionality needs to be present in the Linux kernel before development work on Mubi can begin in earnest.


Can an Intel Wireless 7260 work as Access Point?

OK, it is actually possible, using hostapd (and dnsmasq).

I've used a mix of the following links:

https://arsprogramming.wordpress.com/2014/01/15/wi-fi-hotspot-on-ubuntu-13-10/
https://nims11.wordpress.com/2013/05/22/using-hostapd-with-dnsmasq-to-create-virtual-wifi-access-point-in-linux/


If I understand correctly, you are using Ubuntu as your main distro and trying to use WinXP on a virtual machine so you can use Vagrant the way your used to, or its not available on Ubuntu (not familiar with it).

Sounds to me you forgot to set your networking to Gateway in the Virtual Machine. It's probably currently set to NAT so your Virtual Machine has no networking path Ubuntu.

Edit: Based on comments, it was discovered that the two computers have different ranges. Try with both computers in same ip range.


You need to download the HPLIP package for this (HP Linux Imaging and Printing). This is a proprietary package, and as such is not included in the Ubuntu OS. You can download it here. It supports thousands of HP printer models, including the p1108. After downloading the file, make it executable (right-click in the File manager) and then run it.


Automatically change resolution when connecting an external monitor, nvidia driver

Have you heard of disper ( http://willem.engen.nl/projects/disper/ ) ?

Also has a PPA under http://launchpad.net/~disper-dev/+archive/ppa


See this bug report. There was a patch added to tpm-tools that broke tpm_nvinfo. Recompiling from source with the recommended patch changes worked for me on RHEL7.


How configure apache (vhost) for Server-Hostname

According to Apache documentation:

  If no ServerName is specified, then the server attempts to deduce the
  hostname by performing a reverse lookup on the IP address.

Reverse lookup: Look up an IP address to find the domain name for the IP address.

I guess that this is why example.de is served by your default VirtualHost, so try to add ServerName domain-i-got-but-not-active.de, and if this VirtualHost is the first defined:

  it has the highest priority and can be seen as the default or primary
  server. That means that if a request is received that does not match
  one of the specified ServerName directives, it will be served by this
  first VirtualHost.


Is it possible to create an ad-hoc wi-fi connection?

I have set up an ad hoc wireless connection between a xp machine and an ubuntu. Here is what I did:

On ubuntu in "edit network connections -> wireless", I clicked on "add" and I gave network name "ubuntu"  and selected "ad-hoc" connection and gave a static ip and saved it. I restarted wireless by right clicking network indicator in the system tray and ticking off "wireless" and ticking it on again.
On xp first you need to give a static ip for wireless LAN. I turned on wireless in xp and it detected the "ubuntu" network. If it doesn't work, create a network of the same name "ubuntu" on xp, and try if it works.
It takes a minute or two on xp to connect to ubuntu after the detection or selection of "ubuntu" network. I have connected multiple pc having both ubuntu and xp simultaniously.
But even I am facing an issue. Xp won't allow ubuntu pc to access any windows services, even I couldn't ping xp from an ubuntu machine. But ubuntu will allow access to all its services for xp machines.


Note:You can't move,resize or delete a mounted partition using gparted.You installed ubuntu on a single disk,for resize that you must bootup gparted live-disk or ubuntu-live disk.If you had ubuntu live-disk,follow the below steps,

Boot ubuntu live-disk,click on try ubuntu,then connect to the internet and openup the terminal.And run the below commands to install gparted

sudo apt-get update
sudo apt-get install gparted && sudo gparted

Right-click on the partition(where ubuntu is installed) then select the option Resize/Move.Now reduce the size of how much space did you want for another Os.
After resizing,an unallocated space was created just below to the Ubuntu partition.
Now right-click on the unallocated space and click on the New option.From that Create ntfs partition for windows or ext4 partition for any linux distros.


Run the same browser on two different desktop instances?

This might not really be the answer that you are looking for, but since I can't comment (weird restrictions :| ), here goes:

A solution to your problem could be that you sync your userdata between the two browsers. I know that at least Opera (Link), Firefox and Chrome (both Sync) offer it. You connect your user data to an email adress and it is synced automatically. This also works across devices (In Chrome it's located at Preferences -> Personal Stuff -> Set up sync)


Why does my fan speed go to maximum when changing to intel in nvidia prime?

I've solved my own problem by trial and error.

I believe this is a matter of having the right nvidia driver and kernel combination.

I currently have the following nvidia drivers and ubuntu kernel:

4.10.0-041000-generic
nvidia driver 375.39

What I did was manually install every stable kernel version from http://kernel.ubuntu.com/~kernel-ppa/mainline/ that was higher than the standard version. For every kernel version that still had the problem I tried every available nvidia driver in the "additional drivers" dialog, note that I added the ppa:graphics-drivers/ppa so at the time I could choose between 364, 371, 375.


"No such file or directory" when trying to build ecolab

The immediate issue appears to be that the functiondb.sh script uses bash features, however the Makefile that invokes it does so explicitly using sh (and /bin/sh is a symlink to dash in Ubuntu). Specifically, the ++ postfix operator isn't supported, so counters aren't incrementing and the script gets stuck in a while loop.

You can either temporarily symlink /bin/sh to bash, or modify the /classdesc/Makefile, replacing

functiondb.h: functiondb.sh
    -rm $@
    sh $< >$@

by

functiondb.h: functiondb.sh
    -rm $@
    bash $< >$@


Start job for Raise network interfaces message

I've got that error while trying to start ubuntu server on virtual box with an adapter in "internal network" mode.
After some investigations, I found that in that mode there is no default DHCP server available for the virtual machine.
So if you wait till the timeout and run:

ifconfig -a

You will probably see that you have network interface without assigned IP address.


Add yourself to the group that /dev/video0 belongs too.
The group will be video so do a
sudo usermod -a -G video $USER

The command groups should show you have video added to your groups.
That will give you access to the device.


You need to specify what directory's you want to backup. Make sure you back up your home directory and etc. This will hopefully cover all your config files and then personal files and documents in your home.

In BackupYourSystem on help.ubuntu.com you find the Ubuntu backup page. It contains lots of information on backups and the different software packages.

  Did I just wasted my entire work on misunderstanding on what Backup really is?

No you are correct - thats what a backup will do restore files. But in Deja Dup, the default backup suite, you need to make sure you select the directories/partition that you would like to backup. If you didn’t backup the desktop then you will have lost all of those files.


Ubuntu on Raspberry Pi 4 Internet/Date Issues

I just got mine to work by changing the ethernet to NOT optional in the netplan. This is a context diff of the simple change that got the Ethernet to work for me on my RSP4...
ubuntu@ubuntu: diff -c /etc/netplan/50-cloud-init.yaml ./50-cloud-init.yaml
*** /etc/netplan/50-cloud-init.yaml     2020-11-09 21:43:47.392519398 +0000
--- ./50-cloud-init.yaml        2020-04-01 17:23:49.227999995 +0000
***************
*** 7,11 ****
      ethernets:
          eth0:
              dhcp4: true
!             optional: false
      version: 2
--- 7,11 ----
      ethernets:
          eth0:
              dhcp4: true
!             optional: true
      version: 2
ubuntu@ubuntu:

Before I did this, the network would not come up.
Chris Shaker


Restoring MULTIPLE MySQL databases from one file at the command line?

Why don't you concat all the files into one single file and import/restore using

mysql -u username -p < dump.sql

Create one file using

mysqldump -u username -p --all-databases > dump.sql


Ping your router. If that works, try entering a dns manually. Click top right on networking icon -> Edit connections -> Wireless connection name -> click on IPv4 Settings -> (additional DNS Servers) add your router's IP or DNS in your country). Reboot pc (sometimes only restarting networking doesn't help)


Command to see if a script was initiated

You can put a line like the following near the begin of the script

echo "Starting $0 at time $(date)" >>/var/log/mylog

then look at the content of the log file.


Ubuntu will not create partitions .
-c/f free installation space is being stated as 78% of 296.13 GB available.

If Windows 10-- chose (click on)  C  partition -right click and "Shrink Volume..."
Set the amount of space to shink -eg 30GB -windows will then call this new space unallocated--and possibly name "D", "E" or similar .

Right click the new space --then FORMAT as NTFS--and now the partition .
is ready to install Ubuntu.

Windows will create the dual boot automatically.
All Window systems since Win 7 have this procedure--to replace that only third party software would create dual boot. cheer.


apt-get install icecast2

Afterwards we must edit /etc/icecast2/icecast.xml. Most default values should work fine for now, but you should change the passwords in the ... section. The source-password is the password that Ices2 will later on use to connect to Icecast2; the admin-password is the password that the admin will use in Icecast2's web interface; we won't use the relay-password, but anyway you should change it.

vi /etc/icecast2/icecast.xml

[...]
    <authentication>
        <!-- Sources log in with username 'source' -->
        <source-password>password1</source-password>
        <!-- Relays log in username 'relay' -->
        <relay-password>password2</relay-password>

        <!-- Admin logs in with the username given below -->
        <admin-user>admin</admin-user>
        <admin-password>password3</admin-password>
    </authentication>
[...]

Afterwards edit /etc/default/icecast2 and set ENABLE to true:

vi /etc/default/icecast2

# Defaults for icecast2 initscript
# sourced by /etc/init.d/icecast2
# installed at /etc/default/icecast2 by the maintainer scripts

#
# This is a POSIX shell fragment
#

# Full path to the server configuration file
CONFIGFILE="/etc/icecast2/icecast.xml"

# Name or ID of the user and group the daemon should run under
USERID=icecast2
GROUPID=icecast

# Edit /etc/icecast2/icecast.xml and change at least the passwords.
# Change this to true when done to enable the init.d script
ENABLE=true

That's it already, we can now start the Icecast2 server:
/etc/init.d/icecast2 start

You can now direct your browser to http://:8000/ (replace 192.168.0.100 with your own IP address or FQDN) and browse through the web interface.

There is a couple more settings to change depending on your intended use. But that should get you started.


VPN won't connect in Ubuntu 15.10 with Cinnamon desktop

Maybe some of the following can help:

Reinstall following package:

sudo apt-get install network-manager-openvpn-gnome

PIA-Ubuntu OpenVPN

When in Cinnamon have you tried manually adding a OpenVPN connection or importing a saved VPN configuration from Network Connections?

To import a saved VPN configuration go into:

Network Connections. Click Add.
Select: Import a saved VPN configuration. Navigate to where the .opvn file is (usually /etc/openvpn).
If you can't find the .opvn files (or don't have them) on your system:
https://www.privateinternetaccess.com/openvpn/openvpn.zip
Gateway and CA cert may have entries filled in, along with other provider specific details in Advanced settings. Note "Connection name" (not Gateway) or change it to something that stands out for you e.g. "testLondon" if you picked a London gateway.
Enter your User Name and Password (you can choose to store it or ask every time) from PIA and save.
While connected to the internet select this new connection e.g. "testLondon" from your drop down menu, depending on your settings it may or may not ask for your VPN password.
An attempt to connect to your Gateway will be made and a un/successful notification should pop up.

After seeing your error log and trying the following, the Cinnamon GUI did seem a little glitchy but if it's not a username/password problem then I have no idea what it is.

So I finally found a friend with PIA and installed Ubuntu 15.10 with Cinnamon on a VM:

After a base Ubuntu 15.10 install, I installed Cinnamon using package:
cinnamon-desktop-environment
updated the entire system and rebooted into Cinnamon desktop then followed PIA-Ubuntu OpenVPN, after installing relevant packages it asks for username (or rather number).

When the script was finished I got the same GUI that you've posted. I then clicked the VPN Connections toggle switch to ON and then it immediately turns OFF (I expected this as I had no password for any VPN gateway, so there was no default VPN gateway to connect to).

I then selected "PIA-AU Melbourne" from the list and a "Authenticate VPN" dialog box pops up, I entered the password and a few seconds later got a system notification telling me that the VPN connection has been successfully made. A white dot appears in front of "PIA-AU Melbourne" in the GUI list. I checked the ip and yes it's Australian. I then checked PIA's site and yes it's a PIA ip. Success so far.

I wanted to log what was going on for the next connection so I clicked the VPN Connections toggle switch to OFF and ran sudo tail -f /var/log/syslog I clicked the VPN Connections toggle switch to ON and it connected to "PIA-AU Melbourne" straight away (no dialogue box as the password is now stored in the keyring). No problems in syslog.

With syslog still running I then selected a different gateway, "PIA-Brazil", the password dialogue box came up again but I selected cancel and got a similar error log as you did in syslog (). I selected "PIA-Brazil" again, input password and no problems again. So the only thing I can think of in your case is a username/password problem.

If the password dialogue box (probably the user agent) didn't pop up for you, after running the PIA Ubuntu script again, go to Network Setting from the GUI in your picture and select any PIA profile e.g. "PIA-AU Melbourne VPN" and go into its settings and check if your password is in there (your username and other settings should already be in there because of the PIA Ubuntu script). Then select that gateway from the GUI in the pic. Maybe try it out in a VM first


Error while trying to dual boot Windows 10 and Ubuntu 18.04

Try rebooting into your live cd, dvd, or usb and reinstall Ubuntu like this:

Upon booting, click “Install Ubuntu”
Go through the installation process until you get to where it asks you what type of installation type you would like to use. Select “Something Else” and find the one that says that it has Ubuntu 18.04 on it.
Select the Ubuntu 18.04 partition, and click the Change button. This will open a window. Make sure to set “Use as” to ext4 journaling file system. Set mount point as /. Click ok.
Make sure that the “Device for bootloader installation is set to your hard drive. Click “Install Now”. Continue the rest of the installation as normal.
Once the installation is done, reboot the system. This should bring up the Grub Menu. It should look something like this. GNU Grub Menu Make sure that both Ubuntu and Windows 10 are displayed. If they aren’t, we’ve got other problems. Boot into Ubuntu or Windows regularly.

NOTE: If this does not work, your ISO is most likely damaged or corrupted. Re-download the ISO from www.ubuntu.com and re-write it to the USB drive. Then re-do the process.


The title of the question is what the OP proposed solution to the problem is. The title could be changed to "How can I have Grub boot to the last used OS choice automatically?".

This should arguably be default grub behavior. For example, I might be using Windows for a week playing Mass Effect IV and never come into Ubuntu. Or I might be testing something in Ubuntu 14.04 with a specific Kernel and I don't like having to pick it every time over 50 reboots.

There is a link in various comments above to a Stack Exchange answer proposed as a duplicate question. We can reference an AskUbuntu Q&A too: How to get grub2 to remember last choice?

In summary edit /etc/default/grub, comment out one line and insert two lines below it:

#GRUB_DEFAULT=0 # Rather than first menu option, we'll default to last  OS.
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT=true

Then save the changes and run sudo update-grub.

Voila! Whilst working in Windows and automatic updates happen at 3 am the system reboots to Windows and applies Stage 3 of 3.

OP is proposing "Edit Grub from Windows?" in the title as a solution to the problem. However, after stating the reason why, it becomes clear the title should be changed to something like: "How do I ensure Windows automatic update reboots go to Windows instead of Ubuntu?".

If the question was "How do I reboot to the last OS choice?" it's an obvious duplicate of the link. The proposed new title (or something shorter) has merit because others may search on the same problem. I know I've had the Windows update-reboot-update problem before and never would have imagined to search on the link here.

PS You can edit Grub from Windows but, why would you want to?


open a terminal and type:

locate /var/www

the output should look similar to this:

/var/www

/var/www/harvester_2014-09-26 06:15:41.015049.txt

/var/www/index.html

/var/www/index.html~

/var/www/post.php

choose you favorite file-manager and navigate to the directory.

Or type this in your terminal:

gksudo nautilus /var/www

[gksudo][file-manager][directory]

Or even better, use a text-editor and edit the file right from the terminal like so:

sudo nano /var/www/post.php

or

gksudo gedit gedit /var/www/post.php


Your Lubuntu system boots into recovery mode.

Does it boot into 'Try Lubuntu without installing' alias 'Live Only' without persistence? If that is the case, I think the partition for persistence and its file system is damaged. You can try to repair it, when not booted with persistence,

sudo e2fsck -f /dev/sdx5

where x is the drive letter, found via for example

sudo lsblk -f`

Otherwise, if it does not help or work to repair the file system, I suggest that you

recover the personal files (documents, pictures etc) that are important
keep the directory

/media/lubuntu/casper-rw/upper/home

but remove all other files and directories from

/media/lubuntu/casper-rw/upper

Your personal files and tweaks should be preserved, but you must reinstall the programs that you have installed.
or if necessary, remove all files and directories from the casper-rw partition and restart persistence by installing programs and tweaking the system.

The partition that stores persistent overlay data is easily damaged, particularly if you remove the pendrive before it is unmounted, so please use the backup and restore tools described at

mkusb/persistent#Backup_and_restore_of_persistent_overlay_data


Disk Utility reports slower initial spinup time via S.M.A.R.T.

These gui tools are neat and all but the only thing that really
matters is what the output of the short/extended run tests from the smart tests
say. To put it into perspective, a SATA disk from cold plug takes about
14-20 secs to become available, including spinup. I bet that parameter
measures the time it takes for the platter to reach a minimum speed so
spinup can start. Like you said, an additional 4ms slow down was detected,
that's not earth shattering.

Run the self-tests and see what they say.

sudo -s
apt-get install libatasmart-bin
sktest /dev/sdX short
watch -d 'skdump /dev/sdX | head -n 20'

When it's 100% just run skdump again without the stdout throttling.
Then do the same thing with the extended test when the short one finishes,
that one takes a while.

I'm not a huge fan of these gui tools, they don't have any heuristics
so all the user sees is "failure" with no context of severity.

For reference: Wikipedia S.M.A.R.T. entry

03      0x03    Spin-Up Time
Average time of spindle spin up (from zero RPM to fully operational [millisecs]).


How do I enable Alt + middle mouse button window resizing in Xubuntu?


Why do many GNOME application packages depend on `libunity9`?

In the case of Shotwell and Geary (and probably many other apps), libunity support is a compile-time option set when you run ./configure.  That way it's enabled when Ubuntu builds it, but other distros can leave it off if they want to.

Unfortunately that means Ubuntu derivatives that don't use libunity either have to rebuild the .deb without Unity support, or use the official Ubuntu-compiled package and accept that it requires an unnecessary package.

Keep in mind that libunity is not Unity.  For example, Elementary OS uses libunity for their own custom dock to display badges on top of the icons.

What any of this has to do with making Ubuntu "more and more like windows" is beyond me, particularly since Windows has no package management system.


Ubuntu 15.10 constant Ethernet network freezes/not responding

Found the problem recently.
My device was conflicting (had the same IP address) as another device on the same network.


Workaround:

logon to live session of Ubuntu.. (I have used Ubuntu 18.04 bootable USB)
mount your root partition with below command (change sda5 with your root partition number)
sudo mount /dev/sda5 /mnt
open the file /mnt/etc/default/keyboard with below command
sudo -H gedit /mnt/etc/default/keyboard
The content in this file should look like similar to below, even if its not just make the content same like below.

Here: us=English us, jp=japanese, ru=russian. you can remove "us" if you dont want

XKBLAYOUT=us,jp,ru
BACKSPACE=guess
XKBVARIANT=,

Save the file, Close.
unmount the partition /dev/sda5 with below command
sudo umount /mnt
reboot to see all the 3 languages at login screen..


Snap apps Not showing in Ubuntu software centre

You're probably missing the snap plugin. This can be fixed by re-installing it.

sudo apt install gnome-software-plugin-snap

It's worth noting that if you remove core components, you can re-instate everything with this one command:-

sudo apt install ubuntu-desktop^

This ensures that the 'task' named ubuntu-desktop gets installed, which pulls in all the things that may have been removed.


Upgrade from 13.04 to 13.10: “No new release found”

13.04 reached the end of its life January 27 2014
13.10 reached the end of its life July 17 2014

You need a new install.

https://wiki.ubuntu.com/Releases


First, I recommend you examine your disk to determine if you have a hybrid MBR. This is most easily spotted with gdisk:

$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.0

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

This example shows a legal GPT with a conventional protective MBR. If the MBR: line reads hybrid instead of protective, you've got a hybrid MBR.

If you've got a hybrid MBR, as I suspect you do, your disk is basically in a precariously-balanced state that might be causing at least some of your problems. Thus, you've got two choices of what to do. (You can do either of these things even if you've got a protective MBR, but in that case option #1 will be simpler.)

Option #1: EFI-mode booting

You can configure the system to boot in EFI mode, using rEFInd or another EFI-mode boot manager and boot loader of your choice. If you've got a hybrid MBR, your first step is to convert that to a protective MBR:

Launch gdisk on the disk, as in sudo gdisk /dev/sda.
Type p to view the partition table.
Type x to enter the experts' menu.
Type n to create a fresh protective MBR, wiping out the hybrid MBR.
Type p to view the partition table. Compare that to the earlier view. You shouldn't need to compare every character of output; the point is to spot accidents like accidentally trashing all your partitions with a typo before you commit your changes to disk.
Type w to save your changes.

With that done, you have to re-install rEFInd or restore it to bootability. You might be able to get this done by installing the rEFInd PPA or Debian package in the normal (Linux) way; however, Macs are a bit weird, so this might not work. I've even heard of Mac firmware being damaged by Linux tools, but I haven't heard substantiated cases of this in at least two years, so I think the relevant bugs have been fixed. If you try it this way, mount your EFI System Partition (ESP) at /boot/efi first.

Another way to install rEFInd is to boot an OS X emergency system (such as an OS X install disc), launch an OS X Terminal window (there's an option for that in the menu bar, once it appears), and run rEFInd's install.sh from that environment. This should work even without re-installing OS X, but I've never verified this.

Option #2: BIOS-mode booting

As a general rule, if you remove OS X from a Mac, it's generally easier to manage the OS(es) on that computer using the Mac's Compatibility Support Module (CSM), which enables BIOS-mode booting. To do this, you should convert the disk from GPT to MBR (full-on regular MBR, not hybrid MBR). This procedure is described here. You'll have to reboot after this conversion, but your Linux installation will no longer be bootable, so be prepared with an Ubuntu live image.

Once the disk is converted, you'll need to install a BIOS-mode boot loader. The simplest way to do this is probably to run Boot Repair. You must be careful, though, to run Boot Repair from a BIOS-mode boot of an emergency disc. You can verify a BIOS-mode boot by looking for a directory called /sys/firmware/efi; if it's present, you've booted in EFI mode, and if it's absent, you've booted in BIOS mode. If you boot your emergency system in EFI mode, try using the Option or Alt key when you reboot to boot the medium in another way. In an extreme case, prepare a USB flash drive emergency disk and remove the EFI directory tree from the FAT partition on that disk. This should render it unbootable in EFI mode.

As you're currently booting in EFI mode (at least as far as rEFInd), even if a bit strangely, converting to a strictly BIOS-mode boot carries some risk that you'll make matters worse. It should work, but in an (almost) worst-case scenario, you might have to try various repair utilities until something "clicks."


How can I get my Wacom tablet to use the mouse in relative (touchpad) mode?

The solution I applied was:

xsetwacom --set "Wacom Intuos S Pen stylus" Mode "Relative"

Wacom Intuos S Pen stylus is the device which can be listed by the command: xsetwacom --list devices


Can I respond to comments in Software Center as app developer?

There is no way to do that through the Ubuntu Software Center UI or through apps.ubuntu.com. However, you can use this workaround:

Submit a query to the reviews API for your app. It will look like the one below. Just enter this as URL to the browser and you'll get the data.

http://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/$LANG/ubuntu/$SERIES/$VERSION/$PACKAGE/

Note: for commercial apps, 'Ubuntu' is not the origin, as they are published in PPAs. Use the URL scheme below for them:

https://reviews.ubuntu.com/reviews/api/1.0/reviews/filter/any/any/any/any/$PACKAGE/

This will get you reviews for a package. Note that most fields here can be replaced with any. For example, here are reviews of Warsaw written for 11.10.
Once you've got the data on your browser, look for the reviewer_username value on the review you want to reply to. This will correspond to the Launchpad ID of the reviewer.
You can then go to https://launchpad.net/~$REVIEWER_USERNAME (substituting $REVIEWER_USERNAME by the right value) and contact the reviewer through their e-mail. If they've set their e-mail to private, you can use the Launchpad contact form to get in touch with them directly.

It might be a bit convoluted, but it should get you what you need.


Is TRIM enabled/supported for this eMMC?

TRIM does not work through USB, but usually, you get a message about "unsupported ioctl" when you run it on such a device (external USB disk enclosure).  Confirm that your mmcblk0 is really not on USB:

lsblk -o TRAN,SUBSYSTEMS,NAME,TYPE

My SD cards on mmcblk0 do not list a TRAN, but seem to appear under the USB branch since it follows a USB. However, adding the SUBSYSTEMS shows they are not on the USB. Probably there is not an issue with TRIM on your device if you get no errors or complaints. My output:

sata   block:scsi:pci         sdb       disk
       block:scsi:pci         sdb1      part
       block:scsi:pci         sdb2      part
       block:scsi:pci         sdb3      part
usb    block:scsi:usb:pci     sdc       disk
       block:scsi:usb:pci     sdc1      part
       block:mmc:mmc_host:pci mmcblk0   disk
       block:mmc:mmc_host:pci mmcblk0p1 part
       block:mmc:mmc_host:pci mmcblk0p2 part


ffplay thinks stream is 5.1(side) and not 5.1

You can use the channelmap filter:

ffmpeg -i input.flac -af "channelmap=channel_layout=5.1" output.flac

Or re-map channels upon playback if you want to avoid re-encoding:

ffplay -af "channelmap=channel_layout=5.1" input.flac
mpv --audio-channels=5.1 input.flac


How to PXE network boot Ubuntu Server 14.04 using NFS

I don't know if ISOs can be used directly for an NFS root. Here's how my setup is:

Ubuntu ISO mounted at /tftpboot/live/trusty
/tftpboot/live/trusty exported for NFS.
A pxelinux.cfg entry that looks like:

LABEL live
menu label Install ^Ubuntu Live
KERNEL live/trusty/casper/vmlinuz.efi
APPEND initrd=live/trusty/casper/initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=10.105.1.13:/tftpboot/live/trusty -- quiet splash

The NFS root here is the mountpoint specified earlier.

(Pretty much the same entry for Mint, with paths changed).


Whether you need swap space or not depends on the number and type of applications that you run.  I have a desktop system with 6 GB of RAM and no swap configured.  99.9% of the time that works fine for me.  Performance is good and I can run many concurrent applications.  However I can recall at least two times when my system slowed to the point where it became totally unresponsive due to excessive memory use.  In one of those cases I was able to bring up a console window and kill one of the big memory using tasks.  In another case I could not even do that and my only choice was to pull the plug on the system, losing everything that was in progress.

We don't know whether your usage patterns are like mine however, if I were doing it again, I would have configured some swap space.

In my case, 8 GB total would have been adequate.  Unless you are greatly strapped for disk space, I therefore recommend that you dedicate 4 GB for swap.  8 GB won't hurt you but is less important if you can use the disk space for more important things.


Printing a PDF on a thermal label printer from Ubuntu 19.10

The answer seems to be, don't use the Document Viewer supplied with Ubuntu but print from the Chrome PDF viewer.


Can't upgrade because of kernel dependencies

Try aptitude in either interactive mode ( sudo aptitude ) or non-interactive mode ( sudo aptitude -f install followed by sudo aptitude dist-upgrade ).


Assigning a script to a keystroke to toggle touchpad

This is late, but in case you're still struggling with this.
EDIT: If you're wondering why I couldn't put this as a comment on your original question, I don't have enough points (50 needed) :o

Try using the xev command in a terminal and then hit fn+f1.

If nothing shows up in your terminal then it means your combination is indeed not recognized. It's also possible that only the certain key you hit while holding fn shows up. (f1 in your case)

For example if I hold fn and press r I just get the same output I'd get if I weren't holding fn.

When the combination is possible the way to refer to that key starts with XF86 and then something added (for my touchpad toggle it is XF86TouchpadToggle for example), atleast this is true for my computer, I don't know if it could be different for you.

This is the output I get after combining fn+f9.

  KeyRelease event, serial 49, synthetic NO, window 0x3200001,

    root 0xcc, subw 0x0, time 29885150, (-1401,-268), root:(300,600),

    state 0x10, keycode 199 (keysym 0x1008ffa9, XF86TouchpadToggle), same_screen YES,

    XLookupString gives 0 bytes:

    XFilterEvent returns: False

The bold part is the word that you can use if you need it to add shortcuts.

Hope this helps, even if you've already fixed the problem. ;)


An error occurred, please run package manager

It seems that google-chrome-stable have broke your system for some reason. Try this:
Open your terminal window

Ctrl+Alt+T

Then right there type commands (after each command type enter and respond yes to questions)

sudo apt-get remove google-chrome-stable

Then update the system via

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

Let apt-get run and if there is any error post as comment here and I will help (or anyone available)

If the Commands fails you can try these ones:
Update Packages

sudo apt-get update

clean the downloaded packages (where there might be broken ones)

sudo apt-get clean

Remove unneeded packages (careful! If it might list something that is needed but its dependency or such have been removed and left it orphan)

sudo apt-get autoremove

Reconfigure all packages

sudo dpkg --configure -a

Fix broken packages

sudo apt-get install -f


Can I sync folders from a fat32 partition with UbuntuOne?

Your partition is likely mounted outside your home folder; Ubuntu One doesn't support syncing files that aren't in your home folder, as described at Why not sync folders outside home with Ubuntu One?. That answer also has some discussion of syncing from other partitions and why you should be wary of it, so if you decide to mount your FAT partition in your home folder in order to make it syncable, please read that answer first to discover why that's potentially not a good idea.


System goes into read-only mode after installing 17.04

Check the Intel SSD firmware by downloading the Intel® SSD Firmware Update Tool at https://downloadcenter.intel.com/download/26491/Intel-SSD-Firmware-Update-Tool?product=35125

And, if this is a Dell computer, search here on Ask Ubuntu for "dell ssd" and see the kernel parameter fix there. And although it refers to Samsung SSD's, read the accepted answer at EXT4-fs error after Ubuntu 17.04 upgrade


How do I delete a duplicate group using the group id?

There may be a more elegant answer, but you can always edit /etc/group manually. You'll need root privileges, then just remove the line that includes the 1001 gid. It'll look something like this:

dba:x:1001:


Moving HOME from command line

To avoid side effects while working in a graphical, environment we should perform all actions to move HOME from a terminal with Ctrl+Alt+F1.

Temporarily mount the new partition:

sudo mkdir /mnt/tmp
sudo mount /dev/sdb1 /mnt/tmp

assuming /sdb1 is the new partition for HOME

Copy HOME to the new location:

sudo rsync -avx /home/ /mnt/tmp

We then may mount the new partition as HOME with

sudo mount /dev/sdb1 /home

to make sure all data are present. Easiest is to delete the old /home at this point (you could do this later but then you will have to boot a live system to see the old home):

sudo umount /home  #unmount the new home first!
rm -rf /home/*  #deletes the old home

Make HOME permanent

We need to know the UUID of the new partition for the fstab entry seen from:

sudo blkid

Note or copy/paste the correct UUID to edit your fstab with

sudo nano /etc/fstab   #or any other editor

and add the following line at the end:

UUID=<noted number from above>    /home    ext4    defaults   0  2

Take care to choose the appropriate filesystem here, e.g. ext3 if ext3 formatted

Reboot

After a reboot, your /home resides on the new drive having plenty of space.


Stuck on "Removing conflicting operating system files" while upgrading from 14.04 to 15.04

This error was common while trying out 12.04.

It happened when you want to keep your old /home partition. Chances are you’ve come across the installation hanging on a process

  Removing conflicting operating system files

This seems to be a common bug and there’s a pretty easy work around.

Continue with the installation, without asking for the /home partition to be mounted. Only set the root partition (/) and your swap space.

Once the installation is complete, reboot and load it up.

Now, you’ll want to find the partition that /home is mounted under, this will likely be /dev/sdxN, where x is the drive letter and N is the partition number.

If you’re unsure, you can list the possible drives using the following command:

ls /dev/

And then you can mount each drive under in a temp directory and check what’s in there:

mkdir temp
mount /dev/sda1 temp

Once you know which partition you want, it’s time to edit your /etc/fstab/

sudo nano /etc/fstab

For those who don’t go digging around in the config files of Linux, this may look pretty daunting, but it's quite straightforward. All you really need to do is add a new line to mount your home partition. Here’s mine:

 /dev/sda5  /home/      ext4    defaults    0   2

The first part is the label of the partition that’s being used, next the mount point, /home. It is followed by the file system type, ext4 in this case. Finally there are the options default dump and pass values.

Once you’ve saved this file with the appended line, reboot your system. Now you should find your old home partition is mounted normally and you can get on with your install.

For further information visit this article.


Can't change color of GUI after upgrade to Lubuntu 14.04 i386

It is a new confirmed bug
https://bugs.launchpad.net/ubuntu/+source/lxsession/+bug/1316384

READ SOLUTION HERE


Cannot retrieve directory listing from vsftpd after enabling TLS

You didn't open the data connection ports in your firewall.

It may work without the encryption, if the firewall is smart and opens the ports automatically (link to my article) by inspecting the FTP control connection. But when the control connection is encrypted, the firewall cannot inspect it.

The data connection port range is set in your vsftpd.conf by pasv_max_port and pasv_min_port directives.


rEFInd can't find Lubuntu kernel on Lubuntu partition

Your problem is caused by Btrfs quirks. Because it supports subvolumes, it's often necessary to specify unusual options to get rEFInd to scan the right subdirectory and to get the kernel to recognize the right location as its root.

To get rEFInd to scan the kernels, you must add the following line to refind.conf:

also_scan_dirs +,@/boot

This assumes that you do not have a separate /boot partition. (My guess is it would be +,@ if you have such a partition, but I've never tried that.) If this doesn't work, you could open an EFI shell and use it to try to find your kernels, then add whatever their location is in a similar way. This might not be necessary in Arch because Arch and Ubuntu might set up their Btrfs volumes in different ways.

With that change in place, rEFInd should detect your kernels, but attempting to boot them will fail. This problem can be overcome by making changes to your /boot/refind_linux.conf file. In particular, you must add the following to the boot options:

rootflags=subvol=@

Be sure to add that in addition to the normal root={whatever} and any other kernel options you use.

Also, be sure that the EFI driver for Btrfs is present in the rEFInd drivers or drivers_x64 subdirectory. I realize you mentioned that drivers are installed, but it wasn't 100% clear that you meant the EFI driver, so I want to make that explicit.


how to increase the native screen resoltuion

You can use xrandr, though I recommend that you do not set your resolution to something higher than what your monitor can handle.

xrandr with no arguments returns information about your current displays:

mgodby@mg-ws1:~$ xrandr
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 16384 x 16384
DisplayPort-0 connected primary 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+
   1400x1050      74.9     59.9
   1280x1024      75.0     60.0
   1280x960       60.0
   1152x864       75.0
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     60.0
   720x400        70.1
DVI-0 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200      60.0*+
   1400x1050      74.9     59.9
   1280x1024      75.0     60.0
   1280x960       60.0
   1152x864       75.0
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     60.0
   720x400        70.1
mgodby@mg-ws1:~$

You can set your resolution like so (replace DVI-0 with your display name and 1400x1050 with your desired resolution):

xrandr -d DVI-0 -fb 1400x1050

A simple man xrandr will give you more information, and online searching will get you even more information yet.


You can try to set a custom resolution with wayland with some effort and mixed results.

You should probably start by filing a bug report, including your graphics card and monitor(s), against wayland

How do I report a bug?

https://help.ubuntu.com/community/ReportingBugs

Adding a Custom Resolution

xrandr will NOT work with Wayland !!

You can try to add a custom resolution using your modline similar to how you would with xrandr, but with a few additional steps.

First, I am not sure if this works with secure boot, so I advise you start by Disabling secure boot

From https://ask.fedoraproject.org/en/question/99867/how-to-add-a-custom-resolution-to-weyland-fedora-25/ and https://wiki.archlinux.org/index.php/Kernel_mode_setting#Forcing_modes_and_EDID

First, you'll need to clone edid-generator. Then you can pass it your modeline (with the same arguments you gave xrandr --newmode

From https://github.com/akatrevorjay/edid-generator

Install requirements

sudo apt install zsh edid-decode automake dos2unix

Download & extract

wget https://github.com/akatrevorjay/edid-generator/archive/master.zip
unzip master.zip
cd edid-generator-master

The binary is in ~/edid-generator-master as modeline2edid

Run modeline2edid with your modline, using the example in askfedora link,

./modeline2edid - <<< 'Modeline "3840x2160" 533.6 3840 3982 4027 4064 2160 2170 2180 2190 +hsync +vsync'
Searching for runaway unicorns in '/dev/stdin'
-- Found naughty unicorn: Modeline "3840x2160" 533.6 3840 3982 4027 4064 2160 2170 2180 2190 +hsync +vsync
Wrote 3840x2160.S

Modify that command to your desired resolution.

See How to set a custom resolution? for details (if needed)

Then generate the edid binary with make

make #output not posted

You will now have your new .bin , 3840x2160.bin in this case.

Now, from The Arch wiki enable your custom resoulution

sudo mkdir /usr/lib/firmware/edid
sudo cp 3840x2160.bin /usr/lib/firmware/edid

Change 3840x2160.bin to your custom resolution.

Note: There are already some custom .bin included, you can see them with ls *.bin I am not sure if you can use them without make or not.

Test by rebooting

When you reboot, edit the kernel line in grub, adding

drm_kms_helper.edid_firmware=edid/3840x2160.bin

See How do I add a kernel boot parameter? and https://wiki.ubuntu.com/Kernel/KernelBootParameters

Go down to the line starting with linux and add drm_kms_helper.edid_firmware=edid/3840x2160.bin at the end of the line after ro quiet splash

Assuming all that works, make it permanent

sudo nano /etc/default/grub

Add in the custom resolutoin

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm_kms_helper.edid_firmware=edid/3840x2160.bin"

Save your edit Ctrl+x

update grub

sudo update-grub

Reboot and enjoy your custom resolution


On the wubi install: sudo chmod -x /etc/grub.d/30_os-prober. Then sudo update-grub

I'm surprised that Windows XP appears on the Wubi grub menu - it's supposed to be suppressed (maybe that's only for Vista/7). But in any case, if you disable 30_os-prober it won't find any other operating systems and will suppress the grub menu by default.

Uninstalling Wubi will have no effect on your existing linux install (and it's grub setup).


Transmission will start running as soon as I log in

Remove it from the startup applications by searching "Startup Applications" in the Dash and unchecking Transmission.


How do I install Broadcom wireless adapter and how do I find out which Broadcom I have?

So to find the chip installed you need to open a terminal and place this command lspci. It will give you a long list of all devices your computer uses.

e.g.

    03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)

or try this:

sudo lshw -C network

With this information I googled and found immediately a Linux driver. I am not sure, if this also is available for your Chip, but give it a try.

When you already transform your notebook completely, why not try a normal reinstall? The installing routines will find themselves a fitting driver. I got problems back in the days of 2010 but recent Ubuntu releases are very good regarding the driver selection.

Someone else had a similar problem, of course ;-) Google is our friend.
Acer Aspire 5517 / Broadcom BCM4312


I can reassure you, I have been using Eclipse (currently Neon, various older versions before) on Ubuntu Studio 18.04 for a couple of years. I just tried it on my 20.04 laptop as well and it seems to run fine there too.
I recommend downloading the latest package from the Eclipse foundation website, and you can unpack and put it where you want. It is self-contained, no need for installation.
The only requirement is to have a proper Java JDK installed, but there are plenty of guides on how to do that.
That said, nothing prevents you from putting any other Ubuntu or Linux distribution on that PC either. But I personally prefer Ubuntu Studio in comparison to many other flavours, it is stable, efficient and overall nice to use. It's a good choice.


Try going to System Settings, then Displays.
In the Displays, see if the first and second monitors are showing up.
If both monitors are shown, maybe each of them need to be toggled on to be used.

Or maybe Ubuntu is extending the workspace and the expectation is to mirror the workspace. See if "Mirror displays" is checked off in the Displays interface.


You can create by hand a desktop shortcut for your applications installed with wine by following these steps:

Open your favourite text editor (gedit, nano, etc.), create a new file with the following content and save it to your Desktop with a name having extension .desktop

In this example, I've chosen to the name inetexplorer.desktop and saved it to my desktop.

[Desktop Entry]
Name=Internet Explorer
Exec=wine "C:\Program Files\Internet Explorer\iexplore.exe"
Icon=/path/to/iconfile
Type=Application
Categories=Wine;

Here, replace the value for Name field with that of the target application's name. (In the example, it's Internet Exolorer.) The value of Exec would be in the format:

wine "C:\path to the\executable file"

(for CLI application) like say

wineconsole "C:\path to the\executable file"

(for GUI applications)

wine "C:\Program Files\Internet Explorer\iexplore.exe"

(enclosing the path within double quotes ".. .." is important if the path contain blank spaces.)

Replace /path/to/iconfile (the value for Icon field) with the path of an icon file (like Icon=/home/username/Pictures/internet-explorer.png) or you can omit this line of entry.

On the left is a shortcut with icon specified, for the one on right, not.

Turn on the file's execute bit on.

Graphically you can do it by right clicking the .desktop file, and from the context menu select Properties. In the properties window, select Permission tab, look for a label Execute: and check-mark the check-box next to it so that the shortcut becomes executable.

selecting property from right-click context menu

setting execute permission

From terminal, you can do this with:

chmod +x $USER/Desktop/inetexplorer.desktop

where $USER/Desktop/inetexplorer.desktop should be the absolute path of the desktop shortcut that was created.


LXC dnsmasq port 53 in use but I would like to map to container

Thank you for the help! Bind forwarding to dnsmasq looks to me the ideal approach but unfortunately I couldn't find the dnsmasq configuration file and when using systemctl  status dnsmasq it says it isn't installed LOL... quite weird if you ask me.
I ended up with a less intrusive approach, which is listening just to my external_IP_address:53 instead of the whole 0.0.0.0:53 as I was trying before.


Problem was solved by resetting the settings I tweaked in the GNOME Tweaks Tool and then rebooting. I guess the problem was with the shell theme I was using.


From what I can tell, that is the sound of your speakers "activating". It happens on all of my computers, heck, it happens on ALL computers.

So, you can't really remove that sound, but I may be wrong.


Is it still possible to remove systemd from Ubuntu 16.04?

No, you can no longer usefully remove systemd, and for good reason. Many packages depend on it. Packages may ship configuration files that work with systemd and no other init system.

There is no practical, simple way to find out how much would break if you somehow managed to manually remove systemd and replace it with other init system. Even if you managed to do so, the system would not remain stable, as package updates and new installs would expect that systemd was present.

If you feel strongly that you don't want systemd in your system, I recommend using Linux distribution that is not based on it.


Ubuntu browsers trying to make me connect via a proxy that isn't available, how do I stop it wanting to connect to it?

To disable proxy open Preferences in Edit menu, go to Advanced -> Network tab -> Connection settings, then select No proxy.

The screenshots bellow are not in english but can help you figure out what to do:


Touchpad scrolling is not working in my laptop

I ran into the same problem but found a solution. Install this software by entering the following Synaptiks Touchpad command into the terminal.

sudo apt-get update

sudo apt-get install wget gdebi
wget http://http.us.debian.org/debian/pool/main/s/synaptiks/kde-config-touchpad_0.8.1-2_all.deb

sudo gdebi kde-config-touchpad_0.8.1-2_all.deb

Once the terminal is done doing its thing, type Synaptiks into the Unity dash and you'll see it come up, click on it and you can adjust the touchpad settings and enable vertical/horizontal scrolling. :)


Is there any way to feed output of a shell script to google sheet?

Yes there is, but there is a steep learning curve. You will need to do a lot of reading and experimenting first.

Access to Google Documents is possible through the use of the Google Sheets API. Basically, the steps are:

Create a Gmail address if you don't already have one.
Create a project and set its permissions. Google gives you an API key.
Download and install Google libraries.
Write a program in a suitable language (there are a few to choose from). Authentication is the hardest step. This is where you need the API key.
You can now create Google documents.

The documentation isn't perfect and you will need a lot of visits to Stackexchange sites to make it work. As such, this question is out of the scope of this site.

EDIT: what you want to achieve could possible be done much easier by writing your data as a CSV (character separated values) file, uploading that to Internet and sharing the link. Everyone with the link could then open the file with e.g. LibreOffice or Excel.


How do I enter a file or directory with special characters in its name?

That command is ambiguous because spaces are normally used to separate arguments. cd does not know what you want to do but you have two possibilities to solve it:

Either you "mask" the spaces (and all other special characters) so that the terminal knows you mean the space as a character and not as a separator:

cd Milano\,\ Torino\ \(Jan\)-Compressed

Or you put your folder name or path into quotes:

cd "Milano, Torino (Jan)-Compressed"


Copying a .bashrc file from one user's directory to another

As guiverc noticed simultaneously with me, the path you are using is inconsistent: or a / is missing at the beginning of the paths, or you are using a relative path that does not exist in your current working directory.
According to your feedback, the solution consists in putting a / at the beginning of the paths.


Ubuntu Clients Ignore DNS Server on local network

I believe it has something to do with NetworkManager controlling DNS and DHCP (via dnsmasq). If you can edit NetworkManager.conf in /etc/NetworkManager, and substitute dns=dnsmasq to dns=192.168.1.106, it should work. Restart the NetworkManager service before trying to use dig, of course.


What is the best practice to run applications having GUI written to KDE (like kdenlive, for example)?

Have a separate distro only for running some program is definitely a bad Idea
Since kdenlive is a kde app, It's interface is integrated to kde environment, So running kde apps from kde is good choice
Kde apps can the themed by by GTK themes, So kde apps can have almost native interface of gnome apps in unity


Which Firefox plugin should I choose for quicktime format?

Gecko Media Player (mplayer) is the best one.

referred by the following mozilla link


Stuck at 640x480 - Run Nouveau and nVidia graphic drivers side-by-side?

I came across two possible solutions that both worked for me

Increase the GRUB frame buffer resolution: For me the resolution in this case was limited to  1024×768 - with higher resolutions it would start lagging.
Buy a newer generation low-power graphics card (I ended up with a Nvidia Quadro P620 to accompany my Nvidia Tesla K80) that is compatible with the same version of the regular Nvidia graphics driver (e.g. 450.51.05 Data center driver -> supported products -> Nvidia Tesla K80 and 450.51 Display driver -> supported products -> Nvidia Quadro P620)


how to make wget not to download the same file more than once (with and without extension)

You need to add one option --html-extension so the command will be like so:

wget --no-clobber --html-extension --input text04.txt --directory-prefix =/path/file

This way the .html extension will be added automatically.

Please refer to this answer for more information.

Notice:

Unfortunately wget is not capable of adding the .html extension at the checking stage. So it will always re-download the page when --no-clobber and --html-extension options are specified if the remote page has no .html extension but it will at least update and overwrite the existing local copy of the page instead of writing another copy.

Best of luck


Update from 14.04.2 to 14.04.3 not happening

Yes. More info here:
https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes#LTS_Hardware_Enablement_Stack

Anyone wishing to opt into the hardware enablement stack for Trusty may do so by running following command which will install the linux-generic-lts-vivid and xserver-xorg-lts-vivid packages:

sudo apt-get install --install-recommends linux-generic-lts-vivid xserver-xorg-core-lts-vivid xserver-xorg-lts-vivid xserver-xorg-video-all-lts-vivid xserver-xorg-input-all-lts-vivid libwayland-egl1-mesa-lts-vivid

If you are on an amd64 system that boots with UEFI, you will also need the matching signed kernel:

sudo apt-get install linux-signed-generic-lts-vivid

For anyone interested, the specifics regarding the exact policies and procedures regarding the support, maintenance, and upgrade paths for the hardware enablement stack has been documented at the following location:
https://wiki.ubuntu.com/Kernel/LTSEnablementStack


Finally I can be able to install Ubuntu 18.10 UEFI, but the problem was that couple month ago, I had install Debian on UEFI and when but it didn't boot to the OS. I search through internet and I found that I have to enable secure boot and I have to let access shimx64.efi, but I didn't find it so instead I let access to grubx64.efi.This is the problem and this make me every time i want to install Ubuntu, gave me Errno 5 error.The solution is to delete all efi boot secure and disable secure boot.

This may solve your issue.


How do install Panda 3D on Precise or Quantal?

Panda3d works fine in Precise once installed, as you can test with this example game (screenshot below). Here's how I set it up, with reference also to the official site and the useful forums.

1) Create and open your own list file with

sudo nano /etc/apt/sources.list.d/panda3d.list

2) Now paste into the top of the file

deb http://archive.panda3d.org/ubuntu precise-dev main

Then save the file and exit nano.

3) Update your lists with sudo apt-get update.

4) Install panda-runtime with sudo apt-get install panda3d-runtime.

5) You should be able to install the sdk as well, either with sudo apt-get install panda3d1.8 or sudo apt-get install panda3d1.9 for the later version.

You will get a warning about the lack of authentication, as the site does not supply a gpg key, although it is run by Carnegie Melon University, so it is backed by an well-known institution.

5) Restart your browser and go to the online demos; if they do not work in the browser straightaway you may have to download the file and run it on your desktop. You might get better performance this way anyway.

Panda3d game in browser:


Slower connection with Broadcom BCM43142 on Ubuntu 16.04 on Asus

I also experienced the same problem for years in my hp laptop.The problem was not with the software but the hardware. My laptops wlan card was having only one black colored antenna usually other laptops has 2 antenna wires.My laptop was having a different form factored(smaller) wlan card. so what i did was simply disconnect the antenna from one slot of the card and placed in the antenna slot(has one wire but 2 slots on the card). please remove your laptops case and check if yours is also the same case.


Build OpenSSL from source to have TLS extension "heartbeat" (id=15) in Apache

Below is my script to prepare an environment to demonstrate CVE-2014-0160.

Here I cannot post download link because I do not have enough reputation. You need to download openssl-1.0.1e.tar.gz, httpd-2.4.25.tar.gz, apr-1.5.2.tar.gz, apr-util-1.5.4.tar.gz, pcre-8.40.tar.gz into your home directory.

#!/bin/sh

#Download installation files
cd ~
#Here I cannot post download link because I do not have enough reputation.
#You need to download openssl-1.0.1e.tar.gz, httpd-2.4.25.tar.gz, apr-1.5.2.tar.gz,
#apr-util-1.5.4.tar.gz, pcre-8.40.tar.gz into your home directory.

#Install compilers
yum -y groupinstall "Development Tools"

#Install pcre
cd ~
tar -zxvf pcre-8.40.tar.gz
cd pcre-8.40
./configure --prefix=/usr/local/pcre
make
make install

#Install openssl
cd ~
tar -zxvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config     --prefix=/opt/openssl-1.0.1e     --openssldir=/opt/openssl-1.0.1e -fPIC -DOPENSSL_PIC
make
make install_sw

#Install openssl
cd ~
tar -zxvf openssl-1.0.1e.tar.gz
cd openssl-1.0.1e
./config     --prefix=/opt/openssl-1.0.1e     --openssldir=/opt/openssl-1.0.1e -fPIC -DOPENSSL_PIC
make
make install_sw

#Install httpd (using just installed opensll)
cd ~
tar -zxvf httpd-2.4.25.tar.gz
cd httpd-2.4.25/srclib/
tar zxvf ../../apr-1.5.2.tar.gz
ln -s apr-1.5.2/ apr
tar zxvf ../../apr-util-1.5.4.tar.gz
ln -s apr-util-1.5.4/ apr-util
cd ~
cd httpd-2.4.25
./configure     --prefix=/opt/httpd     --with-included-apr     --enable-ssl     --with-ssl=/opt/openssl-1.0.1e --enable-ssl-staticlib-deps     --enable-mods-static=ssl --with-pcre=/usr/local/pcre
make
make install

#Add configuration to use HTTPS (port 443)
cd ~
sed -i '/^#.*Include conf\/extra\/httpd-ssl.conf/s/^#//' /opt/httpd/conf/httpd.conf
sed -i '/^#.*LoadModule socache_shmcb_module modules\/mod_socache_shmcb.so/s/^#//' /opt/httpd/conf/httpd.conf

cd ~
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /opt/httpd/conf/server.key -out /opt/httpd/conf/server.crt -subj "/C=JP/ST=/L=/O=/OU=/CN=192.168.122.137"

/opt/httpd/bin/apachectl start

iptables -F

#Start httpd on booting
chmod +x /etc/rc.d/rc.local
echo '/opt/httpd/bin/apachectl start' >> /etc/rc.local

#Remove downloaded files
cd ~
rm -rf ~/openssl-1.0.1*

rm -rf ~/httpd*

rm -rf ~/pcre*


From OP's comments:

I think I know what it is...the HDD is stuffed full. There's that warning box in the middle of the screen shot that I could not read initially but I think I got the gist of it now. It's telling me there's no more room on the drive. So I'll have to fix that first. Sorry to waste your time.


In emacs, having mouse over other frame cause Alt key to produce a  event

This issue is that Unity is adding signals to the alt key. The ostensible reason is to make it so that Unity can hide the menu and then reshow it with the Alt key. So there is a two step process to fix this:

In Settings | Appearance | Behavior, change "Menus visibility" to "Always displayed".

Disable Unity intercepting the key:
$ dconf write /org/compiz/profiles/unity/plugins/unityshell/show-menu-bar "'Disabled'"

[As an aside, I worked a bit on trying to solve this properly but I never got a response from the Unity team and I don't have enough time.]


Apache2 - Proxy or Redirect - What is "best practice"?

About mod_proxy and mod_alias

As Gumbo said on stackoverflow mod_redirect does not exist, Redirect is a keyword from mod_alias.

Redirection is used when the requested URL is somewhere else, and the browser itself will connect to the other server.

Proxying is used when the requested URL is somewhere else, but the server will do the connection. In this case the browser will even not be aware of that.

About your situation

Since you want to have access to have access to some applications from the outside of your local network, proxying is more appropriate, so you don't have to open and forward multiple ports from the outside.

Best practice

Don't use http without encryption. You don't want to send your password sent unencrypted over the internet. If are not familiar with SSL,TLS and certificates, you should have a look at Let's Encrypt.
Even when using https, enable some authentication, either in Apache, either in your proxied application (You don't want some stranger to delete your files or mess with your configuration).

Example

For accessing your Plex Media Server myaddress.example.net/pms, you can add the following lines to sites-enabled/default-ssl.conf:

ProxyPass         /pms  http://localhost:34597
ProxyPassReverse  /pms  http://localhost:34597


How do I find out which touchpad driver is being used?

Run

xinput list-props 11

and you will see which userspace driver is used (libinput, or synaptics).

11 is the touchpad id from xinput list.

It was not quite clear which driver are you asking about: kernel or userspace.


Nautilus - no preference .. on ubuntu GNOME 14.10

Preferences are actually under a menu at the top of the gnome window, not attached to the nautilus  window.  Please see my attached screenshot for an example


USB Ports In Wrong Mode, How To Use usbmodeswitch?

There is a manpage for usb_modeswitch I would suggest studying that, it looks helpful. If I recall correctly usb_modeswitch is intended for switching the attached USB device, not the port itself. The manpage confirms this. USB by default should work universally and shouldn't keep a specific state when a device is unplugged on a specific port.

I think the issue you are experiencing is more related to the notebook itself and you are on the wrong track, that's why it is so hard to find a good answer. I have heard about dead USB ports on some HP notebooks from colleagues at work, the exact model number and may be product number might help. Something like: g6-1101sg (LS281EA)

If the USB ports are not dead due to some firmware misbehavior you mouse should work as well as adb. What Android Phone are you using? Does is really use UMS or MTP/PTP like the Galaxy Nexus? If it uses UMS, it should work just fine, just like plugging a dedicated USB storage stick in and out, no mode switch required. MTP is different because most the software out there is in an immature state.


I removed gnome-screensaver and ran apt install cinnamon* because some parts of cinnamon had not been installed, and the problem was solved.


First off, did you try using command line AND Synaptic AND Software center (if it exists under Ubuntu Studio)?

For command line, use : sudo apt-get install ubuntuone-client.

For Synaptic, enter ubuntu one in the search bar.

For Software center, search for ubuntu one.

With each method, tell us whatever error message you get if you get any.

EDIT : Seen your edit, try launching the Ubuntu One installation from terminal as sudo by typing sudo ubuntuone-installer. Tell me how it goes.

Thanks, mjchopperboy


Ubuntu 16.04 Menu Bar and Application/Side Bar Missing

Try this:

dconf reset -f /org/compiz/
setsid unity
unity --reset-icons


2nd Monitor isn't recognized in Display but is usable

Oddly enough, switching the monitor cables on just the monitor end, with the computer turned off, and turning it back on, seems to have resolved the issue...would have been nice to find a "smart" solution, but I suppose that works.


File manager app does not show files on sd card on BQ E4.5

Now I figured it out.
It appeared to be rather easy. You should give your password to "unlock full access". Then all the files appear.


Upgrading ubuntu 16.04lts to 18.04lts; booting stops at console msg: Starting Update UTMP

After a regular update my UBUNTU 16.04 LTS asked me if I wanted to install UBUNTU 18.04 LTS. I agreed, and installation started. There were no problems until booting stopped at the console message mentioned above.
Using GRUB V2.02, during the next try I selected "ubuntu - advanced options - recovery mode" from the menus. The screens switched to VGA resolution 640*480, and boot continued until recovery menu showed up. When I selected "Resume normal boot", the system booted without problems and started up finally with the correct screen resolution.
It seems to me that the reduced VGA resolution during boot time in recovery mode is the workaround for this error.


Under Ubuntu 17.10 an EPSON WF 2630 other than the test page it prints only Rubbish

The driver that Epson would recommend for this printer; came out on 2nd April 2018.

Get it from here http://download.ebz.epson.net/dsc/du/02/DriverDownloadInfo.do?LG2=EN&CN2=&DSCMI=71623&DSCCHK=e1fdb812f3b09b3da605fd49ef90a9e43b62db49

Assuming one has 64bit Ubuntu, get epson-inkjet-printer-escpr_1.6.20-1lsb3.2_amd64.deb

as a deb package, select OPEN when you begin the download; and gdebi installer should do the install. If one SAVES it to the Downloads folder, then locate it there and double-click to do the install;

best before doing this to go to the PRINTERS folder; delete any WF-2630 icon (as you say it is not working)


I also have an Apache/Ubuntu/Wordpress server, so hopefully this will work for you.
When first setting up your server, you can open up the permissions like so:
sudo chown -R www-data:www-data /var/www/html
sudo chmod 777 /var/www/html

That should take care of the permissions issue. After initial setup however, you will want to lock them back down.
Warning: It is EXTREMELY important that you do not leave the permissions as 777 after initial setup! That would allow anyone write access to your server!


I pressed ecs+F3+power accidentally,while having ubuntu 14.04 installed

This article may help you:

Also i pulled this directly from that webpage word for word and the credit goes to the blogger/author of said quote from that article:

  The "Chrome OS is missing or damaged" warning is for users who enter
  that state accidentally.  Ignore what the screen says and press
  control-D.  We intentionally obfuscate entering dev mode.

  The "missing or damaged" screen only shows up the first
  time you switch to dev mode.  It sounds like this person has
  been booting in dev mode for a while, and this is the first
  time he's had trouble.  It also sounds like the guy gets the
  screen even after typing ctrl-D.

Assuming the problem persists even after typing ctrl-D, it
means that the image is corrupted.  Given the scenario
describe, I think the most likely explanation is that the
test image built and installed with rootfs verification turned
on.  A second, less likely explanation is that the SSD has gone
bad.
"""

So to me it sounds like you are stuck in dev mode and/or have corrupted both Ubuntu 14.04 and Chrome OS. And more than likely you will have to re-install. I am no expert on Chromebooks so I can only give you my best educated answer.

Since I cannot comment because I do not have enough rep (which is dumb) I would like to also ask if you are installing on a Chromebook or using an Iso image on a pc.


Dell Precision 5530 suspend problem and other problems w/ 18.10

I don't have the exact same specs as your model. However I've got mine finally working with the following setup.

Ubuntu 18.04
No changes to grub
Installed all the linux-generic-hwe packages
installed the nvidia-390 driver

After this everything (suspend ect.) seems to be working in Gnome Wayland and ARMA 3 gives me decent frame rates. I've only tried it today and therefore haven't really invested much time into Gnome Xorg or i3wm. However it seems to crash everytime I select one of those environments.


Maybe rfkill blocked your wifi.

Run this in Terminal:

sudo rfkill unblock wifi

With rfkill list you can check if your wifi is unblocked. After that you should be fine.


efi disk read error and secure boot error before GRUB splashscreen

Concerning the "disk read error," I recommend you disable the Windows Fast Startup feature, as described here or here. That feature is better called "Fast Corruption" in a dual-boot environment, since it can result in disk corruption. That may be what's causing the problem, but I can't guarantee that. It's also conceivable that you've got a defective disk, so running a SMART test on the disk may be worthwhile. If it shows bad sectors, replace the disk immediately!

As to the module error, I wouldn't worry about it, so long as GRUB works correctly; or you can disable Secure Boot. (Disabling Secure Boot will increase your risk of becoming infected by pre-boot malware, though.)


awesome wm with xubuntu - setting wallpaper resets to default

I don't know the four questions I'm afraid.

Your problem is that the colour reverts on restart? And that running the command:

theme.wallpaper_cmd = { "hsetroot -solid '#000000'" }

sets it to black corectly.

Have you tried adding a .desktop file in /home/<USER>/.config/autostart?

Run these commands:

mkdir .config/autostart

(don't worry if it says mkdir: cannot create directory ‘autostart’: File exists. That means it was already there).

cd .config/autostart
touch background-setter.desktop
gedit background-setter.desktop

In the file should be the following:

[Desktop Entry]
Version=1.0
Name=Background Setter
Comment=Set background
# the sleep and extra command is to ensure it runs, and then runs again incase there is another startup program that is breaking the settings.
Exec=theme.wallpaper_cmd = { "hsetroot -solid '#000000'" }; sleep 6; theme.wallpaper_cmd = { "hsetroot -solid '#000000'" }
Terminal=false
Type=Application
Categories=Application;

Then make it executable

chmod +x background-setter.desktop

It should launch on startup.


How to remove "Ubuntu One" Unity indicator from the top panel in Ubuntu 12.04?

The startup applications menu shows only a small selection of the autostart apps by default. See here for a way to display all entries, including the hidden ones: How do I add/remove the "hidden" startup applications?

After reconfiguring your startup app visibility you should be able to see a Ubuntu One entry. You can then proceed and deactivate it to stop the U1 Sync service from starting.

This will not remove the Ubuntu One messaging menu entry. Follow this guide to remove it:
How can I remove "Set Up Mail" and other entries from the message indicator?

Or if you choose to completely remove U1 follow answer nr. 1 in this post: Remove ubuntu one from messaging indicator


Ibus on Xubuntu 12.04 how to adjust input method specific settings?

I think you can get a "Language Bar" by selecting "IBus"　icon, then "Preferences", then "Show Language　Panel"　->　"Always"


While in rescue mode, you shall need to find on which partition your GRUB file is and then restore your boot: grub rescue, unaware of ubuntu on my machine.

If your computer came with Win 8 pre-installed, you likely have Secure Boot enabled in BIOS setup. It still takes an effort to make Linux work with Secure Boot, so for starters, please disable Secure Boot in BIOS setup.


How can I remove icons from menus of QT apps?

Icons in the menus is standard for Qt/KDE apps. In order for Qt apps to obey the gconf settings, the developers have to specifically code that in. You have no control over this, but it's not a bug in Ubuntu. It's behaviour by design from the app


evince uses the wrong path for my browser when I click on a link, how can I fix it?

Okay, I found the file with a find + grep against all my .something folders:

find ~/.[a-z]* -type f -exec grep -Hn seamonkey-2.33 {} \;

This took at least 15 min., (I have slow hard drives, but I also have many files there...) but at least I found the following file:

~/.local/share/applications/userapp-SeaMonkey-QSF6ZX.desktop

Changing the reference to the newer version fixed that problem. I still have the problem with apparmor which the other posts answer as expected so I won't repeat that here.

Now if you know why the filename is "userapp" dash "SeaMonkey" dash "QSF6ZX"... I'd be interested to hear from you!


Same problem, found a solution

Install the package ttf-mscorefonts-installer, we need some things from the package later

sudo apt-get install ttf-mscorefonts-installer

Download and install the fonts

TMP=$(mktemp -d)
cd "$TMP"
awk '/Url/ {system("wget "$2)}' /usr/share/package-data-downloads/ttf-mscorefonts-installer
sudo /usr/lib/msttcorefonts/update-ms-fonts "$TMP"/*

Avoid future error message

sudo touch /var/lib/update-notifier/package-data-downloads/ttf-mscorefonts-installer

Housekeeping

cd ..
rm -r "$TMP"

primary source

Problem solved ;)


How To Resolve Wifi Driver Problem on Ubuntu 20.04

Something is wrong with that source in newer kernels, so use this instead

sudo apt install dkms
cd
git clone https://github.com/smlinux/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/5.1.1.8_21285.20171026_COEX20170111-1414
Check mokutil --sb-state as Secure Boot needs to be disabled
Reboot


sorry for the confusion. So, this is actually two bugs.

First, the preference box is labelled confusingly wrong. It does not mean "start syncing when you log into your computer". It means "start syncing when the Ubuntu One background sync program starts". The Ubuntu One background sync program, called ubuntuone-syncdaemon, is intended to be running all the time, and this preference is for people who want to manually control when it uses the network. I recommend you keep it on.

Second, the mac client does not currently add itself to the login items list, so it will not start at login unless you add it there manually. Adding it manually is exactly the right way to solve your problem, because that is all that a fixed version will do anyway.


Do I buy a game twice if I bought it from humblebundle.com?

No, you are only paying once through humblebundle.com.

From the 'Download your Humble Bundle' page after choosing to download for Ubuntu:

  Notes: As these games have been recently added to Ubuntu Software Center it might take a minute for them to appear. If you see a "Not found" message, Ubuntu Software Center is working in the background to update the list of available apps.

  To install the app once Ubuntu Software Center has opened click on the "Buy..." button, don't worry you won't be charged for it.

  Also if your bundle included Psychonauts and it does not appear here it will be available shortly, please check back soon.


nowadays (2020) it is this (Python v2):
sudo apt-get install python-distutils-extra

or this (Python v3):
sudo apt-get install python3-distutils-extra


If there is an error message, read it carefully. If possible, copy it or record it. While you are at it, record the exact sequence of steps or commands to reach the error message.
Search for an answer. Start with your favorite search engine - Ubuntu help sites are all indexed by them. Be wary of answers more than two years old - Ubuntu has changed a lot in a few years.

Start by searching for the exact text of the error. It's very likely somebody has trodden the path before you.
If there is no satisfying answer, then ask for help (here, of course).
If the help here determines that you have a bug, search for the bug at Launchpad.net, home to Ubuntu's bug tracker. It's likely that somebody has already reported the bug - simply subscribe to the bug report, don't leave any distracting 'me too' comments. If nobody has reported the bug, ask for help (here) to report it properly - it's not easy the first time.


Significant increase in login time. Ubuntu 14.04

Not 100% here but it sounds like you have a lot of installs/downloads under user and thus taking a longer time to boot


Unmet dependencies while trying to install pulseeffects

Carefully reading the README.MD file from github, there are several dependancies:

Required libraries:

    Python 3
    Python configparser (Python versions higher than 3.5.0 come with it. There is no need to install a separate package)
    PyGobject 3
    Python Cairo
    Python Numpy
    Python Scipy (0.18 or above)
    Gtk 3.18 or above
    Gstreamer, Gstreamer Plugins Good, Gstreamer Plugins Bad and Gstreamer Python (Since version 1.4.3 Pulseeffects needs Gstreamer 1.12 or above)
    swh-plugins from Ladspa


Boot stuck at “started daily apt upgrade and clean activities” (18.10)

My bad: root partition was full.
Thanks to everybody who tried to help.


I could launch kile successfully on M10! It needed some tweaking and requires some basic knowledge how to use linux.

I was just curious, and tried to install kile on the fresh libertine container in my M10 tablet.

You said you installed kile, but showed only libertine container creation. To install kile after container creation you had to do:

libertine-container-manager install-package -p kile -i puritine2

The libertine container is bare minimum and applications needs to be installed like that.

Your list-apps --id puritine --json | grep "\"kile\" should show only installed packages, also you forgot to make --id puritine2. Anyway at current OTA-12 the list-apps bugs and returns only container name!
However for searching the installed package you could use:

libertine-container-manager search-cache -s kile and it should return the 3 packages with kile

However you should be warned, that installing kile will pull whole ~500MB of additional stuff, from texlive to many of kde libs and kde's dependable (like pulseaudio, which is completely irrelevant for kile directly). Considering that you could bend your workflow (look for advice at the bottom of the answer) to save the precious space of tablet.
I can confirm that icon is weirdly missing in the libertine scope, even if ... search-cache -s kile returns 3 entries of kile. Also manual checking of json file under ~/.local/share/libertine/ContainersConfig.json shows that kile is installed (It does not differ from other working customly installed X programs).
It looks there are many problems with kde apps in the libertine: universal Qt4 apps gets installed and works OK (i.e. Qgis), however many kde apps does not work.
In my previous tries installing KDE programs (i.e. okular) I experienced few times that icon of the app would be shown in the libertine scope, but the app would crash during launch/ (or would not launch at all). This time it looked different, there is no icon, so I had to find out what is going on. The first thing was to find out where the desktop file of kile is and check out if i.e. icons are not missing, or other configurations are ok.
THE FIX:
The problem is that libertine ignores kde's tidy encapsulation of kde app desktop files into additional folder of kde4. To fix the problem we need to go to the root file system of the container (in our case puritine2), navigate to standard location of global path of the desktop files, go one folder deeper (-> to kde4), copy the kile.desktop file and paste it on level shallower:

cd .cache/libertine-container/puritine2/rootfs/usr/share/applications
cd kde4
cp kile.desktop ../

Thats all!

Go to libertine scope and refresh by top -> bottom swipe, the kile icon should appear under Puritine2. At the first launch you should be patient, It could need taping once to get rid of welcome widget and proceed to loading the kile interface (can take up to 1 min).

Have a nice TeX'ing!

failure and alternatives:

Then exiting kile through menu: files->quit/exit, it quits to dark screen. This happened to me after second try of launch. From now on it behaves (does not launch, or gets stuck at startup) same as the rest of KDE apps on UT :/. Unfortunately my help finishes here as there is no documentation how to debug libertine launched Xapps, and traditional robust method of launching the app from terminal is confined out. So look for bellow advice:

As the alternative I have tried to get the mentioned TeXstudio (Actually I was using it on my desktop and I liked it before I moved to Overleaf), which installs and works fine (a bit sluggish, but this is UT/XMir problem), I opened this one like ten times, loaded some of my projects, tried to quit in different ways (with UT way of swiping out, and with menu->files->quit) and it is working. I also tried to make and compile a template and it is working.
However, there is no on screen keyboard (Hopefully OTA-13 will fix this), so there is no way to write/edit without a physical keyboard at the moment. (Actually no of this puritine2 app gets the onscreen keyboard, it can be the issue with some missing undocumented configuration).

update: it looks that I was right, the keyboard have to be enabled per container, this is relevant link to xda post. I am not going to try it for now cause probably OTA13 after few days will fix that. Also I am not sure that the solution under that link would fix the missing keyboard for qt4 apps (both kile and texstudio at the moment), as the snippets are explicily mentioning only gtk2 and gtk3.

Another problem which I run into is that UT/Libertine is able to install just very basic set of (La)Tex styles, and i.e. my project could not be compiled as additional styles are required. Hackish way would be to get the exact style from CTAN and add it to the project folder, however casually ubuntu/debian have the texlive-latex-extra package (500MB) vailable to install, which installs most of known common styles and latex packages. However texlive-latex-extra installation in libertine fails for some reasons, which finally points to my advice bellow.

P.S. (This is modified original answer/advice):
I am also Latex user and I didn't wanted to spend ~1 GB for full blown texlive environment, I managed to change my workflow to get as much as possible from mine M10 tablet which is quite limited on the resources (disk space, slowed down due to confinements).

I use Overleaf (It is cloud based have full latex/pdflatex/xelatex working tons of templates, 1 private project is for free, payed subscription enables  use of git, so the Latex text sources can be git pulled edited offline and pushed back for compilation, when connected to internet). Overleaf web is quite tablet friendly. I managed to create "webapp" shortcut (the click package) to get the icon and run in the fullscreen mode. (If there would be any interest I could try uploading to uAppStore that click).
for offline editing I use Seabass -- native Ubuntu Touch app (really nice app for any coding on UT, for now it have no auto stuff for latex, but does code highlighting, and is quite convenient using touch interface only)

P.S.S the only trick to use such workflow is to enable r/w root partition for once to get proper git with git+https enabled (to use the encryption for pulling pushing to overleaf)


Ubuntu 20:04 Novation XioSynth External USB Audio Interface producing popping & clicking sounds on playback , Alsa usb driver suspect

Copied frome here: https://askubuntu.com/a/1298810/1155538
There are some changes being done right now in the alsa sound subsystem for usb sound cards. Your problem might be fixed in the 5.10 Kernel. Since it isn't released yet you have to wait for the kernel version to be packaged for ubuntu or compile the kernel yourself. The latter option requires quite a bit of knowledge though.