How can I write Spanish letters with an English keyboard layout?

You are looking for spanish layout keyboard like this: Spanish Layout

There are several ways to configure your keyboard to type in the Spanish accented letters and upside-down punctuation (á, é, í, ó, ú, ü, ñ, ¿, ¡) and which one you use depends on the frequency with which you need these letters.
1. Inserting Accented Characters with an English Keyboard Layout

If you only need an accented character every now and then, there is no need to change your full keyboard layout.
For all PCs

There are several key combinations you can use to insert single characters into your text on a PC. The first is for newer computers using the Control key and may only work in Microsoft Office.

In Office for Windows: For accented vowles: Press Ctrl + ‘, then the vowel (ctrl + ' + a = á)

For Ñ: Press Ctrl + ~, then the letter n (ctrl + ~ + n = ñ)

The second way is using the ASCII code. Each character in your computer has a code made up of pressing the ALT key then a three-digit number, all of which are listed below.

á = Alt + 0225

é = Alt + 0233

í = Alt + 0237

ó = Alt + 0243

ú = Alt + 0250

ñ = Alt + 0241

ü = Alt + 0252

¡ = Alt + 0161

¿ = Alt + 0191

To type the numbers, you must use the numeric keypad on the right side of your keyboard, not the number keys on the top row.
For all Macs

To get accented vowels on a Mac, hold down the Option key, and while holding it down, type the letter e; then release those keys and type the letter that you want the accent to appear on:

Opt + e, then a = á

Opt + e, then e = é

Opt + e, then i = í

Opt + e, then o = ó

Opt + e, then u = ú

For the ñ, hold down the Option key while you type the n, then type n again.

Opt + n, then n = ñ

To type an umlaut over the u, hold down the Option key while pressing the u key then type u again.

Opt + u, then u = ü

*To type the upside-down punctuation marks press the following keys all at once.

Opt + 1 = ¡

Opt + shift + ? = ¿

Full Keyboard Configuration

For those using Spanish letters and punctuation on a regular basis, I recommend going into your Control Panel/System Preferences and add the Spanish keyboard configuration. This will mean you need to learn the new key placements, but it is very easy once you get used to it.
For Windows Vista

Go to your Control Panel
Click on "Clock, Language, Region
Click on "Change Keyboards"
Click "Add" and Select "Spanish-International Sort"

For Windows XP:

Go to your Control Panel
Click on "Date, Time, Language, and Regional Options"
Click on "Regional and Language Options"
Select the "Languages" tab at the top
Click on "Details" near the bottom
Click "Add" and choose "Spanish-Traditional Sort"
Go back to the "Languages" tab and choose the option to "switch languages" by pressing "left alt-shift" at the same time. This way, you can switch to and from the Spanish and regular keyboard whenever you want.

For Macs

Go to your System Preferences
Click on "International"
Select the "Input Menu" tab
Scroll down to select "Spanish - ISO"
Note the keystrokes necessary to switch between languages OR Select "Show input menu in menu bar" to be able to click-select which keyboard you want to use.

Spanish-International Sort Keyboard Layout

Spanish-International Sort Keyboard Key Strokes

' + a = á

' + e = é

' + i = í

' + o = ó

' + u = ú

" + u = ü

Once you have installed your Spanish keyboard, it will react slightly differently than you are used to. First, you will notice that when you type an apostrophe ( ' ), nothing happens. This is because if you type a vowel immediately after, you will get an accented vowel (á, é, í, ó, ú). To get an apostrophe, push the key for the hyphen, next to the number 0. You can see several other changes in the picture below.

The quotes ( " ) key behaves the same way as the apostrophe key in that it gives you the umlaut ( ¨ ) rather than quotes for the letter (ü) in words like "lingüística". To type in regular quotes, simply press shift then the number 2.

The semicolon ( ; ) key has also been replaced by the ñ. To type a regular semicolon, simply press shift then the comma key.

Ref: spanishdict


Multiple developers sharing one Ubuntu LTS Server

Virtualize the server. That lets each of you have the OS and environment each of them wants, while sharing the same server as you specified. Suggest you go to https://en.wikipedia.org/wiki/Comparison_of_platform_virtualization_software, copy and paste that chart into the spreadsheet of your choice, and filter out everything which does not support Linux as Guest OS (43 choices), filter out everything which does not have x86-64 as Host CPU (48 choices available), then from the surviving virtual systems, go to the second table and filer out those with Speed relative to Host OS not near-native or better.


Upgrade to Ubuntu 20, failed: The upgrade has aborted. The upgrade needs a total of 212 M free space on disk '/boot'

Well, since you only have about 5M of old ...5.3.0-45 files, removing them wont solve your problem (and you will have other problems if you remove(d) them manually.  Looks like you simply need more space, so put an ext filesystem onto a USB with a few G of space, copy in your existing /boot files, mount your USB at /boot and run the dist-upgrade.  When finished, copy back the new files from the USB, and remove the old ones.  You probably don't even need to alter the /etc/fstab file since the USB mount is not needed again.  But really, your /boot is awfully tight, expect problems with every kernel upgrade, so do consider redoing the partitioning to leave yourself a larger /boot.


"Applications" and "places" instead of logos on panel on ubuntu 18.04

1) Install gnome-shell-extensions and gnome-tweaks

2) Open Gnome Tweaks and on the extensions tab
- Disable the extension "Ubuntu dock"
- Enable the extension "Applications menu" and "Places status indicator".

An extension to move the panel to the bottom unfortunately does not come with the software repositories. You need to resort to an extension from the Gnome shell Extensions website. BottomPanel by abstract is good, and perhaps better, because better maintained, is Frippery Bottom Panel by rmyorston.

To be able to install Gnome Shell extensions from the website, you need to install chrome-gnome-shell, and within your browser, you need to install the "Gnome Shell Integration" plugin.


By coincidence, found the problem. In /Settings/Applications (of Ubuntu, not the browser) there are two entries for the Brave browser, one of them for "Permissions and access". For reasons I shall never know, the switch for "Print documents" was disabled. Enabling this and restarting the browser fixed the issue.


Ubuntu install Hell on Dell R720 with Matrox on-board VGA and two NVidia Tesla K20x's

I work for Dell. I have seen issues like the one you are describing when you attach a monitor to the server that supports resolutions beyond those supported by the iDRAC8 on that generation of servers.  If you don't want to disconnect the monitor or disable local monitor in the iDRAC Virtual Console settings here is what you can do to work around the issue.

First, to get the system to boot, power cycle the system and at the grub boot menu press e to edit the entry and remove this line:

gfxmode $linux_gfx_mode

Then press Ctrl+X to boot.
Once the system boots run sudo vi /etc/default/grub and uncomment/modify this line to limit the VGA output to iDRAC8 supported resolutions:

GRUB_GFXMODE=1280x1024x32,1152x864x32,1024x768x32,800x600x32

Run

sudo update-grub

to incorporate the changes into the Grub configuration.

Now the system should boot without issue.

See Also:

Dell OpenManage Ubuntu & Debian Repositories
iDRAC8 Supported Screen Resolutions and Refresh Rates
Arch Linux Wiki - GRUB/Tips and tricks


A better solution is to unload hp_accel module: sudo modprobe -r hp_accel

If you don't want your system to load the module at every boot, simply blacklist it adding the following line to /etc/modprobe.d/blacklist.conf:

blacklist hp_accel


ubuntu 12.10, 12.04 "Unable to find medium containing a live file system"

It's a bit of a guesswork:

The space at 'file:/data/ubuntu-12.10-desktop-     amd64.iso,hdc:cdrom,r' shouldn't be there. If you copy/pasted your config file, you need to fix that.
Check device_model='/usr/lib/xen-4.1/qemu-dm' to see if qemu-dm is in fact there. In my (Ubuntu-based) Linux Mint 13 distro it's /usr/lib/xen-4.1/bin/qemu-dm
disk = ['phy:/dev/server/ubuntu-hvm,hda,w' seems to specify a regular disk, not a LVM volume. It shouldn't cause a problem, but I believe the partition (or LVM volume) needs to be unformatted.
Don't know if it's related, but vif = ['bridge=eth0'] looks strange. Is eth0 your bridge? Anyway this is the last thing I would check, after everything else fails.
You may want to try virt-manager (a GUI, you need to install libvirt and perhaps some more packages). Make sure you uncomment the

       (xend-unix-server yes)

line in /etc/xen/xend-config.sxp


apt-btrfs-snapshot: Exception when trying to delete snapshots

I finally found an easy answer!
Despite getting the error reported above, I tried to directly delete the offending snapshot:

sudo apt-btrfs-snapshot delete @apt-snapshot-release-upgrade-bionic-2018-02-26_14:51:59

and it worked!! after that, I ran the following command to delete the remaining ones:

sudo apt-btrfs-snapshot delete-older-than 1d

And it proceeded to delete all the remaining snapshots!


How to automatically back up multi-partition harddrive?

A good option might be the built-in backup utility, Deja-Dup.  You will have to do a little configuring to make sure all the folders you care about are included, but it provides a straightforward GUI to do so.  Once you are set up, it will do a full backup.  It will then do incremental backups whenever you like.  Every 90 days or so it will do another full backup.


I think you have to restart Gnome-shell with
Alt+F2 , type "r" then Enter.
Or (better) you can simply reboot your system.


Boot problem after deleting dual boot Ubuntu with Windows

If you're just sticking with Windows, I would recommend making a usb boot disk to boot into windows and restore the boot partition. I would recommend the same with Linux if you are keeping that.


LibreOffice won't launch on Ubuntu 20.04

To reinstall use:
sudo apt-get install --reinstall libreoffice libreoffice-core

You have to remove problematic library with:
sudo rm /usr/local/lib/libharfbuzz.so.0


I'm not aware of such a tool. You could probably implement one, along these lines :-

Since cloud hosts tend to transfer whole files, split storage into many smaller blocks
Each block file forms 1 LVM physical volume
Aggregate the block files into logical volumes

It's important, of course, that you only mount the volumes from one client at a time - and it's probably safest if you only use 1 client, conflicts will inevitably cause horrible filesystem corruption.


PhpMyAdmin - I see only PHP code in the browser

You need to install Apache2 PHP module. Use the command below

  sudo apt-get install libapache2-mod-php

and restart your apache server. Use the command below for restarting your apache server

  sudo service apache2 restart

hope it helps


The setenv command is csh builtin command and you are using another shell. If csh is already installed you can enter that shell just by typing 'csh' at the bash prompt.

Path in BASH looks like

PATH=/usr/local/bin:/usr/bin:/bin

  I had to copy .bashrc to the home folder, and then to add the line source $HOME/auto/07p/cmds/auto.env

Where does it say that? The included PDF states you need to do that IF you are using csh.

  1.1 Installation.

  The AUTO file auto07p-0.9.1.tar.gz is available via http://cmvl.cs.concordia.ca/auto. Here
  it is assumed that you are using the Unix (e.g. bash) shell and that the file auto07p-0.9.1.tar.gz
  is in your main directory. See below for OS-specific notes.
  While in your main directory, enter the commands gunzip auto07p-0.9.1.tar.gz, followed
  by tar xvfo auto07p-0.9.1.tar. This will result in a directory auto, with one subdirectory,
  auto/07p. Type cd auto/07p to change directory to auto/07p. Then type ./configure , to
  check your system for required compilers and libraries. Once the configure script has finished
  you may then type make to compile AUTO and its ancillary software. The configure script is
  designed to detect the details of your system which AUTO requires to compile successfully. If
  either the configure script or the make command should fail, you may assist the configure script
  by giving it various command line options. Please type ./configure --help for more details.
  Upon compilation, you may type make clean to remove unnecessary files.
  To run AUTO you need to set your environment variables correctly. Assuming AUTO
  is installed in your home directory, the following commands set your environment variables
  so that you will be able to run the AUTO commands, and may be placed into your .login,
  .profile, or .cshrc file, as appropriate. If you are using a sh compatible shell, such as sh,
  bash, ksh, or ash enter the command source $HOME/auto/07p/cmds/auto.env.sh. On the
  other hand, if you are using a csh compatible shell, such as csh or tcsh, enter the command
  source $HOME/auto/07p/cmds/auto.env.

Why did you pick the last part of that sentence and not the 1st part?


".bak" is a filename extension commonly used to signify a backup copy of a file. - Wikipedia

To restore this backup file :

Delete the interface file  with the broken settings.
Remove .bak of the interfaces.bak file.


Can I install Ubuntu on HFS+ file system?

No, Ubuntu cannot be installed on this filesystem as you described, and since you don't want to use a VM (virtual machine) you will have to format the partition to a filesystem developed for Linux, such as ext4.


Where can I lookup the current color of the top and bottom panel in Ubuntu Mate?

In the default configuration, the panel in Ubuntu Mate 19.10 uses the system theme to determine the panel color, which is defined by one of the GTK3 themes stored in one of the two theme folders: /usr/share/themes and ~/.themes.

Use dconf read /org/mate/marco/general/theme to get the currently configured theme.
Use dconf watch /org/mate/marco/general/theme to monitor it for changes.

Both just give the name though, so you'll need to look in both folders for a theme with the matching name.

Once you have the theme name, you can parse the CSS files in <theme folder>/<theme name>/gtk-3.0 for the current background-color value for .mate-panel-menu-bar, which appears to be what defines the panel color in GTK3 themes on Mate. The specific css file that .mate-panel-menu-bar is defined in is not consistent, and the color itself may be a hex value, an RGB value, part of a GTK function call, or a CSS alias like @dark_bg_color for a color defined in one of the other CSS files, so you may need to parse multiple files to see the whole picture.

When the user changes the default, and manually sets the panel color by setting the Background tab in panel properties from None (use system theme) to Solid color, you can see the following with dconf read:

/org/mate/panel/toplevels/top/background/type will change from none to color
/org/mate/panel/toplevels/top/background/color will get a color defined in the format rgb(#,#,#)

(eg. rgb(0,0,0) for black or rgb(255,255,255) for white)

The /top/ part of the path above may also change depending on which panel the user has set the color for. In my case, I needed the indicator applet which is where tray-like icons live, so I have to use dconf read /org/mate/panel/objects/indicatorappletcomplete/toplevel-id (which defaults to top) to see which panel I am looking at the colors for.


Since you don't use the AMD card, you can just disable it in the BIOS settings.

You also said kernel 4.6 seems to be better with power management, which is a good thing for others who may not have a video card option in their BIOS settings.


First you need to click on the name of the extensions in this page and an ADD button will be displayed on the left side of the extension name.

This can happen sometimes (I experienced it). Try doing these

Refresh the page (sometimes requires several times)
Wait for it to be viewed
Resize the browser window
Check you are using gnome-shell (not gnome-classic or Unity session or others)
Try different browser.

Waiting and refreshing worked for me.


CouchDB Unmet Dependencies couchdb-bin (>= 1.6.1-0ubuntu5) - held broken packages

Apparently the latest version of erlang-base (1:18.1) does not include the virtual package erlang-abi-15.b.

If you use aptitude to install couchdb, it's capable of offering a solution to this problem, namely downgrading erlang to 1:17.4. Although you have to reject its first suggestion (which is not to do anything).

Here's the output from my run of sudo aptitude install couchdb:

$ sudo aptitude install couchdb
The following NEW packages will be installed:
  couchdb couchdb-bin{ab} couchdb-common{a} erlang-eunit{a} erlang-os-mon{a} erlang-snmp{a} erlang-tools{a} erlang-webtool{a} erlang-xmerl{a} libmozjs185-1.0{a}
0 packages upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 8,256 kB of archives. After unpacking 22.1 MB will be used.
The following packages have unmet dependencies:
 couchdb-bin : Depends: erlang-abi-15.b which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     couchdb [Not Installed]
2)     couchdb-bin [Not Installed]

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Install the following packages:
1)      erlang-eunit [1:17.4 ()]
2)      erlang-os-mon [1:17.4 ()]
3)      erlang-snmp [1:17.4 ()]
4)      erlang-tools [1:17.4 ()]
5)      erlang-webtool [1:17.4 ()]
6)      erlang-xmerl [1:17.4 ()]

      Downgrade the following packages:
7)      erlang-asn1 [1:18.1 (, now) -> 1:17.4 ()]
8)      erlang-base [1:18.1 (, now) -> 1:17.4 ()]
9)      erlang-crypto [1:18.1 (, now) -> 1:17.4 ()]
10)     erlang-inets [1:18.1 (, now) -> 1:17.4 ()]
11)     erlang-mnesia [1:18.1 (, now) -> 1:17.4 ()]
12)     erlang-public-key [1:18.1 (, now) -> 1:17.4 ()]
13)     erlang-runtime-tools [1:18.1 (, now) -> 1:17.4 ()]
14)     erlang-ssl [1:18.1 (, now) -> 1:17.4 ()]
15)     erlang-syntax-tools [1:18.1 (, now) -> 1:17.4 ()]

      Leave the following dependencies unresolved:
16)     erlang-base recommends erlang-crypto (= 1:17.4)

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  erlang-asn1 erlang-base erlang-crypto erlang-inets erlang-mnesia erlang-public-key erlang-runtime-tools erlang-ssl erlang-syntax-tools
The following NEW packages will be installed:
  couchdb couchdb-bin{a} couchdb-common{a} erlang-eunit{a} erlang-os-mon{a} erlang-snmp{a} erlang-tools{a} erlang-webtool{a} erlang-xmerl{a} libmozjs185-1.0{a}
0 packages upgraded, 10 newly installed, 9 downgraded, 0 to remove and 0 not upgraded.
Need to get 19.1 MB of archives. After unpacking 21.5 MB will be used.
Do you want to continue? [Y/n/?] y

UPDATE: I have reported this bug to Ubuntu.


custom keyboard layout not active after reboot

It were a cache issue.

I fixed the issue by removing the xkm files in /var/lib/xkm.

sudo rm /var/lib/xkb/*.xkm

And then rebooting (I'm not sure how to regenerate the cache files without doing so).


Ubuntu 14 - unable to use sudo echo to overwrite files

You cannot directly use > with sudo the way you are doing it, the reason is the redirection is performed by the shell and not by sudo and hence the command will fail to write to the file because of permissions.

Refer to this question for appropriate solutions for this:

When using sudo with redirection, I get 'permission denied'

Update:

In case you copy:

sudo echo 'line1
line2
line3' > /etc/some/config/file.conf

to a file, say scrip.sh, and then execute the script as

sudo bash script.sh

you won't get an error and the script will execute successfully because in this case, you are running the script by providing the shell with appropriate permissions(sudo bash).


you can try upgrading using

sudo do-release-upgrade -d

-d is for checking devel-release upgrade

Cheers


Would changing to a different motherboard/cpu/ram conflict with Ubuntu?

I do this all the time. Since Ubuntu is based on Linux, which means it is hardware independent (A whole different story if we talk about Windows) you won't have a problem in most cases. So since it is hardware independent you can just change your motherboard, cpu, ram, video card, lan card, wifi card and any other hardware without any problem.

The problems that will appear are (I will list some of them since you will get an idea with the couple I will write about):

Hardware that needs Proprietary drivers - If you happen to move from a integrated video card in your motherboard (Let's say an Intel video card), to another computer with an Nvidia or Ati card, you will most likely need to install the proprietary drivers to have full features for that particular video card. Is not the same performance to compare the open sourced Nouveau with the Proprietary Nvidia drivers. Both of which are found and available to install when Ubuntu starts. This will likely not interfere with Ubuntu but will make it tough if you want to play son HD video or play a Windows game on Wine. Same goes for Wireless cards like the Broadcom Based ones.
Moving from 64 Bit to 32 bit (Backwards Architecture). If you have a 64 bit capable hardware with an Ubuntu 64 installed on it and you move to a hardware that has no 64 Bit support, you will receive some errors. The opposite is not true on newer systems and Ubuntu versions but it is recommended to stick with the same architecture for performance and stability issues.

In the cases you are mentioning, you won't have any problems whatsoever. To test this, simply remove your hard drive and connect it to the other PC. Then boot from your hard drive. You will notice that it will boot like it was running on that computer since the beginning.

Aside from this, if you are going to use more than 4GB RAM, I recommend going for a 64 bit version, although the 32 bit will still use the additional memory with its PAE kernel.


sudo apt-get install lamp-server^

When used, it will attempt to install all of the features and configuration for LAMP. It will know and skip anything that is already there so do not worry about any overwriting of your configuration.


Installing/booting Windows installation from GRUB?

have you check you boot settings in biso settings to load from usb first
and usb devices enebled

then load

here is step by step

1) Change the BIOS boot order so the USB device option is listed first.

2) Attach the USB device to your computer via any available USB port.

3) Restart your computer.

4) Watch for a Press any key to boot from external device

i hope this was helpfull

if not please let me know i will help trobleshoot this problem :)


According to my research, Wubi support (officially) was discontinued from 13.04 and onwards.  Wubi is not available for 13.10 as a result.  Wubi is only available still with 12.04 LTS according to the Wubi documentation and windows installer pages.

An alternative would be to install VirtualBox inside of your Windows installation and then install Ubuntu to a VirtualBox Virtual Machine, which would run Ubuntu inside of a virtual machine, which in turn is inside Windows.  This however requires you to boot up to Windows first before using VirtualBox to access Ubuntu.


Touchpad and WiFi not working on Lenovo IdeaPad 3 14IIL05 (Ubuntu 16.04.06)

You can go to "Software & Updates" and then additional drivers tab to check which drivers are needed to be installed.
Or you can use this command to get a list of available drivers:
sudo ubuntu-drivers devices

You can install them manually, or you can use:
sudo ubuntu-drivers autoinstall


Why does $ service --status-all output to STDERR instead of STDOUT?

It might sound a bit strange but it does not. To be more exact, it displays only unknown [?] statuses on the standard error (besides other error messages).

You can see the script in /usr/sbin/services. The relevant part is the following (lines 68--98):

   if [ -z "${SERVICE}" -a $# -eq 1 -a "${1}" = "--status-all" ]; then
      cd ${SERVICEDIR}
      for SERVICE in * ; do
        case "${SERVICE}" in
          functions | halt | killall | single| linuxconf| kudzu)
              ;;
          *)
            if ! is_ignored_file "${SERVICE}" \
        && [ -x "${SERVICEDIR}/${SERVICE}" ]; then
                    if ! grep -qs "\Wstatus)" "$SERVICE"; then
                      #printf " %s %-60s %s\n" "[?]" "$SERVICE:" "unknown" 1>&2
                      echo " [ ? ]  $SERVICE" 1>&2
                      continue
                    else
                      out=$(env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "$SERVICEDIR/$SERVICE" status 2>&1)
                      if [ "$?" = "0" -a -n "$out" ]; then
                        #printf " %s %-60s %s\n" "[+]" "$SERVICE:" "running"
                        echo " [ + ]  $SERVICE"
                        continue
                      else
                        #printf " %s %-60s %s\n" "[-]" "$SERVICE:" "NOT running"
                        echo " [ - ]  $SERVICE"
                        continue
                      fi
                    fi
              #env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "$SERVICEDIR/$SERVICE" status
            fi
            ;;
        esac
      done
      exit 0

The echo " [ + ]  $SERVICE" line does not print to standard error, and so the [ - ] variant.

You can easily test the above assumption by running: services --status-all 2>/dev/null. If you have any running service that supports the status command, it will be listed.


sudo: 3 incorrect password attempts - can root see the password in clear text?

No, passwords are not logged by default. This would be a security problem, as logs may be read by other administrators, allowing impersonation of the user in case of a slightly mistyped password.


Computer shut off mid-update and now i can't update my computer

If there's no other package manager running (look for muon, apper, synaptic, etc.) then you may simply remove the lock file and retry:

sudo rm /var/lib/dpkg/lock
sudo apt-get update
sudo apt-get upgrade

Since you say you just rebooted, there shouldn't be a package manager running.
Just be careful, if there is a package manager running, this brute-force approach may cause serious issues.


Dropbox not starting - Ubuntu 13.04 server eddition

I had this problem on a small Dell Mini.

This was the problem I had. When I booted up 13.04 the Dropbox symbol did not appear in the top toolbar and Dropbox could not sync.

This is how I fixed it. I opened System monitor. (To find this Just put 'System monitor' in the Dash search engine. If it is not installed then install it from Ubuntu Software Centre.)

In System Monitor, run 'processes' and find Dropbox in the list. It will say it is running normally. Quit it - force quit it. Close system monitor. Then open Dropbox  (either from the launcher or from Dash) This time the symbol will reappear in your top toolbar and everything will work as it should.

Regards Mike Clifford


Is there a way to change the size of elements on the screen in Ubuntu?

There are two methods, which actually gives better control than Windows 8.1 (and probably 10).

Settings >> Screen Display >> Scale for menu and title bars

and

Settings >> Appearance >> Launcher icon size

What are you trying to acheive?


Use External monitor instead of faulty laptop monitor

Go to

System->Preferences->monitors

Select the screen labelled laptop (or similar), select the "off" radio button and then click apply. That worked for me anyway.


What is the "Win" key used for on Linux?

I have the Win key [...] can it be used for something interesting?

Yes, this is called the Super or Meta key in Linux. You can use it in custom key shortcuts, and in Unity it should bring up the Dash.

Below is an example on how to configure a shortcut using the Windows key in KDE. This should be similar in other desktop environments.


Canon PIXMA P200 cannot scan in Ubuntu 16.04LTS

so I can't find this device listed on SANE;

If you install the scanner drivers that Canon supply;

go here http://support-asia.canon-asia.com/contents/ASIA/EN/0100553101.html and click to download and save what will be scangearmp-p200series-2.20-1-deb.tar.gz

Open a terminal;
copy each command below; paste into the terminal

cd Downloads

tar -zxvf scangearmp-p200series-2.20-1-deb.tar.gz

cd scangearmp-p200series-2.20-1-deb

sudo ./install.sh

that installs the drivers and to test type or paste into the terminal

scangearmp

to run the programme; let us know how it goes


How do I restore accidently deleted system library(libpro*)?

You can find which libraries that was deleted by using the command

dpkg-query --search /usr/lib/*libpro*

Then reinstall them by calling

sudo apt-get install --reinstall lib...

for each of the missing libraries
... should be proj, proxy and so forth


Programs don't start after installing .deb packages

Google Earth has a known bug.  Try this answer to see if fixes that problem.

I can't help with Synergy - as João Pinto observes in his comment, try running synergyc (if you want your Ubuntu PC to be a client) or synergys if your Ubuntu PC will be a server in a terminal window to see what output you get.


Simple answer - you can't. (But you may want to do something else to get what you want - see below)

LVM2 has 3 'levels', the Physical Volumes (which is what I assume you are referring to as an LVM2 container), Volume Groups and Logical Volumes.

Generally you define one or more partitions to be Physical Volumes for LVM2. Once this is done, the partition cannot be used for anything else (in the same way a partition can only be used for one filesystem).

E.g.:

# pvcreate /dev/sdb3

You then create a new Volume Group or add the physical volume to an existing group

# vgcreate MyVolGroup /dev/sdb3

or

# vgextend MyVolGroup /dev/sdb3

You then create the Logical Volume, which actually gets used for a filesystem.

# lvcreate -L100G --name MyVolume MyVolGroup

The Logical Volumes can be resized without losing data, although it's non-trival. But the Physical Volumes' sizes are fixed as the partition sizes.

If you actually want to use your 400Gb of space which is already allocated to a Physical Volume (LVM2 container) then the answer is to create another Logical Volume and use that.

To find then name of the Volume Group (if you don't already know it) use the vgs command.

# lvcreate -L400G --name MySpace VolGroup
# mkfs -text4 /dev/VolGroup/MySpace
# mount /dev/VolGroup/MySpace /mnt

The more advanced alternative, if you have enough spare space to create a new partition, is to force the existing Logical Volume to be moved (using pvmove) so that you can free up the 500Gb Physical Volume (vgreduce and pvremove commands) and then create a smaller container and move the data back again, but there's probably little advantage over simply using Logical Volumes for everything.


Recent update has me stuck in a log in loop

In terminal, type (use the correct username):

cd /home/your_username
ls -l .ICEauthority # (that's a lower case L)
ls -l .Xauthority   # (that's a lower case L)

If either ls command returns one of these (where it shows root, instead of your username):

-rw------- 1 root root 242476 Nov  6 12:48 .ICEauthority
-rw------- 1 root root 58     Nov  6 12:48 .Xauthority

Then type (changing your_username to the correct username):

sudo chown your_username:your_username .ICEauthority

and/or

sudo chown your_username:your_username .Xauthority


What would be the recommended kernel configuration for a gaming machine?

I believe that the Gentoo Guide to Kernel Configuration is the best:)
You can find it http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=7

As a former Gentoo-ist, having configure my own kernel lots of time I can say for sure that this guide helped me more than once :)

About the performance. Just by recompiling the kernel with the right optimizations (adapter to your system) you'll perceive a performance boost, and by configuring only your needed modules and options you can obtain even more...

BUT it is not easy to convert that 'performance boost' in game FPS, because there are a lot of other factors, not only the kernel.

For example most users need to disable compiz before running their games or they loose precious FPS :)


On another computer, open the terminal, and go the flash drive with the cd /media/your_username/drive_name command on Ubuntu. Next, run:

apt download package_name

and the .deb file will be downloaded onto the flash drive. Next, go onto the computer you would like to install the package on, and in a terminal, run:

sudo dpkg -i /path/to/deb/file.deb

Be sure that both machines have the same CPU architecture, or else there will be errors. If this is the case, just search for the deb file online for the right CPU architecture(i.e. x86_64)

Also, as noted by wjandrea, both computers should be the same version of Ubuntu, or you may run into problems.


Over the coming weeks we should see a better system for creation and submission of new webapps.

In the mean time!

First start would be to check out lp:webapps-applications repo you can look for example in src/Twitter. You will need to write a manifest.json, and a .user.js.

If you end up writing the script, please merge propose to lp:webapps-applications, then we could throw it in to the packaging system for everyone!


.desktop opening in text editor rather than as an executable

.desktop files are text files, and thus are designed to open in your text editor. They only function to launch applications when placed in their specific context, i.e., when placed in /usr/share/applications, .local/share/applications, autostart folders etc. When placed on the Desktop (i.e. in the "Desktop" folder), they can be set to act as program launchers.
Still, if you wish, you could associate .desktop files to be opened with gtk-launch (installed by default in standard Ubuntu, see this Askubuntu answer) or dex (available in the software repository).


Where is the config for Samba's user-created shares?

Look in /var/lib/samba/usershares/

If you want a graphical interface for samba shares, with a few more options, try system-config-samba

sudo apt-get install system-config-samba


combine multiple audio files with slience between each audio file in sox

You need to insert a silent track between each track as you specify them so you end up with something like:

sox track1.wav silence.wav track2.wav silence.wav ... output.wav

You can do that manually (as above), or we can loop the current directory with an inline for-loop. Something like this should work:

sox -n -r 44100 -c 2 /tmp/silence.wav trim 0.0 2
sox $(for f in *.wav; do echo -n "$f /tmp/silence.wav "; done) output.wav

The silence-generator is stolen from here.


Impossible to trash files from a folder which is a symbolic link to a NTFS partition folder

I have not found any real solution for this but i do have a work around that is slightly less annoying that browsing to the downloads folder on the other partition.. i created a softlink to the Downloads folder in the downloads folder... I know this sounds weird but it does not throw up the error when you go to the 2nd downloads folder and delete something.

So basically this happens:
browse to ~/Downloads (which itself is a softlink to the other partition)
click on the "Downloads" softlink in that folder (which basically links to itself)
now you can delete files without the annoying error. its one extra click but saves browsing the other partition.


Opening up the created .desktop files in a text editor displays:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Gmail
Exec=/opt/google/chrome/chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default
Icon=chrome-pjkljhegncpnkpknbcohdijeoejaedia-Default
StartupWMClass=crx_pjkljhegncpnkpknbcohdijeoejaedia

When running the command /opt/google/chrome/chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default, however, I get the error:

/opt/google/chrome/chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Examining the file /usr/share/applications/google-chrome.desktop, which ships with Chrome, indicates that the correct executable path is /opt/google/chrome/google-chrome, not /opt/google/chrome/chrome. So the problem can be fixed by editing the created .desktop file, changing the Exec line from:

Exec=/opt/google/chrome/chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default

To

Exec=/opt/google/chrome/google-chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default


Cannot change resolution with 8th Gen Intel CPU in Ubuntu 16.04

This is what helped me on 17.10 with an i3-8100 and 4k monitor, should work on 16.04 too.

Do sudo vi /etc/default/grub or use any other editor.
Find GRUB_CMDLINE_LINUX_DEFAULT line and add i915.alpha_support=1 to its value. It'll look like GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.alpha_support=1"
sudo update-grub and reboot.

I've read somewhere we won't need alpha_support in 18.04.


where can I delete the password cache in krusader in xubuntu?

First of all, I don't know if Krusader uses a different password store in XFCE or any non-KDE environment, but in KDE it saves passwords in the KDE Wallet. Anyway, you could try to see if you find your password there.

You can start the Waller Manager by running kwalletmanager at a terminal or using Alt+F2. A window should open that will show your wallet; click it to open it in a new window.
In the wallet window, search for your ssh connection (or something like that) in the top text box, or expand Passwords -> Maps in the left tree. If you find your entry, just right-click it and choose Delete.

If the Waller Manager shows more than one wallet, you can find in the KDE System Settings which one is the default. Run systemsettings and go to "Account Details" -> "KDE Wallet"; the default wallet should be selected in a combo box labeled "Select wallet to use as default".

Of course, if there is no kwalletmanager in your system or you can't find your password in there, then Krusader must be storing them elsewhere.


Broken dpgk? Failure running script /usr/sbin/dpkg-preconfigure --apt || true

this means there is some problems in your configuration scripts since the DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";}; doesn't exist so you have to  create it.

Try this command to create it:

sudo sh -c "echo 'DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};' >> /etc/apt/apt.conf.d/70debconf"

To do it in steps:

open the /etc/apt/apt.conf.d/70debconf

 gksudo gedit /etc/apt/apt.conf.d/70debconf

Add this line and save it:

DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

Now try again


With physical access to your computer, it is possible to reset the password and log in to it to steal data. I would just take the hard drive out before bringing the computer in for service, but if you don't want to go this route you should probably encrypt the entire drive.


The devil is in the details of the output, especially:

Or the whole disk instead of a partition (e.g. /dev/sda, not /dev/sda1)

so you're trying to mount a disk, not a partition so instead do a:

sudo mount -t ntfs-3g /dev/sdb1 /media/external

to mount the first 1 partition on the second disk sdb (sdb1) and if that fails, do a:

parted --list

and take the number(s) that shows up for sdb as you might have multiple partitions on one disk. (In Windows speak: multiple drives on one disk)

If the drive would have been attached while the machine crashed (It shouldn't have been, that's what we call offline backups) try this.


how to delete failed install of ubuntu 12.10

I would not bother deleting it right now. The next time you will install a distro, simply install it over your Ubuntu 12.10 install, on the same partition. The installation process itself will erase your Ubuntu 12.10, and replace it with your new distro.

Otherwise, you can use a program like GParted to format the partition that Ubuntu 12.10 is currently installed on, this would delete it.


Apache virtual hosts not working (error 403)

The 403 error means that your pages are inaccessible for Apache.

Setting chmod -R 755 as you did, made it accessible for everybody on your system - every user, program, daemon etc. Furthermore, you have made all files executable this way (see this or this for mor info on permissions and executables on Linux).

More secure, yet simple solution, will be adding yourself to Apache's group (in Ubuntu its www-data) and then changing your Apache workspace to this group:

sudo adduser ahmed-saber www-data
sudo chown .www-data /home/ahmed-saber/workspace/
chmod 750 /home/ahmed-saber/workspace/

For more secure approach you could use Access Control List, which might be a little more complicated.

In situations like this, you can always check Apache's error log (/var/log/apache2/error.log). If you are developing web pages you can keep one terminal window opened with "live view" of logs (error.log or access.log or whatever), like this:

tail -f /var/log/apache2/error.log


Ubuntu 18.10 GUI does not load when NVidia drivers are installed

I had this problem and though it is too early to say if I fixed it, things seem better with a different display manager rather than the gnome (gdm3) that is the default with 18.10.  You can change to lightdm like this

sudo apt-get install lightdm
sudo dpkg-reconfigure lightdm

I don't know if the second command is really necessary.
The only problem I've seen so far is the dropbox status icon no longer shows up in the top bar.
I am running the 410.73 Nvidia drivers.


Partition resize after ubuntu on windows8

I think you have installed ubuntu via wubi. Please remove that and try installing at system bootup process. To do that Follow steps mentioned here.

And while installing you could choose do something else option to select the partition and swap area.I don't remember the correct options which the installer will show but they will be:

install side by side
remove windows and install
do something else.

Note: Please be sure the partition you select is the partition you want ubuntu to install. Selecting incorrect partition may wipe out the windows also.


How to authenticate googlecl using terminal

Okay, here's the solution:

After w3m failed, I just hit q,y, which takes me to a googlecl prompt to visit the url with my browser. I open that link in my local firefox (I'm connecting to the server with ssh) and authenticate it locally. Then hit enter in the ssh terminal, which works.


How to remove a record from bash tab completion options

Removing it from ~/.ssh/known_hosts may work - but this will remove the trusted connection thing if it works at all.


Install packages from terminal while other applications are running?

Since this is not Windows it is perfectly safe to install anything without closing other applications, opened applications are available as a copy inside the /proc folder (remember everything on Linux is a file, even processes). So you can install even an upgrade of your Browser while it is running, but a change will only happen in that moment when you choose to close all occurrences of your browser.


VirtualBox 4.3.22 with Windows 8.1 x64 sharing folder

The shared folder problems with Windows guests are a known bug, which can be fixed by downloading and installing VirtualBox Guest Additions 4.3.23 r98282.


How to correctly configure nova-compute to use FlatDHCPManager

I am using the following configuration now, and it is working:

nova-cloud-controller:
  network-manager: 'FlatDHCPManager'
nova-compute:
  config-flags: 'public_interface=juju-br0'
  flat-interface: eth0
  multi-host: 'yes'
  virt-type: kvm

This is necessary because of the juju-created bridge that is already on eth0, and prevents another bridge from being created.


Cant install aurees git client on Ubuntu 19.10: Dependencies not resolved

This package requires dependencies from older Ubuntu release.

Installing these dependencies manually will not work because of downgrades of core system packages.

I would suggest you to contact the developer about supporting Ubuntu 19.10 and upcoming 20.04 LTS.


Some application was holding them. After killing the application I was able to see the actual free space.


In FTP active and passive modes changing ports

FTP protocol differs from simpler protocols like ssh or HTTP in that it uses two ports (and two connections) simultaneously.
The port you initially connect to is the command port. The connection to this port is active until the session is terminated and all commands are sent to this port.
When you issue commands that start data transfer - like get or put - another connection (called data connection) is established on another port (data port). This connection is from server to client in active mode and from client to server in passive mode. This connection lasts only for the duration of the data transfer and it is closed after the transfer is finished.


Does Ubuntu 16.04 server supports kernel version 5.4?

Ubuntu 16.04 offers two software stacks

the GA (general) kernel stack is 4.4, which is the original kernel it released with and is supported the entire life of the product, or

the HWE stack, which progressed through it's life (using 16.10, 17.04, 17.10 before finally settling on 18.04's GA kernel) of 4.15

Those are the two fully supported kernel stacks of Ubuntu 16.04 LTS.
If you need a later kernel though, given Ubuntu 16.04 LTS is in it's final days of support (without switching to 16.04 ESM), I'd suggest upgrade.  I'd also suggest upgrade, or at least researching ESM if you need to remain on 16.04 and can use one of the supported stacks.
Notice of this can be found at Extended Security Maintenance for Ubuntu 16.04 Xenial Xerus begins April 30, 2021
For details on HWE please see

https://wiki.ubuntu.com/Kernel/LTSEnablementStack
https://wiki.ubuntu.com/Kernel/RollingLTSEnablementStack


Using -e option with sed to run sed from a script fails

The -e option of sed is to input a valid sed expression, not a file name containing sed commands, the -f option is for filename containing valid sed expressions.

In your case:

sed -e sedscript.sh

is being treaded as a substitution (s) operation of sed as the expression starts with s, with e as the delimiter for s (substitution), and sed is rightly complaining about the unterminated s (substitution) command.

Have fun:

% sed -e sedscript.sheFOOe <<<'dscript.shBAR'
FOOBAR

What you can do:

Your file is necessarily a shell script, you can simple execute that as so
Use -e to put the expession on the command line directly, -e is not strictly needed though:

 sed 's/^ *[0-9]\+.//g' tictactoeold.py >tictactoenew.py

 sed -e 's/^ *[0-9]\+.//g' tictactoeold.py >tictactoenew.py

Use the -f option, and just keep the sed expressions in the file only i.e. make the file sedscript as:

s/^ *[0-9]\+.//g

and then use the sed command as:

sed -f sedscript tictactoeold.py >tictactoenew.py


It is a bug, please watch https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1750013/comments/16, forwarding to https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1303649 from comment #17.


How to choose between 32-bit and 64-bit Ubuntu using a bootloader?

The Ubuntu bootloader (GRUB2) can boot any OS, 32 and 64bit. For example, if you install Ubuntu12.04 32bit and Ubuntu12.10 64bit or your disk, the GRUB menu will let you choose to boot "Ubuntu12.04" or "Ubuntu12.10".
If your computer is 32bit, you can't install any 64bit system on it
If your computer is 64bit, you can install 32bit systems and 64bit systems, but 64bit systems will manage better your hardware.


How do I mount SD Card on BQ Aquaris M10 FHD Frieza?

In the file manager application, have you tried to unlock the acces to the SD card ? (on the upper right corner of the screen you can see three lines for more options, including unlocking acces to the sd card)


Can I close software center while installing things?

You can close the software center application while installing packages.It won't affect the package installation.Installation of packages would run on the background.


This should work:

sed -i .bak 's/[^:]*: *//' file

Explanation: The -i .bak will edit the file in place, and create a backup of the original called filename.bak. s/pat/replacement/ means substitute pat with replacement. [^:]*: * means match the longest string of non-: characters, followed by a : then one or more space. The final result is that it will delete everything up to the first : and following spaces.

This approach has the advantage of working with data: or foo: or whatever and will also work if you have multiple : on the same line. For example, it can deal with this:

data: a line that contains : a colon!


Can not create hotspot after upgrade from 11.04 to 11.10

The solution:

To fix this, I added the following three lines to the bottom of /etc/modprobe.d/blacklist.conf

blacklist bcma
blacklist brcmsmac
blacklist brcmutil

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/863799/comments/3

Thanks for help...


After updating 12.04 to 14.04 or newer on my Laptop Dell XPS14Z a button 'eject' on keyboard has stopped working

just create a custom keyboard shortcut

Go to System Settings -> Keyboard -> Shortcuts and add a custom keyboard
shortcut running the command 'eject'.  Then assign that shortcut to the
key on your laptop.

If somehow you have multiple ejectable drives, you'll have to specify in
the command like 'eject /dev/cdromX'.  If you've only one drive, just
'eject' should work.


How can I change the icons of window button?

This will involve changing your theme. But what you can do is create your own theme.

Its not as hard as it seems:

copy a base theme
replace the images currently used with the ones you want to use
choose the theme you just created in appearance settings.

You can find a more detailed instruction about changing Ubuntu window icons here


Hibernating while installing Ubuntu 14.04

start the application "gparted" from the live cd.

Right-click on the 500GB Ubuntu partition and select "resize / move".

Resize the partition to 250GB or half the current size.

Click on the check mark icon to apply changes.

Right-click on the "unallocated" partition, select "New", format "ext4", and then click "label" and name it "2" click the check mark icon to apply the changes.

Now, right-click on the new partiton "2". Select "resize" and make it about 2 or 4GB smaller. Click the checkmark icon to apply the changes.

Right-click on the new "unallocated" partition, select "new" and format "linux-swap". Click the checkmark icon to apply the changes.

Okay, now close gparted and click to install ubuntu. When you get to the part of the installation that asks if you would like to install Ubuntu to the entre disk or would you like to install it along side Ubuntu, select the option "Something Else" down at the bottom.

Here you will be taken to a window similar to gparted.

Right-click the partition labeled "2" that you created earlier and select the mount point " / " . Click continue to apply changes. Select yes for the changes to be made and continue with the installation.

This will install ubuntu to the last half of your hard disk and leave the first half where windows was installed open so you may be able to recover some of that data.

See here on data recovery https://help.ubuntu.com/community/DataRecovery

Also, when the installation goes into hybernation mode, it's not really in hybernation. The screen goes black to save power but you can re-open or turn the screen back on by pressing any key on your keyboard.

If that does not work, press CTRL + ALT + F2 and then press CTRL + ALT + F7 and that should take you back to the main screen.


Go to pulseaudio --> output devices --> click on the lock. Worked for me. When hovering over the lock, it says lock channels together.


Identify ethernet Interfaces

 ifconfig -a | grep eth

To see more information regarding ethernet

sudo lshw -class network

For more Information refer to Docs


It is not that hard to install Ubuntu alongside Windows:

If necessary, install Windows first. Check that the Windows C: partition is not encrypted with Bitlocker. You can use the partition manager of Windows to reduce the C: partition size, if there is no unassigned space on the harddrive (do not touch boot/hidden/reserved partitions).
Download the Ubuntu installation ISO file, probably the "AMD 64" version (that's for most modern computers). Burn that disk image on a DVD or make a bootable USB-stick. Then boot your computer with it (maybe you need to go into the computer's BIOS/UEFI first, to change the boot order or to disable secure boot). Then your computer should boot Ubuntu from the DVD/Stick. When you select to install it, check the option that says "install alongside Windows". Then it will automaticly create a partition from the unassigned space and install Ubuntu on it. That's it!

If you have good luck, then your computer has only standard hardware and configuration, and you will not run into trouble during the installation process, and everything will work fine afterwards. However, there are so many things that can differ from what Ubuntu can handle, that the only way to find out is to try out yourself or check the web for reports from other users who own the same computer.


How can I install a package without root access?

Apt doesn't support it directly, but there are ways to do it.

One is to use schroot to create a non-root chroot. This is a somewhat involved process, but one you should be able find community help for as many developers set up chroot environments for compiling code.

The second way I know of is to install from a .deb package. You may be able to download this from a web site or if it's in the Ubuntu repositories you can download with.

apt-get download package

Replace package with the name of the package

Once you have your deb file call dpkg directly from the command line. The following example will install package.deb into your home directory.

dpkg -i package.deb --force-not-root --root=$HOME

The disadvantage to using dpkg like this is that error messages are likely to be cryptic; dpkg doesn't automatically resolve dependencies or create the directory structure it expects.

Finally, you could use the apt-get source command to fetch the source of the package and configure it to install locally. Usually this looks something like:

apt-get source package
cd package
./configure --prefix=$HOME
make
make install

The disadvantage to this approach is that you need the development environment available for this approach to work at all, and you might find yourself compiling dozens of packages in order to resolve all the dependencies.

EDIT:

As dpkg -i doesn't work (see comments), I suggest this alternative:

dpkg -x package.deb dir

This will extract the .deb package to dir. Then you can export the PATH where the binary is. As long as all dependencies of the binary are installed, it should run as normal.


Gnome terminal does not take lowercase 'a' input from keyboard

OP's own answer:

Finally I found an alternate soution: I had added the line "

bind '"a":self-insert'

in the /etc/bash.bashrc file and that solved the problem.


Bitlocker-encrypted Windows and LUKS-encypted Xubuntu in Dual Boot

Put Windows on sda and only install grub2 on sdb where you'll have Linux.

Leave the 250GB data partition unsecured. Doesn't sound like a problem


How can I use KDE filepicker dialog in GNOME apps?

The GNOME filepicker is part of the GTK toolkit and stays the same no matter what desktop environment you use.

There is no way to use another filepicker other than programming your own and patching GTK to use it.


The Amazon ads are specifically part of the Unity shell. Xubuntu uses the Xfce desktop, not Unity; Xfce provides its own panel and run dialog. So yes, the feature will not be activated when running an Xfce session.

Alternatively, it's possible to use Unity with the Amazon search results disabled: How can I remove Amazon search results from the dash or disable the feature?.


There are plenty of guides to show you how to create a bootable USB. You can refer to one of them. e.g.  how to make a bootable usb for ubuntu 16.04


Hide hidden files and directories in file upload pop-up explorer

A shortcut key to show/hide hidden 'dot' folders is: Ctrl+H.

This key is part of Nautilus and such (also GNOME I think) to toggle the displaying of hidden files and folders.  Try that shortcut key in that window, see if that helps.


allow all users to read/write any files/folders on 2nd drive regardless of who created it

What you're trying to create is a "world-readable" mount...  Not very secure, but if that's what you want, you should not only allow the group, but also the user and others to read and write.  Ideally, you would also like to do that for the already existing files recursively
So change:
sudo chmod g+w /files

to:
sudo chmod --recursive ugo+rw /files

However: absolutely, positively don't come back here to whine and complain after one of the users deletes the entire directory structure of another user to make space to store his/her/its collection of pr0n.
;-)


How to change Spread all windows animation speed?

Try to install CompizConfig Settings Manager from Ubuntu Software Manager.
In Animations area you should be able to change the speed.


GRUB failed to install during boot-repair

There can be several reasons, can review which may apply.
Locked BIOS or security (may be called Boot sector virus protection)  in BIOS prevents writing to MBR.
Similarly for UEFI, some have a defective efi partition that will not write to.

Also if you have RAID or Intel SRT, or created partitions with Windows and converted to dynamic partitions which do not work with Linux or you installed Windows in MBR mode to a drive that was previously gpt and you have left over gpt meta-data.


Web Apps don't show up in launcher or messaging menu

There seems to be a bug, look at this bur report:
bug report at launchpad


Myunity is not supportable currently But you can use Ubuntu Tweak, it is also nice tool for customization.

Just Run following commands in terminal to Install Ubuntu Tweak.

sudo add-apt-repository ppa:tualatrix/ppa

Here add-apt-repository  adds repository

sudo apt-get update

sudo apt-get install ubuntu-tweak


Fingerprint-GUI login ISSUE with new 18.04 LTS

Ubuntu 18.04 minimum dist comes with gdm3 pre-configured when you perform a clean install. While the docs here FingerpringGui Docs Do say its 18.04 compatible i have been having issues trying to get it to login in using a fingerprint hiding the user login and using the finger to find user and password. (This is risky to do so don't do it unless you can be sure it works)

After trying many different options i finally came to the solution on just removing gdm3 and installing lightdm.

sudo apt install lightdm

when asked which should be the default display manager select lightdm

There is no need to reinstall fingerprint-gui just open
click on the settings tab and verify that

a) lightdm, gnome-screensaver, sudo and su are not greyed out.
b) Check all the tests pass.

You should now be able to use the fingerprint scanner for all of the above.
If you test lightdm or gnome-screensaver and you get ok, but the test button is grayed out. Don't panic hit enter.

Restart your computer and voila.

With 18.04 for now I would wait before removing the login inputs and using the fingerprint-gui, 1 to many function that helps to find a user and password.


You can try:

Ctrl + Shift + Y

or Tools -> Downloads


This is bugs occurring in new 18.04 release, please refer to this link to follow-up the issue: https://bugs.launchpad.net/ubuntu/+source/ubuntu-themes/+bug/1773045.

There are already (temporary) fix to make the message/warning disappear, please run following command on terminal:

cd /usr/share/themes/Radiance/gtk-3.20/apps
sudo ln -s gedit.css gnome-builder.css

Source: https://bugs.launchpad.net/ubuntu/+source/ubuntu-themes/+bug/1773045/comments/3


e1000e error -3 and UNCLAIMED network interface

I was facing the same issue on Ubuntu 16.04 and I found a workaround.

In my case, ethernet network was not working after a cold boot (after a restart, it was working).
The error was the same as yours : e1000e: probe of 0000:00:19.0 failed with error -3 and a lshw -c network was giving me an unclaimed as result for the ethernet controller.

I also tried a lot of thing (updating e1000e driver, bios, change WOL parameters on bios, etc,etc ...) : all of that failed.

As a workaround, I added this line in the /etc/rc.local file :

rmmod e1000e && modprobe e1000e

on a line before the exit 0.

Before doing that, you should try to boot normally, and then check if a sudo rmmod e1000e && sudo modprobe e1000e makes your ethernet controller work.

Hope that helps.


Is it possible to use nmcli completely without nm-applet?

First of all let me say that nm-applet can be used in environments other than Gnome: I used it successfully in awesome and in openbox.

nmcli do not provide the same functionalities of nm-applet, e.g. you cannot configure new connections.

A valid alternative to connect to wired or wireless networks from command line is wicd-curses.


This happens when you use an American keyboard with UK English selected. Upper right corner click on EN1 and change it to EN2


You can build Perl from source, then placing them to /usr/local/bin.

Download perl tarball file from their website, unpack it.

wget https://www.cpan.org/src/5.0/perl-5.22.0.tar.gz
tar -xvzf perl-5.22.0.tar.gz
cd perl-5.22.0/

Proceed to installation through make.

./Configure -des -Dprefix=/usr/local
make
make test
sudo make install

This will install Perl version 5.22.0 to directory /usr/local/bin, which you can call the executable as /usr/local/bin/perl.

:~$ /usr/local/bin/perl --version

This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux

Copyright 1987-2015, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Although the most logical way would be replacing the shebang line to exactly /usr/bin/perl, you can do so by.

find /path/to/script -name '*.pl' | xargs perl -pi -e 's{^#!/usr/local/bin/perl}{#!/usr/bin/perl}'

Will change #!/usr/local/bin/perl → #!/usr/bin/perl.


I faced the same problem, so I removed lightdm (sudo apt-get remove lightdm) and reinstalled it after restarting my pc, which solved my problem. If it is still not working, open light-locker-settings and make sure Enable light-locker is off.


Upgrading to kernel 5.9 sorted this problem out, as older kernels are not able to deal with AMD CPUs and Nvidia graphs cards together, apparently.


/boot/grub/grub.cfg is autogenerated: do not manually edit it! The proper way to customize your grub installation is to modify /etc/default/grub (and any configuration file under /etc/default/grub.d, if they exist) and run update-grub as root when done.


Is there any API Document Browser like Dash on Ubuntu?

You might want to check out Zeal. I just started implementing it this weekend. It's intended to be a documentation browser like Dash, working on Linux.

Here is a screenshot:


How to prevent certain applications from accessing the internet?

You can use apparmor.

  AppArmor ("Application Armor") is a security module for the Linux kernel, which allows the system administrator to associate with each program a security profile that restricts the capabilities of that program.

You can use deny statements to prevent applications to access network.
Take a look into this tutorial for more information.


Try reinstalling it. Try this instead:

Open Terminal
type sudo apt-get install --reinstall software-center

Do not try opening it from terminal. You're just doing more work.

I had this problem many times and I tried doing so many things and none of them worked.


How can I install brasero in Ubuntu 16.04?

It's probably repository issue, Your /etc/apt/sources.list doesn't contain what is needed.

sudo echo "deb http://cz.archive.ubuntu.com/ubuntu xenial main universe" >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install brasero

For more informations You can check this article: http://packages.ubuntu.com/xenial/brasero

Edit:

If you're using Ubuntu 18.04 LTS Live CD, you can check the Universe checkbox in "Software & Updates" (second one in screenshot) from the "show applications" menu.


Is there a tool to check the entire computer for errors?

You can run a memory test from the Ubuntu CD using Memtest+.  Another option that I use is the Ultimate Boot CD.

Also there are tests that exercise the hardware at high speeds using a wide variety of number values or data patterns with results being checked for correctness.  These tests are called the Linux Burn in Apps.

Also available at Ubuntu Apps is the Cerberus Test Control System.

  The Cerberus Test Control System is a test suite for use by developers
  and others to test hardware. It includes a modular test system that
  allows you to build and integrate your own tests, however it comes
  with a solid hardware stress-testing configuration.

  CAUTION: This package is designed to stress-test hardware components,
  and as such can lead to crashes, data loss or hardware damage. Do not
  use this package on machines that you can't afford to lose.

To install click Hardware testing/burnin suite .

A good site to look at is Linux Stress Testing and Benchmarking

Hope that helps

Source:Ubuntu Apps


How do I install Ubuntu on VirtualBox on Mac? (OS X El Capitan)

Following is the step-by-step guide for you to install Ubuntu on VirtualBox on Mac OSX:

At first open your VirtualBox app. When VirtualBox opens, click the New button.

Give your “virtual machine” a name (something descriptive is good, but it doesn’t matter). Make sure the Type: is set to Linux and the Version: is Ubuntu (64 bit). Then click the Continue button.

Now you’re going to decide how much memory (RAM) you’re going to allocate to Ubuntu when it’s running, and how much to leave for OS X. As illustrated in the screenshot below, my total RAM is 4GB, so I allocated half of it to Ubuntu, and the other half to OS X. The more memory you give to Ubuntu, the faster it will run. The drawback is that OS X will have less to use while Ubuntu is running. At a minimum, give Ubuntu at 1GB (1024MB) of RAM. When you’ve decided how much memory (RAM) to give Ubuntu, click the Continue button.

On the Hard drive screen, select Create a virtual hard drive now and then click Create.

Now select VDI (VirtualBox Disk Image) and click Continue

Select Dynamically allocated and yep – you guessed it – click Continue

Give the “VirtualBox Disk Image” a name (again, doesn’t really matter, but descriptive is always helpful). Use the “slider” to determine the size you want to make the “hard drive” for Ubuntu. At a minimum, you’ll want to select 6GB – and that will not allow for you to install many programs, let alone store files etc. Keep in mind that because you selected “Dynamically allocated” in the previous step, that does not mean that VirtualBox is going to take up that space right away. It means that as Ubuntu needs more space, it will allow the “hard drive” to increase up to whatever size you set at this step.
As illustrated in the screenshot below, I opted to give Ubuntu 8GB. That’s enough for the installation and to install quite a few programs. If you have a big hard drive, you might as well allocate more rather than less, again – the space won’t be used until it’s needed. After you’ve made your selection, click Create.

Almost time to install Ubuntu! Click the Start button.

Right away you’ll be prompted to locate a file. Click the “folder” icon next to menu that says Empty (see screenshot below).

Navigate to the Ubuntu .iso file that you downloaded. Select it, and click Open

Now click Start

As Ubuntu boots for the very first time, VirtualBox will ‘pop up’ little messages explaining how the keyboard and mouse will work with your new ‘virtual machine’. Read them, then click the little X to close them.

Finally! Click Install Ubuntu

Ubuntu will run a quick test to ensure your computer is capable of running on it. Once it’s passed those tests, make sure to place a check in both of the boxes – Download updates while installing and Install this third-party software – then click the Continue button.

Select Erase disk and install Ubuntu. NOTE: this is not going to ‘wipe out’ or erase any data in OS X. None. It is safe to click Install Now, so do just that.

Click Continue

When prompted, select your Time Zone and then click Continue

Select the keyboard layout and language you want, then Continue

Fill in each field with the required information. When you’re done, Continue

Now it’s time to sit back and relax with that cup of coffee or tea. This may take a bit.

Yay! It’s done! Click Restart Now

If Ubuntu doesn’t start loading, and you’re left at a screen with what looks a bit like gibberish, have no fear. Click the OS X “Close” button (the red one in the upper left corner).

Select Power off the machine and click OK. You’ll be left back at the main VirtualBox window. Just click the Start button again.

And you’ll boot into Ubuntu! Enter your password when prompted.

Welcome to the Ubuntu Desktop! At this point you should be connected to the Internet and completely ready to go – have fun!


What are private packages in the ubuntu Repository?

These are packages contain qt's private headers, Debian states that you should use them at your own risk and if you take a look at their source code you will see a lot of comments like:

//
//  W A R N I N G
//  -------------
//
// This file is not part of the Qt API.  It exists for the convenience
// of other Qt classes.  This header file may change from version to
// version without notice, or even be removed.
//
// We mean it.
//

to inspect the source yourself:

apt-get download package-name
dpkg-deb --extract package-name.deb .

There are other private packages too, e.g:

apt-cache search --names-only private

let's check digikam-private-libs, and from Debian's description:

  This has no use for anything else than digikam, since the libraries are installed in a private library path.


Notification and indicator applets in Gnome Classic

By default only 'indicator-applet-complete' is available in the new gnome, but you can install more tailored indicator applets:

sudo apt-get install indicator-applet indicator-applet-session

Perhaps these can give you what you want.


Custom Ubuntu 18.04 LTS Desktop ISO won't boot in UEFI

Ok, I followed the instructions here & was successful:

https://linuxconfig.org/legacy-bios-uefi-and-secureboot-ready-ubuntu-live-image-customization

I think what got it working for me was creating the isohdpfx.bin file from the original ISO:

$ sudo dd if=ubuntu-16.04-desktop-amd64.iso bs=512 count=1 of=custom-iso/isolinux/isohdpfx.bin

Whereas before I had installed the isolinux package to get it from /usr/lib/ISOLINUX/isohdpfx.bin


After searching for a long time I discovered that the gear is hidden if the evince window is too narrow. So widen the window to see the gear.


I had the same problem with my HP Envy 14.

Press any key when the small logo appears at the bottom to enter the advanced start page.
Then press F6 for other options (but don't select anything), press Esc to return to the Boot Options line. There you should add

radeon.modeset=0

Now you can install Ubuntu and as soon as the screen goes dark simply press the brightness key F3.

Worked for me :)


How to add the text before the line in whole file?

If you want the original to be intact:

sed 's/^/127.0.0.1 /' domain.txt > new_domain.txt


Packages needed in Custom Image of Ubuntu to work with Juju

That should be all thats needed. Juju will self-bootstrap any additional packages needed via cloud-init.


apt-get dist-upgrade doesn't fix 'The following packages have been kept back'

That means they've been kept back for a more difficult reason than new dependencies or needing the removal of other packages. Try apt-get install libavdevice53, which will try a bit harder to upgrade that package. You may find that it wants to remove something you don't want removed.


Try these websites...you might find your answer there:

Can't install libglew-dev because libcheese and libclutter don't have the required versions
Steam Install Error on 14.04 Ubuntu 64bit
https://bugs.launchpad.net/ubuntu/+source/unity-control-center/+bug/1428972/comments/7


Place Compiz Static Application Switcher always on a certain monitor

If you mean the "alt+tab" (I don't know how it's called), then it doesn't have a Class.

It has however a Name: Switcher.

You can find everything by using xprop:

sleep 2 && xprop -id $(xprop -root _NET_ACTIVE_WINDOW | cut -d\  -f 5)

Type this in a terminal, then press alt+tab without letting the alt key up, and you will get the results for the Switcher window.

EDIT: The following is the full output of xprop for the switcher window. Apparently it doesn't work on every situation.

_NET_WM_ICON_GEOMETRY(CARDINAL) = 7, 733, 48, 48
XKLAVIER_STATE(INTEGER) = 0, 0
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
_NET_WM_DESKTOP(CARDINAL) = 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_ABOVE, _NET_WM_ACTION_BELOW
XdndAware(ATOM) = BITMAP
WM_NAME(STRING) = "Switcher"
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK
_NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER, _NET_WM_STATE_FOCUSED


"Sorry, user user1 is not allowed to execute '/bin/ls' as root on hostname"

I found the problem in the file /etc/sudoers.d/user1.
I had set user1 to execute only sudo bash command and forgotten about it.
Thanks muru for suggesting the sudo -l command.
user1   ALL=NOPASSWD: !ALL, /bin/bash


How to use @ubuntu.com email address using Thunderbird?

You can create a dummy @ubuntu.com account in Thunderbird and configure it so that it uses your gmail SMTP settings. What you did wrong above is that you tried to set up a IMAP/POP/SMTP server for ubuntu.com, which are not available.

See more at http://chrisjohnston.org/2010/send-ubuntu-email-on-iphone

If you were to use your Web browser to access GMail, there is an option in Settings/Accounts to add the new identity, and therefore send email as @ubuntu.com.


Nvidia driver update on ubuntu 18.04. 1 live usb.!

Nvidia graphics drivers are not working on persistent drives, The video driver needs to load before the persistence file and that is not possible.

Nvidia drivers do work with a Full install to USB, Nvidia is now smart enough to not load the drivers on a computer that does not have an Nvidia card.

You need a bigger drive for a Full install, at least 8GB.

Step by step instructions are here: How to keep files on usb after rebooting?


How can I fix my Sony Vaio, Model: PCG61a12 grapics problem in Ubuntu?

Linux generally has worse to far worse support for OpenGL games, at least under Intel HD Graphics.

What you're experiencing is the poor quality of Intel drivers under Linux.

Sorry to say this, but stick to Windows for gaming until Vulkan comes out on Linux.


ldconfig didn't remove a symlink when a library was deleted

ldconfig is completely depending on the specified config file you put in /etc/ld.so.conf.d or specified in /etc/ld.so.conf file.

If you delete some dynamic libraries which have already been cached in ldconfig, and then the symbol links which created by ldconfig will be deleted automatically if you ran the ldconfig after your deletion.

But if you delete your specified config file as well before you ran the ldconfig command, the broken symbol links can't be deleted.


Does Ubuntu Mate 18.04 Have an option for "scroll inactive windows when i hover over them"?

Yes this is possible on all current versions of Ubuntu MATE.

Just tested on Ubuntu MATE 18.04 LTS with two MATE Terminals - one active and and one unfocused.
If I scroll (rotate mouse wheel) over unfocused window, it scrolls as expected:


How do I add a public key for a private debian repo when using juju to deploy a service?

For the OpenStack charms a key for a deb url source entry can be specified in the openstack-origin config setting separated by a pipe character. When the key is included as part of the openstack-origin setting, the charms will attempt to import the key from keyserver.ubuntu.com.

e.g. juju set openstack-origin nova-compute openstack-origin="deb http://ppa.launchpad.net/billy-olsen/testfix-kilo/ubuntu vivid main|FA0FD8E1"

One thing to note is that the OpenStack charms use the openstack-origin information to determine which OpenStack release is being installed. As such, it is very important to include the codename of the OpenStack release in the the deb mirrors or ppas. Failure to do so will result in errors when deploying the charms.


What are the differences of "/" and "/home" separately

The /home directory is the directory in which all the directories which belong to users are stored, so for instance if your username is sandwich then your home directory (where all the stuff to do with your user is stored) will be in /home/sandwhich (also known as ~).

The / directory which is known as the 'root' directory is the directory in which all other directories are. So for instance these are all the folders and files in a standard root directory:

bin    dev   initrd.img      lib64       mnt   root  srv  usr      vmlinuz.old
boot   etc   initrd.img.old  lost+found  opt   run   sys  var
cdrom  home  lib             media       proc  sbin  tmp  vmlinuz

Each has its own use (for instance you will even see the home directory in there). For more information on the other directories in the root directory please see this answer.


Errors were encountered while processing: /var/cache/apt/archives/apport_2.20.1-0ubuntu2.6_all.deb

i had the same error, so I'm fixed it using this

sudo dpkg --purge path/package.deb
sudo apt-get -f install
sudo apt-get update && sudo apt-get upgrade


NetworkManager is supossed to create a file everytime it connects to a wireless connection?

Network Manager creates a file every time there is a successful connection. The details are saved  in /etc/NetworkManager/system-connections/
As an example, your file may contain an entry like /etc/NetworkManager/system-connections/preto_router.nmconnection
If you have set Network Manager to connect automatically, then when your computer is booted or when airplane mode is turned off, when the wireless device scans and sees an access point whose SSID, as well as the MAC address, password, etc., are stored in system-connections and when ‘Connect automatically’ is set, then the wireless device does just that: connect automatically.


I have been struggeling to get the DAC working also.
The solution was to add the user accessing the DAC to the audio group


You can Install Pf-Kernel By following: (If it is not available with PPA)

First Download deb packages,

linux-headers-3.14.0-pf1+_3.14.0-pf1+-10.00.Custom_i386.deb
linux-image-3.14.0-pf1+_3.14.0-pf1+-10.00.Custom_i386.deb

Then install packages by sudo dpkg -i and reboot.

Instruction for 32 & 64 bit is given on here.


In my experiences using Ubuntu If one distribution does not work try another, 99% of the time one will work.

We don't know what the error message you are getting so we can only guess if may be a bad ISO file maybe not burned correctly.

If you have another USB drive you may also want to try that one also because they do get corrupted from time to time.

Also make sure you have the correct setting in your BIOS it differs with most machines.


Dealing with failing drive in logical volume

You are looking for raid.  A raid5 array can suffer the failure of a single drive and keep on chugging.  You only get (n-1)/n as much storage though, or 2/3 the space for a 3 disk array.

As for how to recover now, the first thing you want to do is get a fresh drive and clone the contents of the failing drive onto the fresh one using dd or dd_rescue.

On the other hand, raid is no substitute for proper backups, since there are plenty of other things that can eat your data besides a failing drive, so whether you use raid or not, you still need to keep proper backups if you would mind terribly much if you lost the data.


Recommended partitioning scheme considering upgrades, dual/triple booting, multi-distro, and software settings

Seperate homes for any linux is advisable. Even between the same Ubuntu I would advice that. For instance: Ubuntu 11.04 classic and Ubuntu 11.04 Natty use the same files for ubuntu software center. See this: Why are my two ubuntu installs on separate partitions sharing the same apt-get data?
The potential for messing it up is not worth the risk (to me).
Yes, it can mess it up.
AFAIK yes it would work. If it doesn't all you need to do is change the UID of that user to the same UID and all should be normal.

Ask yourself what you need inside your home folder. MY setup would be like this with 2 320 Gbs in my notebook:

/ 10 Gb Ubuntu
/ 10 Gb Fedora
/ 10 Gb Mint
swap 5 Gb
/home Ubuntu 10 Gb
/home Fedora 10 Gb
/home Mint 10 Gb
/datapartion remainder Gb
/datapartion2 320 Gb

I then remove ALL directories inside all these /homes and recreate them in /datapartition. So
/datapartion/Desktop /datapartion/Downloads /datapartion/Pictures etc and then use a symlink inside the /homes to have all desktops share the same files.

ln -s /datapartion/Desktop ~/Desktop/
ln -s /datapartion/Downloads ~/Downloads/

Side effects:

Removing 1 system does not affect any of the other setups;
Adding another Linux does not affect the other setups;
Formatting the whole system lets me keep all my files (you format all the /'s and /homes and after re-installing your same desktop is 1 symlink and 1 F5 away.
I use seperate home partitions: if you want to reinstall 1 OS but KEEP the home settings you can just mount home (It seems you can do this from the installer nowadays so this might be obsolete but I keep forgetting that).


QML is "Qt Modeling Language", it's a quick and easy way of developing Qt applications using a simple markup and Javascript rather than C++.

The Developer Portal has the most resources, including a tutorial on QML: http://developer.ubuntu.com/apps/qml/tutorial/


I fixed it using the command

sudo dislocker -r -V /dev/sdb -uMyPassword -- /media/bitlocker

(no number after /dev/sdb)


Chrome show errors "Your connection is not private"

Installing the Network Security Service libraries package with

sudo apt-get install libnss3-1d

solved it for me.


Installing Ubuntu on Macintosh PowerPC, no CD-drive, USB boot not working

I just did this with an iBook G4 (PowerPC CPU) and did a whole blog post about it! You can install Ubuntu via USB, but it requires some tricky hackery. You can read the whole post here, but I'll provide the basic steps in this answer.

Download the correct ISO & make a bootable USB stick however you want.
Stick the USB stick in the Mac & start the Mac up while holding Command + Option + O + F. This will boot the Mac into Open Firmware. Once you see the screen go white with some text on it, you can release those keys.
Type boot ud:,\\:tbxi and the Mac should start booting from the USB.

From there, it's relatively smooth sailing, depending on your hardware. If you have any issues, comment on my answer and I'll do my best to help you!

If you're the more DIY person and want to figure out solutions on your own, read the PowerPCKnownIssues wiki page - it's a great help.


I am assuming you installed Ubuntu 18.04 Server when you followed the tutorial.

If so, I think the problem might be related to the version of Java installed. In 18.04 the package default-jre-headless installs OpenJDK 11. I tried with this and received the same error as you.

It looks like it does work with OpenJDK 8 and you should be able to resolve this as follows:

Remove OpenJDK 11

sudo apt remove default-jre-headless
sudo apt autoremove

Add Universe Software Repository (Required for OpenJDK 8)

sudo add-apt-repository universe

Install OpenJDK 8

sudo apt install openjdk-8-jre-headless

Amend bashrc

Open the file ~/.bashrc and amend the line you added previously to:

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

Re-run the amended file with source ~/.bashrc and then try running karaf again.


Host is unreacheble with static networking configuration via /etc/network/interfaces while GUI NetworkManager is ok

Your gateway is outside of your network

address 10.1.1.50
netmask 255.255.255.0
implies network from 10.1.1.0 - 10.1.1.255

as you can see geteway 10.0.0.1 falls outside. Check the subnet on your gateway and assign ip within that range


How to remove all traces of python from Ubuntu

Please don't.
Ubuntu relies heavily on different Python versions for functionality. New releases of Ubuntu are slowly shifting to Python3, but older versions of Python are still in use.
You can list some important Ubuntu and Gnome packages on your system that depend on Python3, for example, like so:
apt-cache rdepends -i --installed --recurse python3 | \
grep -v " " | sort -u | grep -E "ubuntu|gnome"

On Ubuntu 20.10 desktop, these important packages are among them:
gnome-control-center
gnome-session
gnome-terminal
network-manager-gnome
ubuntu-desktop
ubuntu-desktop-minimal
ubuntu-drivers-common
ubuntu-minimal
ubuntu-release-upgrader-core
ubuntu-release-upgrader-gtk
ubuntu-session
ubuntu-standard
ubuntu-system-service

Moreover, there is no such Python clean state. Each system update and each package you install might bring with it Python related dependencies.
You can however use pip or pip3 to uninstall only packages you previously manually installed and even this is not totally risk free.
If you have already removed Python, try this or this if you need a fix. Chances are little though. If you manage to fix it, you are lucky.
Golden rule... Leave the snake alone.

That being said, use a Python virtual environment for your Python projects and you shouldn't be needing to clean or go back to clean state Ubuntu system Python.
Python virtual environments create an isolated environment for your Python projects. This means that each project can have its own dependencies, regardless of what dependencies the Ubuntu system or other Python projects have.
This feature can be installed for Python3 like so:
sudo apt install python3-venv

To make a Python3 virtual environment for a project, you would first create a directory and cd to it like so:
mkdir my_env && cd my_env

Then, create a new Python3 virtual environment inside the directory like so:
python3 -m venv env

This will create a structure like this:
$tree -L 3

.
└── env
    ├── bin
    │   ├── activate
    │   ├── activate.csh
    │   ├── activate.fish
    │   ├── Activate.ps1
    │   ├── easy_install
    │   ├── easy_install-3.8
    │   ├── pip
    │   ├── pip3
    │   ├── pip3.8
    │   ├── python -> python3
    │   └── python3 -> /usr/bin/python3
    ├── include
    ├── lib
    │   └── python3.8
    ├── lib64 -> lib
    ├── pyvenv.cfg
    └── share
        └── python-wheels

To use this environment, activate it like so:
source env/bin/activate

Your shell prompt will show (env) like so:
(env) $

During this, Python3 commands, module installs or modifications will be contained locally in this virtual environment.
When you are done, deactivate this Python3 virtual environment like so:
deactivate

You are now back to the system-wide Python3 and commands will take effect globally so be careful.


sudo apt-get update command not performing all the task in Ubuntu 16.04 and finishes in 4-5 lines

Command apt update only updates the package lists. Open a terminal (ctrl+alt+t) and run:
sudo apt dist-upgrade

to upgrade the actual packages. People often combine the two as:
sudo apt update && sudo apt dist-upgrade

Hope it helps.


Which program (hex editor) can convert from hex code string to unicode?

You could just use xxd.  For example:

xxd -r -p <(echo 004100610061)

Of course that wont put in an extra new line so you might want to immediately invoke echo, too, for example:

xxd -r -p <(echo 004100610061) ; echo

Then again, maybe the crazy redirection makes those commands confusing, so perhaps it might be easier to follow what it does this way:

echo 004100610061 | xxd -r -p ; echo

xxd reads the input from echo and -r says to go from a hex dump back to binary, and the -p says forget about looking for address info in the hex dump, and then the echo inserts an extra new line.  So these commands are all just xxd reading its input from standard in, converting the hex values back into binary, and then displaying them.

Edit:
As @Rudd points out, this will just be binary output.  Your terminal will probably ignore the non-printable bits and stupidly interpret it as ascii, so stick some extra bytes on there and redirect your output to a file for a more accurate conversion.

For example, if you know your input is big endian utf-16:

echo feff004100610061 | xxd -r -p > output.txt

Then view the result in a unicode-aware editor.

For example:

vim output.txt

For other encoding BOMs, see wikipedia


Is there a Google Drive client available?

For Ubuntu 12.04 to 14.10
Apparently grive exists on a ppa - I installed it and it works reasonably well. This is preferable in my opinion over the google-docs-fs solution, since that doesn't put your files permanently on your drive, and grive does. Also, grive isn't a commercial venture like InSync - which is described as "free during beta".
The PPA for grive can be found on webupd8's site using these instructions:
Grive: Open Source Google Drive Client For Linux ~ Web Upd8: Ubuntu / Linux blog
One limitation that the current version of grive has is that it doesn't automatically sync your drive directory. But I found this blog post describing a script to fix this and make grive sync whenever a file in the drive directory is changed.
(This answer is originally based on @uri's comment, which has since disappeared)
EDIT: grive is now officially dead, but grive2 is a fork of the original version with some improvements.


The wireless switch is located on the right side of the unit.  Make sure its turned on.  See image below


Servers are in different subnets:

Server 1: 192.168.1.2/24 belongs to subnet 192.168.1.0
Server 2: 192.168.2.2/24 belongs to subnet 192.168.2.0

You have to set your router to allow both subnets can reach each other. Also, I suppose you have to set the routes in your serves because the message connect: Network is unreachable suggest me that there is no route configured.


I cannot activate my ATI/AMD proprietary FGLRX graphics driver (post-release updates)

FGLRX as showed by Jockey is Catalyst Version 11.8, the post release update WAS version 11.9 (I think they removed them) the newest one from AMD is 11.12, download the one from the AMD site.

http://support.amd.com/us/gpudownload/Pages/index.aspx


how can I update ubuntu v12.04 to v13.04 without using a internet connection?

13.04 Isn't an LTS so Canonical doesn't make a disk for it.  Canonical typically makes install media available for their LTS (long term support) OS editions.  The current LTS is 12.04.

When install media is available, it can be purchased here:
http://shop.canonical.com/index.php?cPath=17


What is the path to the kernel headers so I can install vmware?

cd /lib/modules/$(uname -r)/build/include/linux
sudo ln -s ../generated/utsrelease.h
sudo ln -s ../generated/autoconf.h
sudo ln -s ../generated/uapi/linux/version.h

After adding the symlink, the path is /usr/src/linux-headers-$(uname -r)/include (Thanks @Kariem!)


Error: Dependency is not satisfiable: libasound2 (>= 1.0.23) Wine

The installation depends on libasound2 (>= 1.0.23)

you can download this package from the link below

For current versions of Ubuntu use this link...

after download install the .deb package using

sudo dpkg -i package.deb

Here package.deb will actually be the name of your downloaded package name.


Where would I find instructions to drive "Ubuntu Web Browser"?

Move your mouse to the button of the screen, and click once, you will get all that.  See image below.


Shot in the dark: You probably are missing the proper codecs for the videos you are trying to play. Maybe review this website: https://help.ubuntu.com/community/RestrictedFormats


HP Omen Laptop, can't launch Ubuntu installer for Windows 10 dual boot

Try enabling Legacy Boot: I had it enabled when I dual-booted my HP Omen with Ubuntu.
Also, you likely need to additionally pass the pci=nommconf as a command alongside the modprobe.blacklist=nouveau that you already had. Without that argument, I also couldn't open the Ubuntu installer nor Ubuntu itself later.

I've written up all the steps I had to follow to successfully install Ubuntu alongside Windows on my HP Omen in this article: https://medium.com/@twinters/dual-booting-hp-omen-15-laptop-with-windows-10-ubuntu-276e19cc80dd

Hope this helps!


P.S.: Since I don't have enough reputation to comment, writing as answer

Did you check if its because your Firefox & Blender together are occupying all your RAM ? One way could be to open System Monitor and in it check:

Processes tab and sort by Memory column
Resources tab and check in Memory and Swap History section, the % of RAM used


apt-get install -f must be run as root, so run it like this instead:

sudo apt-get install -f

You'll be prompted for your password. As you enter it, you won't see anything, but that's OK--just type it in and press Enter.

That may fix your problem. If not, you can edit your question to provide more information (including the output of sudo apt-get install -f).


Reset Gnome.

First of all, backup your settings.

mkdir ~/backup_gnome
mkdir ~/backup_gnome/.gnome/
cp -R ~/.gnome/* ~/backup_gnome/.gnome/

Do this with these folders: .gnome, .gnome2, .gconf, .gconfd, .metacity

Another way is to backup ALL of your settings:

mkdir ~/backup_settings
cp -R ~/.* ~/backup_settings/

After making backups, you can delete all gnome settings:

rm -rf .gnome .gnome2 .gconf .gconfd .metacity

WARNING: If you remove all these folders, you essentially remove all the settings.

After resetting gnome, Logout and Login again (or restart your computer). You panels should be restored, now you can edit them again.

I hope this helped you, but try all the answers before mine, because resetting gnome is like reinstalling gnome.

Daniel


Problems migrating Virtualbox VM from one ubuntu server to another

The answer ended up being really simple. I had to activate ioapic in the settings on the new host.


How to install the latest version of pip when I already installed the provided by Ubuntu?

Its not a good idea to update the system python unless you are actually working on ubuntu code and have a specific reason to. There are a lot of system dependencies you can break by updating with pip instead of using the python libs in the APT repository.

If you are developing python applications and need to change versions of libraries then you should use either a the --user options to pip or create a virtualenv to store your users versions of the libs.

Both of these methods will gracefully fall back to using system libs if they don't have their own copies, virtualenv has more options on how to control that feedback.

pip with --user

This is as easy as just adding --user to the end of all your pip commands, this will put your python libs in ~/.local/lib/pythonX.X (where X.X is your python version number) , they will be looked for here first just be careful about doing this for root if you have to run via sudo as it may effect the system python.

virtualenv

This works in a similar way to that above but is less tied to a specific user so doesn't have the sudo limitation, you can also clone a virtualenv and upgrade it to test changes thus allowing you to revert if it sucks.
http://docs.python-guide.org/en/latest/dev/virtualenvs/


u1sdtool tells description: processing queues.
I think everything is working on your machine and you just need to wait the process is completed.
Please consider that:

the upload may take some time, especially if your add many/big files;
If you signed for the basic U1 account, you should not synch more than the available space (5 GB).


how to sync ftp folder with local folder?

You could mount it with curlftpfs and then sync it with unison.