How does one install a Debian downloaded package?

If it's a .deb file and you prefer using a GUI (Graphical user interface) I would recommend installing and using the GDebi Package Installer from the AppCenter.
elementary OS has a curated app to install and remove .deb called Eddy.
Or if you are interested in the command line way you can install a .deb file using:
$ sudo dpkg -i package_name.deb


openjdk8 isn't in the trusty repositories therefore you will have to add another repository:

sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk

Source: http://ubuntuhandbook.org/index.php/2015/01/install-openjdk-8-ubuntu-14-04-12-04-lts/


How can I install elementary OS in a partition of an external HDD?

You should install to the MBR of your external disk drive, which is /dev/sdd in your case.

This way you can boot from your external disk after you have selected it from a one-time boot menu.


How do I install the latest version of VLC media player?

Install from a Repository

You can install the latest supported version from the Official PPA. This has the added benefit of being an official build and distribution channel, maintained by VLC themselves.

sudo apt-add-repository ppa:videolan/stable-daily &&
sudo apt-get update &&
sudo apt-get install vlc


not sure what you're asking, but by default super can change the page layout.

Super + left/right arrow switch workspace
super + down arrow view windows in current workspace and shows workspace interface.
super + up arrow Toggle full-screen
ctrl + super + left/right arrow window to left or right half of screen
shift + super + left/right arrow move window to different monitor (if you have more than one)
super + a show all windows

Hopefully this answers your question, but if not what behavior are you actually trying to customize?


There is already a bug report about this at https://github.com/elementary/files/issues/1165.  Hopefully it will be fixed by the next release.


The problem described may occur when old models of drives are connected to the computer. In my case, after disconnecting, the problem does not occur.


Shortcut to focus on file-chooser dialog - CTRL-L doesn't work

At the moment, only the pathbar of the filechooser is supplied by Files, the rest (including keypress handling) is the standard Gtk filechooser so I am not sure this can be fixed. However, the intention is to use the NativeFileChooser interface to have the whole filechooser supplied by Files in which the shortcut will work.

I have raised an issue on the Files issue reporting page about it.


You wont be able to take an actual screenshot, although if the error occurs early enough in the shutdown process (before the logger service is stopped and the hdd's have been unmounted) it should be visible in your logs via less /var/log/syslog. If you can't see anything obvious, these answers show various ways to enable more thorough logging.

Alternately I suppose it is probably easier to just use a camera. ;p


In Freya

The tool I used is gnome-session-properties (of the gnome-session-bin package, installed by default)

To launch it I had created a desktop file like so:

gedit ~/.local/share/applications/startup.desktop

With

[Desktop Entry]
Type=Application
Name=StartupApps
Comment=View apps starting with the system
GenericName=Startup Applications
Icon=preferences-system
Terminal=false
Categories=Gnome;Gtk;System;
Exec=gnome-session-properties

It shows:

It has edit option.

But it seems that for security reasons in Freya stable the default startup options which were accessible in Freya beta with this tool (see here, from this older answer (that I had forgotten about!)) are now hidden, and only the new custom options are visible.

In Loki

In Loki ' Settings, Applications, Startup' shows the same items as  gnome-session-properties.

But the latter still has the advantage of providing an option to edit the entries (in the former one has to remove and add again an entry in order to modify it).

A cool feature in both  tools is the possibility to use drag&drop of application launcher files (the kind of .desktop files found in the applications folders) onto the window in order to add new startup items. Only such files can be added in this way, not scripts; in order to add scripts, you have to use the 'Add' option.


Apple keyboard - swap alt and super keys

Go to

  System setting. Then in system setting go to to keyboard. This is where you change your shortcuts

    Go to custom to make your own shortcuts

If my explanation are terrible just check the image below :)


How to disable keyboard shortcuts pop up in Juno?

Go to Settings > Keyboard and change the default behavior for the ⌘-key to disabled.

⌘-key is the super-key or the 'windows'-key.
See wikipedia for the origin of the symbol.


Can't get my WiFi (D-Link DWA-182 Wireless USB Adapter) running

Before anything, before any input or sudo code in Terminal, I believe it is worth checking in the Apps window, start typing Software and it will show something like Software & Updates.

For me, in the 5th tab, it shows Additional Drivers and from there I could select an unknown device to use dkms source for the r8812au network driver.

Hope this helps from a clean install and without internet. If you can, just connect it with a cable or another USB adapter and spare yourself the hassle by doing this.


After trying to fix this countless of times I found a solution.

First I ran

sudo dpkg --configure -a

then

sudo apt-get install -f (Too see what package gives the problem)

After I saw the problem was still there I edited it manually.

I Located the corrupt package, and removed the whole block of information about it and saved the file.

sudo -i nano /var/lib/dpkg/status

After I removed the broken package I ran sudo apt-get install -f and it fixed apt-get


This question has been asked previously. Try the solution provided here:

How enable desktop icons on elementaryOS 5.0 Juno?


Removing Oracle Java Programs from Applications menu

Fast: Click right in file icon and run "New windows as Administrator" put the password and go to:

/usr/share/applications/

find the java icons that you want to remove and done


Disable locking, reboot your system and then enable it again and log out. I had a similar problem a long time ago and resolve it like this


Macbook Pro 2012 WiFi card not supported?

If it's a MacBook Pro, more than likely it's got a Broadcom wifi chip. These require a driver to work correctly under Linux. All you need to do is connect to the internet temporarily using either a USB WiFi adapter or Ethernet and then run sudo apt install bcmwl-kernel-source

I know certain Mac models can be a bit more problematic, but usually that one package does the trick.


Elementary OS 5.1 Appcenter Few Application

I just updated my home computer in Elementary OS 5.1 HERA

Looking for each of your application, on my laptop still under EOS 5.0 and my home computer under EOS 5.1

I find exactly the same result on the appcenter to know

libreOffice OK in 5.0 and 5.1

GNU Octave OK in 5.0 and 5.1

Spyder OK in 5.0 and 5.1

checked the contents of your source list of the app center, now here is mine in my Elementary OS 5.1 HERA

$ cat /etc/apt/sources.list.d/appcenter.list
deb http://packages.elementary.io/appcenter bionic main
$ cat /etc/apt/sources.list.d/elementary.list
deb http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
deb-src http://ppa.launchpad.net/elementary-os/stable/ubuntu bionic main
$ cat /etc/apt/sources.list.d/patches.list
deb http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic main
deb-src http://ppa.launchpad.net/elementary-os/os-patches/ubuntu bionic main

NOTE : every screenshot comes from my Elementary OS 5.1 HERA

good day


Newbie question about updates vs upgrades/installations

I am afraid to tell you that in any modern OS (not matter if we talk about MS Windows, Mac OS...)  you should always upgrade as it is necessary for security reasons.  You should work without updates only in a closed system with no connection to internet or any other net (it means using your system for document editing, playing music and things like that). So, if you require connection to internet you must update your system to prevent security issues. The god news is that once you had done this first update the size of updates is small compared to other operating systems.

Updated: May 25th 2017:

There has been a major update to elementary OS Loki: version 0.4.1. On May 17th so if you can get the ISO you won't have to download many files to have your system updated.

For more information:
https://medium.com/elementaryos/new-release-elementary-os-loki-0-4-1-2a756549ee76


How do I enable desktop icons on elementaryOS 5.0 Juno?


App development with Ruby in elementary OS

This GitHub repository gives you some basic examples on how to build a GTK app using Ruby. This is example #2 being run:


Google Chrome appears twice in slingshot

The way I remove unwanted icons is use the program menulibre.

sudo apt-get install menulibre

That will give you a menu editor.

Open the Menu Editor and search for Chrome. Hide the icon and save your settings. Close and reopen the Application Bar and see if your duplicate is gone.


Step 4 of this doc at https://help.ubuntu.com/community/SoundTroubleshootingProcedure
includes installation and starting pavucontrol and helped me restore sound on a Dell Lattitude laptop.  I had system sounds like trash and test front left/ front right but Noise Music player and videos on the browser did not have audio.


I installed easyBCD in Windows 10 and added an entry for elementary OS. Then I disabled grub on the elementary side. Now, when I boot up, I choose elementary or Win 10 from the Windows boot manager.

Then on the elementary side, edit /etc/default/grub
Find this line: GRUB_TIMEOUT=10
Change the value to 0.1 (Zero didn't work on mine, it still waited 10 sec.)

This won't disable grub per se, it just times it out real quick. Maybe not the most elegant solution, but it may get you where you want to go.


Pantheon-terminal is not installed and cannot install it

This only affects people who've added the unstable daily PPA. Don't ever add this PPA on a production system. You will encounter critical bugs while running it. Lots of Loki packages are breaking in daily due to big API breaking changes in Juno. You should purge this PPA and return to the stable software channel.


Is it possible to upgrade to the latest version of Okular?

You can build it from it's source: https://okular.kde.org/download.php

However that would require to get a complete KDE4 Development Set.


This is a bug I've seen since first using eOS 0.4. Only solutions I have found to this are a) Configuring the monitors side by side instead of vertical, or b) Setting the external monitor to be primary (press the star icon in settings).


You can add a new keyboard shortcut:

First, open system settings and click keyboard:

Chose Custom, in the sidebar

Click the + button

Enter your command - in this case screenshot-tool

Click "Disabled", then press your chosen shortcut (in this case PrtScrn). You will have to accept it disabling the old shortcut, and then it will show up:

Finally, you have to log out and back in for the shortcut to be active.


Oh god, finally, i solved the issue.
When i execute sudo apt update && sudo apt upgrade on terminal, gets following output:
samet@samet-X540LA:~$ sudo apt update && sudo apt upgrade
Aynı:  1 http://tr.archive.ubuntu.com/ubuntu bionic InRelease
Aynı:  2 http://tr.archive.ubuntu.com/ubuntu bionic-updates InRelease
Aynı:  3 http://tr.archive.ubuntu.com/ubuntu bionic-backports InRelease
Aynı:  4 http://packages.microsoft.com/repos/vscode stable InRelease
Aynı:  5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Aynı:  6 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı oluşturuluyor
Durum bilgisi okunuyor... Bitti
1 paket yükseltilebilir. Bu paketi görmek için 'apt list --upgradable' komutunu çalıştırın.
N: '/etc/apt/sources.list.d/' dizinindeki 'baitsart-ubuntu-voice-commands-bionic.list.save' dosyası geçersiz bir dosya uzantısı olduğu için yok sayılıyor
N: '/etc/apt/sources.list.d/' dizinindeki 'vscode.list.save' dosyası geçersiz bir dosya uzantısı olduğu için yok sayılıyor
N: '/etc/apt/sources.list.d/' dizinindeki 'microsoft-prod.list.save' dosyası geçersiz bir dosya uzantısı olduğu için yok sayılıyor
Paket listeleri okunuyor... Bitti
Bağımlılık ağacı oluşturuluyor
Durum bilgisi okunuyor... Bitti
Yükseltme hesaplanıyor... Bitti
Aşağıdaki paketlerin mevcut durumları korunacak:
  libodbc1
0 paket yükseltilecek, 0 yeni paket kurulacak, 0 paket kaldırılacak ve 1 paket yükseltilmeyecek.

libodbc1?? I thinked a secret was in libodbc1 and i executed sudo apt install libodbc1. Finally issue is solved.


How to change the first day of week on wingpanel calendar?

Use a locale from a culture where that is the norm.

You can try to make that a sticky setting for your user in the system, by putting something like that in ~/.xsessionrc

export LANG=en_US.UTF-8
export LANGUAGE=en_US.utf-8
export LC_TIME=en_GB.UTF-8
export LC_MEASUREMENT=en_GB.UTF-8

Which is basically "I want system messages in American, but time and measurement in UK English". Monday is the first day of the week in UK culture.

Log out and back in for that to work.

Or, you could try make that a system-wide change.
Assuming your locale outputs LANG=en_US.UTF-8, find and change first_weekday 1 to first_weekday 2 in the US locale file (do a sudo nano /usr/share/i18n/locales/en_US). Then do a sudo locale-gen and reboot.

The latter is not recommended in a server setting, but you should be fine on your own machine.


You actually did install Firefox the safe way inside the OS. However, you used the command line instead of a graphical frontend. So no worries, there is nothing wrong with your Firefox installation, both alternatives have the same result.

Under elementary OS / Linux often "there is more than one way to do it…"


Wireless Network not working after Installation

Ohk. I just found the solution for the problem above.

Go to AppCenter -> Updates and look into Drivers section. Install the software recommended there. That's it. It downloads and installs and WiFi starts working.


Unable to install Elementary OS on Samsung m2 970 evo nvm drive on Asus FX505GD

Try etcher
Make sure the USB drive appears in the boot options in your BIOS. If not, fiddle around with the BIOS settings until it does.  Select that it boots first and is the only boot option.


Freya has a known UEFI bug. You can find details here.

Here is a sister thread that walks through the fix.

Please let me know if you need anything explained and I will try my best to expound on their solution.


duplicate calculator, network and universal access icons after software update

Got rid of the duplicates by removing the superflous symlinks in /usr/local/share/applications


no context menu when right clicked application's title bar

There was a known issue in elementary OS Loki where context menus were not displayed for non-native or "client-side decorated" apps, like Firefox or Electron apps. However, this has been fixed in elementary OS Juno.


Ctrl-W  - is normally the close-tab short-key, and it works in tabbed apps like browsers and file managers, the last-tab closed closing the program or defaulting to the startup tab; Files stays open when last tab is closed (a setting that can be also enabled in Firefox: about:config, then set browser.tabs.closeWindowWithLastTab to false).
Ctrl-T - is the complementary to the above: the open-new-tab short-key. The Juno terminal will not follow these two shortcuts thought.
And there is the universal Alt-F4 that applies to all windows whatsoever.
Ctrl-Q - operates like the above, closing all windows - with very rare exceptions: Epiphany, mentioned in @JayAurabind's comment.


Is this a single boot or a dual boot installation?
You can boot the live distro and manage your drive with gparted. You need to make a uefi partition (fat 32, boot flag) and a seperate one to install your distro to.
You can fire up the installer from there. When doing a single boot, auto install elementary os and the installer will pick the uefi partition to place the boot files.
Have you read this link: https://help.ubuntu.com/community/UEFI

I hope this is helpful.


I managed to solve the problem, the issue was installing the package using snap, it almost seemed like websites thought I was logging on from a mobile device. When I deleted it and reinstalled using apt it worked fine, this was also  problem with a fps game I installed with snap as well


update OS Freya 0.3.1 to Elementary OS 0.4.1

You can't. Since you need to install the new OS from a bootlable usb.

I recommend you to wait a while until Juno is released and then install Juno instead of Loki.

The only thing I imagine you could try is to create the bootable usb from your parents laptop and then guide them trough the installation by the phone or videoconference.


intel-microcode 20180108 not in app center?

Today I got it.

» lsb_release -a
No LSB modules are available.
Distributor ID: elementary
Description:    elementary OS 0.4.1 Loki
Release:        0.4.1
Codename:       loki
» apt show intel-microcode | grep Version

Version: 3.20180108.0~ubuntu16.04.2

as of kernel. I personally have

» uname -a                                                                                127 ↵
Linux darkstar 4.13.0-26-generic #29~16.04.2-Ubuntu SMP Tue Jan 9 22:00:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

(fresh install) as per apt search linux-image I see plenty of kernels there, I should be able to install something appropriate


volume keyboard shortcut changed now i cant use my volume buttons

You can fix this by installing 'Dconf editor' from the AppCentre.

Open  this program and go to org>gnome>settings-daemon>plugins>media-keys
Scroll all the way down to where you find 'volume-down' and 'volume-up'.
If you click on these you will get a list with options,at the bottom you can toggle the option 'use default value' to ON.

This will revert the keyboard shortcuts back to the original volume keys.


1,414 lines of syslog has been written when computer starting up - is it normal?

There is no problem with 1,5k lines in the syslog at startup, it can be absolutely normal.

However, there might be some errors that cause slow startup indeed, for finding them you should look more for the time stamps and the log contents (than to the amount of information logged).

Looking at your log, it might be the wireless connection or the mount of a remote network drive that takes some more time than usual.


Try adding user to the fstab nfs mount options. For example:

192.168.1.11:/volume1/applications /home/rob/Darth/Applications nfs user,rsize=8192,wsize=8192,timeo=14,intr


Loki 0.4 - network-manager applet shows disconnected after docker installation

This issue has been logged as a bug. I'm experiencing a similar issue with Vagrant, which also creates virtual network devices.

Rebooting should fix the problem until you run Docker again, but of course the real solution is for that bug to be fixed.


If you installed the theme/icons from apt you can remove it as follows:

sudo apt purge numix*


Installing previous version of Thunderbird

is pretty simple, first you need to check if there's a version available through apt (in your case exists)

$ apt policy thunderbird
thunderbird:
  Instalados: (ninguno)
  Candidato:  1:60.2.1+build1-0ubuntu0.18.04.2
  Tabla de versión:
     1:60.2.1+build1-0ubuntu0.18.04.2 500
        500 http://cl.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        500 http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic/main amd64 Packages
     1:52.7.0+build1-0ubuntu1 500
        500 http://cl.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

then you install the older version with the command

$ sudo apt install thunderbird=1:52.7.0+build1-0ubuntu1

and finally you tell apt to hold on that pakage (that way you can do upgrades on the system and thunderbird will stay on that version)

$ sudo apt-mark hold thunderbird


You can use TimeShift for creates system restore point.

  TimeShift for Linux is a application that provides functionality
  similar to the System Restore feature in Windows and the Time Machine
  tool in Mac OS. TimeShift protects your system by taking incremental
  snapshots of the file system at regular intervals. These snapshots can
  be restored later to bring your system to the exact state it was in at
  the time when the snapshot was taken.

TimeShift is designed to protect system files and settings. User data such as documents, pictures and music are excluded by default.

Install:

sudo apt-add-repository ppa:teejee2008/ppa
sudo apt-get update
sudo apt-get install timeshift

Typically, for use doesn't require any additional settings, just click the Backup button for create snapshot.

For restore select a backup from the list and click the Restore button on the toolbar. After, select the system partition from the Restore Window that is displayed. Click the Restore button to continue and start the restore process.

You can be enabled for taking automatic snapshots of the system at regular intervals. The backup levels can be selected from the Settings window.

If you can't get into the graphics mode (eg after a failed installation of video driver), you have to use Live USB with elementary OS or Ubuntu. After booting into the live system, run the commands in terminal to install timeshift and follow the general instructions for restore.


How to embed image in elementary OS Loki Mail email compose?

Unfortunately, embedded images are not a feature of Pantheon Mail (formerly Geary). You can follow the wishlist request in the bug tracker here or post a bounty to encourage a developer to write the feature.


This largely works for me:

xrandr --output eDP1 --scale 1x1 --pos 3840x0 ; xrandr --output HDMI1 --scale 2x2 --mode 1920x1080 --fb 7680x2160 --pos 0x0

Only downside is the topbar seems to get in the way on my laptop screen. Obviously you'll need to adjust if you don't have same resolution as I do. Afraid there is no GUI solution yet. I just popped this command into a file so I can quickly switch.

UPDATE
Pantheon keeps crashing out on me now, when changing res!

UPDATE 2

Seems to be more successful when you plug in monitor after fully loading up and logging in.


How to install Dropbox in elementary OS?

I managed to install Dropbox from Git and running a script.

I followed the instructions mentioned here: https://github.com/zant95/elementary-dropbox


Native/universal app format or easier to install apps for elementary os, plus a few other quick questions

AppImages can run on elementary and other major distros today. Cody Garver from the elementary team sits on the Snap Format oversight board, although elementary hasn't committed to using Snaps in the AppCenter.

The next step for AppCenter is Houston, which should make it much easier to publish apps for elementary. The idea is to turn the app center into a pay-what-you-want app store. See https://github.com/elementary/houston for details on that.

Founder Daniel Foré has this to say about elementary on mobile (full answer):

  I'd love to do mobile, but it's not something we can just jump into doing straight away.


Access Flash Player global settings (Firefox)

You should stay on that website as it in fact contains the Flash Player global settings (the flash element at the top). Quoting:

  The Settings Manager that you see above is not an image; it is the actual Settings Manager. Click the tabs to see different panels, and click the options in the panels to change your Adobe Flash Player settings.


Yes, Plank support folders for both apps and filesystem locations.
For Filesystem Locations

Find the path/folder you want to create a shortcut to in Files.
Drag the folder to Plank.

For Apps

Create a folder in ~/.local/share/applications
Copy in the desired applications from /usr/share/applications/
Drag the folder to Plank.


Try this command

sudo apt-get install gconf2-common libgconf-2-4


Help Installing elementary in dual boot on secondary hard drive that has stuff on it

I have already answered a similar question here. If you are running Windows try creating an 'ext4' partition on the unallocated space. I was facing similar problem with Windows 8 but creating a partition beforehand solved the problem. Personally i use Minitools Partition Manager as the windows partition manager does not allow creating an ext4 partition.


Terminal becomes transparent after sleep. 5.0 Juno

So I've been looking and it seems that this is related to the Intel integrated graphics device. It's not only affecting terminal but text shown on some other GTK applications.

On the Arch wiki I found the following:

  Font and screen corruption in GTK+ applications (missing glyphs after suspend/resume)
  Should you experience missing font glyphs in GTK+ applications, the following workaround might help. Edit /etc/environment to add the following line:

Edit '/etc/environment' and add the following line:

  COGL_ATLAS_DEFAULT_BLIT_MODE=framebuffer

It seems to be working.


Can I make an application to start in another workspace automatically?

elementary OS does not currently have this feature. There is an open feature request in Launchpad


Broke my install while installing a theme

Good thing Terminal still works :) Open it and paste the line

gsettings set org.gnome.desktop.interface icon-theme 'elementary'

The default icon theme should now be restored.


How to install elementary OS Freya using rEFInd

Guide to installing elementary OS on UEFI using rEFInd by Suici Doga

This is my longest post I have made since it is a full guide

These steps have been tested be me on my main laptop and works correctly. My laptop is a HP Pavilion g7 2269wm.

It would be nice if anyone could test if it works on other UEFI PCs (add a comment)

Preinstallation

First you will need to disable automatic boot repair in Windows 10 by running bcdedit /set {current} recoveryenabled No in a administrator command prompt in Windows 10.

Create a elementary OS USB drive using Rufus (rufus.akeo.ie) from your ISO file (download 0.3.2 version from elementary.io) and go to the advanced startup options (using SHIFT while clicking reboot).

Every Windows user should know how to restart their computer

Click Use a device and then select your elementary OS USB drive.

Installation of elementary OS

Now select try elementary OS and when it boots open a terminal and type ubiquity -b

This will open the installer without installing GRUB2 (we're using rEFInd). Now install elementary OS like you normally would.

Here is how I partitioned mine (bold partitions are for elementary OS , italics are shared (my NTFS storage))

sda                                8:0    0 465.8G  0 disk
|-sda1                             8:1    0   450M  0 part
|-sda2                             8:2    0   100M  0 part /boot/efi
|-sda3                             8:3    0    16M  0 part
|-sda4                             8:4    0  67.8G  0 part
|-sda5                             8:5    0 297.9G  0 part /mnt/storage
|-sda6                             8:6    0  48.8G  0 part /
|-sda7                             8:7    0  11.7G  0 part [SWAP]

When it asks you to reboot DO NOT REBOOT since we have to install rEFInd. If you reboot now you will go to Windows.

Now we have to install rEFInd so we can boot elementary OS. Run the following in a terminal

First we have to mount our ESP (EFI System Partition) partition. For me it was /dev/sda2 so I ran

mount /dev/sda2

The following commands will download shimx64.efi (this copy is from my PC , you could use yours if you don't trust me :) and install rEFInd.

cd /boot/efi/EFI
sudo mkdir refind
cd refind
sudo wget http://suicsoft.com/shim.efi-files/shimx64.efi
sudo wget http://suicsoft.com/shim.efi-files/MokManager.efi
sudo apt-add-repository ppa:rodsmith/refind
sudo apt-get update
sudo apt-get install refind

If you do not have the file ext4_x64.efi in /boot/efi/EFI/refind/drivers_x64/ or the folder doesn't exist. This downloads the rEFInd ext4 driver (which is hosted on my site , you could also extract it from the rEFInd archive).

mkdir drivers_x64
cd drivers_x64
sudo wget http://suicsoft.com/shim.efi-files/ext4_x64.efi

This will install rEFInd using shimx64.efi if secure boot is ON so you can boot it.This should also install the rEFInd ext4 driver

Now REBOOT and you should go into Windows 10 (maybe it will boot rEFInd, then select Windows 10).

Open a administrator command prompt and run

bcdedit /set {bootmgr} path \EFI\refind\shimx64.efi

This will set the EFI bootloader to rEFInd. Then reboot from Windows and you should see elementary OS in rEFInd and when it boots you get the text boot instead of the e logo.If you get a screen like the following

May rather look cryptic and low level but you only have to do it once

Then use the instructions at www.rodsbooks.com/refind/secureboot.html

To enable the e logo run the following in a terminal in elementary OS

sudo mkrlconf
sudo -i scratch-text-editor /boot/refind_linux.conf

This will generate kernel config and open the file in Scratch (you could also use another text editor).

It will look something like (mine is different from yours, DO NOT COPY).

"Boot with standard options"  "ro root=UUID=74b57e08-ec17-4371-9d5d-f6270880fb90"
"Boot to single-user mode"    "ro root=UUID=74b57e08-ec17-4371-9d5d-f6270880fb90 single"
"Boot with minimal options"   "ro root=UUID=74b57e08-ec17-4371-9d5d-f6270880fb90"

Add quiet splash to the end of the first line within the quotes. It should like something like this

"Boot with standard options"  "ro root=UUID=74b57e08-ec17-4371-9d5d-f6270880fb90 quiet splash"
"Boot to single-user mode"    "ro root=UUID=74b57e08-ec17-4371-9d5d-f6270880fb90 single"
"Boot with minimal options"   "ro root=UUID=74b57e08-ec17-4371-9d5d-f6270880fb90"

Then close the file (Scratch automatically saves) and reboot. You should be able to see the boot logo.

Changing the rEFInd screen resolution

By default rEFInd will use a low screen resolution which could make your screen blurry or small (for me it was 800x600. To change it run sudo -i scratch-text-editor /boot/efi/EFI/refind/refind.conf. Add resolution WIDTH HEIGHT (for my PC it is resolution 1600 900). Now reboot and you should see the new resolution.

Theming

You can use any rEFInd theme with this guide but I will be using Next Theme.

Download Next Theme from http://sdbinwiiexe.deviantart.com/art/rEFInd-Next-Theme-407754566 and extract it (as root , all the files) to /boot/efi/EFI/refind/. Then add the line include next-theme/theme.conf to your refind.conf.You can also change wallpaper if you do all little bit of web searching (like I did).

At the end of this tutorial I ended up with

Screen is not cracked. The wallpaper of rEFInd is :)

Using the following wallpaper I created in GIMP

NOTE : I did not mention secure-boot and hybrid shutdown since they did not cause any problems for me. If you are having trouble mounting partitions try disabling hybrid shutdown. If you cannot boot Freya try disabling secure boot.


Go to http://elementary.io
Click the blue "Purchase/Download elementary OS" button
Click "Download Loki" (not the magnet icon, which starts a magnetized torrent download)

The disk image should download to your normal downloads folder.

From there you can follow the install directions at https://elementary.io/docs/installation


I'm guessing there is just no fstab entry for your drive. I hope you are comfortable using the command line a bit.

All you want to do is find out the UUID of your new drive, and add an fstab entry

Step One

Find the FSTYPE and UUID of the partition you want to mount

# The df command will give you a list of mounted drives
# You want to retain the Mounted on entry of your partition for unmounting later
df -h

# lsblk will give you the UUID for adding to fstab
lsblk -o 'NAME,MOUNTPOINT,FSTYPE,UUID,SIZE,MODEL'

Step Two

Make the folder that will be your mount point (you need one), as an example: mkdir /media/storage will create a folder media/storage which could be the new root of your drive

Step Three

Unmount the partition you want to load up at boot (the Mounted on entry from df -h, such as /mnt/external or something like that)

umount /media/drive # Replace /media/drive with Mounted on folder

Step Four

Add your drive to fstab.

Build your command:

UUID=<YOUR UID>  <YOUR MOUNT POINT>  <YOUR FSTYPE>  defaults  0  2

Here is an example:

UUID=d2d0d4f6-7947-455e-a3d1-d73183f0afac /media/storage           ext4    defaults        0       2

To install the drive properly run this (replacing with your command):

echo "UUID=d2d0d4f6-7947-455e-a3d1-d73183f0afac /media/storage" | sudo tee -a /etc/fstab

Step 5

Try mounting your drives

mount -av

If this works, your drive should now be available, if not you need to do this:

Fix if mount didn't work

sudo nano /etc/fstab

Remove the final line (but not other ones), which should contain the text you created

Try again from the start.

Troubleshooting

Double check that /etc/fstab does not contain a different line that references the same drive partition.

If you have problems please comment here. It's best not to restart your machine until mount -av runs successfully.

Let me know how it goes!


This seemed to solve it:

sudo sh -c 'echo "overlay\naufs" | sudo tee -a /etc/initramfs-tools/modules'

sudo update-initramfs -u


Create your root folder called "gtk-hello"

Its just a regular folder. From the coding tutorial perspective, it will become the root folder. All following components and code will be filled in that folder.


Way to enable vertical two-finger scrolling, but not horizontal?

This answer applies only to Loki

Okay, so I might have just proven myself wrong.  I did:

sudo apt-get remove xserver-xorg-input-libinput libinput-tools

This removes libinput touchpad driver.  Then install synaptics:

sudo apt-get install xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-synaptics

Then restart.  In terminal type:

synclient HorizTwoFingerScroll=0

This disables two finger horizontal scroll.  Can also add:

synclient PalmDetect=1

for palm detection.  Changes do not seem to persist across reboots so you might have to create a custom command on startup for each of these.

I have not tested this extensively, but seems to work so far, use at your own risk.  You could always remove the synaptics packages and reinstall the libinput ones if needed.

Jay


Black Screen after GRUB (Windows 8.1 dualboot)

Try adding nomodeset to the boot. Here's how to do it:

Press and hold the Shift button which will show you a GRUB screen containing a list of kernels and recovery options.

Press e to edit the appropriate kernel.

Add the word nomodeset before the words with quiet splash.
Press Crtl+X to boot.

NOTE: This will only add the nomodeset temporarily.

Source: How do I set 'nomodeset' after I've already installed Ubuntu?


AppCenter shows notifications for update, but none are available


It does not have a database file that it puts them in. If you import a picture it will create dated folders [2016-10-10] or you can drag the photo in to the pictures folder directly and it will load


Resolution problem after exiting from a game (Wine)

This is an issue with Wine. Because GTA SA uses some method to close itself which Wine is not familiar with, it exits unexpectedly. This makes Wine unable to reset the resolution back.

The most easy fix for this is to run GTA SA in a "virtual desktop". You can do this by going to Wine configuration, Graphics and turning on virtual desktops.


elementary OS hangs at boot at 'Restoring resolver state…'

Press Ctrl+Alt+F2
Enter username and password
run

sudo apt-get -f install`
sudo reboot


Command line applications don't launch from menu

Still don't have any idea where to look for real reason of the issue, but I've found a workaround.

For example for htop application, in file /usr/share/applications/htop.desktop I've changed lines:

Terminal=true
Exec=htop

to:

Terminal=false
Exec=x-terminal-emulator -e htop

Now it works. I'm aware that it's not like it should be, as it requires to fix every terminal application separately, so if anyone has a real solution, I still would be happy to know about it.


Cannot install eOS 5.0 from usb (list of tried solutions inside)

Have you tried burning the USB image with any other program? Official docs recommend Etcher I think, but I can never get a working live USB with that. When all else fails, I turn to dd.


My dock icon's animation is gone, what can I do to repair it?

I just looked at mine and they are static, Don't remember if they have all ways been like that or not. Will keep looking for you.


I have found solution:
just use recovery mode and use terminal (ls -a to list all folder and then cd /.config) here you can find dconf configuration folder just delete it and everything will come back normal


More than ten search-results in Pantheon Files?

Actually this limit of 10 is hard-coded in the software code of pantheon-files (libwidgets/View/SearchResults.vala, lines 59-61)

    const int MAX_RESULTS = 10;
    const int MAX_DEPTH = 5;
    const int DELAY_ADDING_RESULTS = 150;

You can even increase this number in order to display more results, but nevertheless the number of results displayed stays limited. You can change the number 10 after MAX_RESULTS = to the value wanted in the file and rebuild the package (debuild -us -uc).

So you still might want to file a feature request to implement a way of showing all results when you click on the "…", however.


How can I set my keyboard layout up similar to macOS?

You can swap Ctrl and ⌘ for most contexts with the following command:

gsettings set org.gnome.desktop.input-sources xkb-options "['ctrl:swap_lwin_lctl']"

Alternatively, if you want to use a GUI to make the same change:

install dconf-tools from the software center
run the dconf-editor application
navigate to org > gnome > desktop > input sources
change the value of kbd-options to ['ctrl:swap_lwin_lctl']

That should take care of most shortcuts. The shortcut to switch windows can be changed from AltTab to something else on the standard keyboard shortcuts page in System Settings.


Gimp is available from the ubuntu repos already, so you don't need any ppa.

If you execute apt download gimp it will download a deb file of gimp to the folder where you have terminal open (usually /home).

I recommend also to delete that ppa if you don't need it. Adding ppas is a security risk to your system. You can do so with sudo add-apt-repository --delete ppa:otto-kesselgulasch/gimp

If you need a newer version of gimp, for example 2.10, you can download it from here. That's the official site of the gimp organization. You need to download gimp-2.10.0.tar.bz2 .

Since it's a compressed package and you probably don't want to install it from source I'm going to explain an alternative way of doing it. With this you are going to convert that file to a .deb file and then you can install it using apt while still receiving updates if a more recent version of gimp is available on the ubuntu repos.

First you need to install alien with sudo apt install alien. Now you go to the folder where you've downloaded that gimp*.tar.bz2 package and you press right click > open on terminal. Execute sudo alien -d gimp*, that's going to create a .deb file, may take some minutes to complete.

Now that you have a .deb file you can install it with sudo apt install -f ./gimp*.deb. When it's finished installing you can delete the .deb package with sudo rm gimp*.deb

With this you should have the lastest stable gimp version. This procedure can also be applied to any other app that comes in a .tar.bz or similar package.


Reboot... Nothing I tried worked until I rebooted. After a reboot, Mail displays properly.

--original post--
No idea, but the same thing is happening to me. I'll update if I find a fix...

Currently I'm stuck trying to reset pantheon-mail completely. I can't remove the last account. I've deleted the following folder: ~/.local/share/pantheon-mail

I've also deleted ~/.local/share/geary and ~/.local/share/evolution for good measure.

I've removed and reinstalled using apt and -f, etc.


How do I open second terminal with the same shortcut? Is there a setting for it?

I've tried to replicate what you are saying and yes, I can't open another terminal window through the key shortcut if the terminal is already open.

Anyway, instead of looking for the open terminal window among the screens, both physical or virtual you have, to save some time and make this thing less complex, you could just right click on the terminal icon in plank and select new window.
Plank appears in every virtual desktop you create

Let me know if this helps


What is the proper way to install LAMP in elementary OS 5.0 Juno?

Since you have not deployed a site and their are easier options out there. I recommend removing everything you have done thus far and selecting one of the two options below.

Remove previous LAMP installs

sudo apt-get purge mysql* apache* php*
sudo apt autoremove && sudo apt autoclean

Use tasksel to install LAMP

sudo apt install tasksel
sudo tasksel install lamp-server

Firstly grab and install EE:

sudo wget -qO ee rt.cx/ee4 && sudo bash ee

Now for a LEMP stack run:

sudo ee site create example.com

For a Wordpress LEMP install:

sudo ee site create example.com --type=wp


Please open appcenter and click on Installed tab and you'll see the updates available. And please do installed updates they are necessary.


Same here, but I tried on the same hardware system like before the same elementary OS image on a USB stick. I think it is the same, because I tried to download the new one, but the  torrent client verified that it is the same like an year ago. What I found is that if I try to boot with the same USB stick another computer, everything is ok.

The only way to start the current one was by using nomodeset parameter before I choose the 'try' option. To achieve this select 'Try elementary OS' and press the 'e' key on the keyboard, then add nomodeset after quiet splash so it became quiet splash nomodeset --- and press Ctrl+x to boot the system with this parameter. Good luck!


Maya does not sync with Fruux CalDav calendar

I finally got it working after using the explicit calendar URL available under the 'other' clients setup option at https://fruux.com/sync/new/

Do not simply use 'https://dav.fruux.com/' as the calendar URL otherwise it will not work.


Make a symlink to libreoffice and reference that in your .desktop file.

Make a symlink to libreoffice with this command:

sudo ln -s /usr/lib/libreoffice/program/soffice.bin /usr/bin/ingressbwi

In your .desktop file change the Exec line to:

Exec=/usr/bin/ingressbwi --calc --nologo /home/bene/Dokumente/Ingress\ Stats.ods


Applications > System Settings >  Applications > Startup Tab > add > Type in custom command

and there type: xscreensaver -nosplash


Dual Monitor Setup stopped working / Screwed up xorg.conf file

Okay, apparently I solved the issue myself, so I post this as an answer to my own question, maybe it helps someone with a similar problem.

What I did was to unplug the first monitor, then reboot.
Second monitor displayed the OS correctly.
Then plugged in the first monitor, which made both displays work. In the system settings changed the order of the displays and hit apply settings.
And that survived a log off/in and a restart.
So, seems the issue is solved. :)


Duplicate icons in dock, and gear icons in multitasking / window spread views

I've seen exactly the same couple of issues. I can also add that sometimes applications installed from flathub (LibreOffice) can have normal plank icons with no duplicates, but at the same time they have a gear-icon in the multitasking view.


The first step in resolving these issues is to see if you can establish whether your system is CPU bound, I/O bound, or memory bound. This is just a fancy way of saying you have a bottleneck at the CPU, disk/network, or memory.

Install Gnome System Monitor from the AppCenter and when you start to notice the system is slowing down or freezing open it up and look at the Resources tab:

The top section represents the CPU load and if one or more of them are at or near 100% you probably have a CPU bottleneck. If this is the case look at the Processes tab, sort the table by the CPU column by clicking on it:

The application(s) at the top of the table will most likely be the culprit.

The second section on the Resources tab is your memory, if the "Memory" line is maxed out and the "Swap" line is up off the floor then you probably have memory issues. You can go back to the Processes tab and sort the table by Memory:

Once again the apps at the top are typically the offenders.

I/O bottlenecks typically are the result of downloading large files or web pages and result in browser tabs spinning and applications that use the internet stalling out but the rest of the UI should be reasonably responsive. This doesn't seem like the issue you are having so I won't go into a lot of detail though if you notice the lines in the last section of the Resources tab (Network History) are at the ceiling consistently when you experience a freeze you may have an I/O issue.


How to recover / merge partions into Elementary OS?

To use full functionality of Gparted you need to start it not from your OS. For example, in situations like yours I use Live-USB with Elementary.
So, you run Gparted from Live-USB (or DVD, it's not important) and will see smth like it:
You choose partition with Ubuntu (Windows in my case) and click "Change size/move" (not exact translation because I use Gparted in Russian).Or, if you want to merge your Ubuntu partition, you need to delete Ubuntu partition and change the size of Elementary partition after that.
In that dialog you can change your partition size by changing "size", "free space before" and "free space after" colums.


How do I change my user profile picture?

Open system settings and click User Accounts.

Click your current profile picture, and chose "Select From File":

Then navigate to the file, and click Open

Chose the section with the box, and then click "Change Avatar".

Your chosen image will be set as your profile picture:


tried very hard to install wine but it always shows this

As far I understand the issue, it is caused because of a missing dependence in Ubuntu 18.04 on which elementary OS Hera is based on. Wine after 4.5 seems to need libfaudio to be working. You can download it from the link below and use Eddy to install the package (just click on the downloaded file), but remember, this is not an official Ubuntu or elementary OS repository! Installing software from not official repositories may be a risk!

https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/i386/

The files that you will need are: libfaudio0_19.07-0~bionic_amd64.deb and libfaudio0_19.07-0~bionic_i386.deb

In case after installation of one of the files Eddy will not install the second (it will show that it is already installed) you will need to use the command line. In this case follow this instruction:
1. Go to the destination folder where you downloaded the file, by using the "cd" command. Example:

  cd /home/username/Downloads

Then install the deb file. Example:

  sudo dpkg -i libfaudio0_19.07-0~bionic_i386.deb

I found the solution by visiting the following links:
https://forum.winehq.org/viewtopic.php?t=32061
https://forum.winehq.org/viewtopic.php?f=8&t=32192


Can I boost the volume above 100% without going into System Settings?

Surprisingly, yes!

First, open up dconf-editor (if you don't have it yet, you can install it with sudo apt-get install dconf-editor).

Then, navigate through com -> ubuntu -> sound and enable the allow-amplified-volume option.

By doing so, you'll be able to increase the volume above 100% by using the Wingpanel's sound indicator. However, you still won't be be able to use the multimedia keys on your keyboard to go above 100%.

Credits: Duong Phan posted this in elementary's Google+ community.


How can I know which is my Elementary OS version?

Answer

If

lsb_release -a

, tells you about Ubuntu 16.04 means you have elementary OS Loki installed. Don't know why doesn't say Loki.

elementary OS is a distribution on it's own based on Ubuntu, as Ubuntu is based on Debian.

A Ubuntu system can be upgraded to another Ubuntu version because is a rolling release distribution.

elementary OS is not a rolling release distribution, hence you can't upgrade between versions. You have to install from scratch each version. Now if elementary OS were a rolling release distribution, you only could be able to upgrade to another elementary OS version not to a Ubuntu version.

You can experiment with it and try, but you'll be breaking a lot of stuff along.

Is like if you install Ubuntu 18.04 and then upgrade to Debian Sid, I don't believe you'll be able to do it cleanly nor expecting to have a stable system in the process. Is doable yes, but why you installed elementary then?

If you want Ubuntu, then install Ubuntu.

My outputs

$ lsb_release -a
No LSB modules are available.
Distributor ID: elementary
Description:    elementary OS 5.0 Juno
Release:    5.0
Codename:   juno

$ lsb_release -au
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04 LTS
Release:    18.04
Codename:   bionic

$ cat /etc/lsb-release
DISTRIB_ID=elementary
DISTRIB_RELEASE=5.0
DISTRIB_CODENAME=juno
DISTRIB_DESCRIPTION="elementary OS 5.0 Juno"

$ cat /etc/upstream-release/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04 LTS"


You can install custom cursor themes in your profile using the following guide. You can find other themes that will work but for this example I am using the Obsidian Left theme.

Download the theme archive from here.
If it does not already exist create a directory named .icons in your home folder, from the terminal you can run:

  mkdir ~/.icons

Unzip the archive into the newly created .icons folder. The result should look like:

  /home/yourusername/.icons/Obsidian_L

Run the following command in the terminal in order to set the theme

  gsettings set org.gnome.desktop.interface cursor-theme "Obsidian_L"

If all goes well you should have left-handed cursors.

If you want to go back to the default run the following in the terminal:

  gsettings set org.gnome.desktop.interface cursor-theme "elementary"


recent update messed up my system, can't update or install any package

Try forcibly reinstalling MySQL:

sudo apt remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean

sudo apt update
sudo apt install mysql-server
sudo mysql_install_db

Note that this will delete your databases!


My system won't shutdown.... I have to press the power button to shutdown

Edit the file

sudo scratch-text-editor /etc/default/grub

And modify the line :

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

It to obtain this line :

GRUB_CMDLINE_LINUX_DEFAULT="acpi=noirq acpi=force apm=power_off quiet splash"

Then, save, close, and back in the terminal, execute :

sudo update-grub

Now, when you will Shutdown, it should work.


There are two ways.

The first way is  build source code
https://github.com/linuxdeepin/deepin-terminal

The second way is add deepin  to sources list then
sudo apt install deepin-terminal
http://nekomiao.me/2016/08/10/ubuntu-1604-install-deepin-terminal/


Its not a dumb question, If the updates where done though the App Store it will be ok. you can also update via the command line if you feel it would be more secure.
sudo apt update && sudo apt upgrade
hope this helps you


Graphics issues on elementary OS Freya Atom N550 (GMA3150)

Upgrade

If you installed before the 3rd of September 2015, then you won't have the new graphics stack included in elementary OS Freya 0.3.1:

  At the heart of this upgrade is the latest Hardware Enablement stack from Ubuntu 14.04.3. It includes version 3.19 of the Linux kernel and an updated Mesa that fixes the dreaded “double cursor” glitch. Workspaces in the Multitasking view also now work properly on Nvidia Optimus. The new hardware stack also brings better support for backlights and touchpads on certain laptops, a host of performance and power-related improvements, and support for 5th generation Intel processors. This release should also improve support for (U)EFI systems, especially when installing without an internet connection.

Upgrade

Second to this, GMA graphics are some of the lowest ranked graphics in place, they are probably worse than running on a decent processor, which is another thing you rank fairly low on. While elementary OS is reasonably lightweight, you will experience issues on older/slower hardware. The Dell Inspiron Duo is a 3-star laptop.


Full HD Display at 14" : GUI elements too small

I'm on a 13" full HD display and had the same problem. I've scaled up the text a bit using the GUI, which has avoided the problems that you described.

To do this:

Open System Settings.
Click Universal Access.
Click "display".
Under "reading", change the text size to "Large" or "Larger."

I've also changed my dock size from "normal" to "large."

Cross-platform apps often ignore these settings, but many have their own scale settings, and they can often be set to non-integer values. For example, here's how to change the scale factor in Firefox. In Atom, I use these user styles to bump up the text to a comfortable size.


Scribus Not Working Properly (elementary OS 5.0)

FYI, the Scribus that comes with release-juno comes from Ubuntu

$ apt policy scribus
scribus:
  Instalados: (ninguno)
  Candidato:  1.4.6+dfsg-4build1
  Tabla de versión:
     1.4.6+dfsg-4build1 500
        500 http://cl.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages

About the Question

Remove Scribus

sudo apt purge scribus

Install flatpak

sudo apt install flatpak

Add flathub repo to flatpak

sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Install Scribus (a newer version - current Scribus 1.5.4)

sudo flatpak install flathub net.scribus.Scribus

What is flatpak?

https://flatpak.org/faq/

ref:

https://flathub.org/apps/details/net.scribus.Scribus

https://flatpak.org/setup/Ubuntu/


Is Elementary OS a good OS for Linux Newbies?

If you are running a Live OS in virtual box rather than the installed version than you would experience the issues you are having. In that case I suggest you boot up the live version and install the OS. Reboot and you should be able to install apps.

To answer your subject, yes elementary is a relatively good linux OS for beginners. Based on Ubuntu 16.04 it's stable and reliable. Though not completely free of issues (as you can see from this StackExchange page). Some other great OSs for beginners are Solus, Mint, Ubuntu, etc.  Solus is relatively issue free and rock solid, while Ubuntu and Mint have very large online communities that are friendly to new users.


You need to try to re-download elementary OS image. I recommend using the magnet link for downloading via torrent client, this ensures that your install image will not corrupted.

For downloading via magnet link press on magnet icon (circled in red on screenshot below).


Dumb Noob question: Terminal is stuck in bash edit mode

Just switch the user back to your normal user (username)

su username

Additional you can run sudo -k to emtpy the password cache, so next time you run a sudo command you have to enter the password again.


As far as I know this isn't supported by elementary. If you really want this feature then you will have to write something custom. If you can trigger a script by hotkey (autokey etc) then you could run "wmctrl -l" and count the lines of output by piping into wc like so: "wmctrl -l | wc -l". Since plank and wingpanel are also counted you would write an if statement that checks if more than two programs are open and closes the current one using: (not tested) "xdotool getactivewindow windowkill". I'm not sure how you would open the shutdown dialog but maybe someone else can shed some light on that.

tldr; Not supported. Scripting required.


How to create a persistent USB with elementary OS?

You can install Unetbootin from the official repositories.

sudo apt-get install unetbootin

or you could try the command dd which is installed by default (but should be used with extreme coution!)


The Grub bootloader will have been installed to the EFI partition and registered as the default bootloader with your Mac's firmware as documented in the Debian Wiki here.
That's why your Mac is booting directly to elementaryOS.
To remedy this, you can do the next section of the tutorial, Install rEFInd Boot Manager, directly from elementaryOS.
Installing rEFInd should allow you to boot into macOS again.
Installing rEFInd on Linux is documented on rEFInd's website here.
Below I outline the steps you need to follow to install rEFInd on elementaryOS and boot back into macOS.

Boot into elementaryOS.

Log in and open Terminal.

Install the software-properties-common package so that you can easily add rEFInd's PPA repository.

sudo apt -y install software-properties-common

Add the rEFInd PPA to your system.

sudo apt-add-repository -uy ppa:rodsmith/refind

Install rEFInd.

sudo apt -y install refind

Confirm when asked if you want to install rEFInd to your ESP.

That's all that is required to install rEFInd, so reboot.

When the computer is booting, it should show the rEFInd menu.
Select the macOS option and press enter.


If I'm understanding the question and comments correctly, it sounds like the machine is booting straight into elementary OS because of the boot order dictated by the BIOS.

Depending upon the make of the machine, you can reach the Boot Manager/Menu by pressing an Fn key during the start-up process. The key that you use to access the Boot Menu will depend upon the make of your machine which if you do an internet search including the words "boot menu" followed by the make of your machine, you should find it. For instance, on my HP machine, F9 gets me to the Boot Menu while F10 gets me to the BIOS.

Once you figure out what key you need to be pressing during the start-up process, with the machine powered off, plug in your USB drive that has Ubuntu, press the power button then hit the appropriate key to get to the Boot Menu. You can then select the device you want to boot from such as the USB drive.

This information can be found in the section "Booting from the Install Drive" found in the elementary OS install instructions. These instructions would also be applicable to Ubuntu and can be found HERE.

Now that we have that out of the way, what issues are you having installing software on elementary OS? Is there something we can do to help within that area that would maybe prevent you from needing to do a switch to Ubuntu?


I had a similar issue with Elementary, and every other distro that I installed, on my laptop.

It turned out to be an issue with the way my Nvidia GTS 250m video card behaved with newer Nvidia proprietary drivers. It caused the keyboard lag you mentioned, but was a slight improvement over the frequent crashes that I experienced with the Nouveau driver.

The solution was to downgrade to the nvidia-graphics-drivers-304 proprietary drivers. It has it's own fantastic set of issues, but is stable and doesn't cause this bizarre text/visual issue, either.


Recent change in elementary OS repository structure?

I have it on good authority from within elementary that no repository should ever contain luna, freya, or loki. If your sources.list ever contained that, they were incorrect, and should be changed to precise, trusty, and wily respectively. As for the changes to the repositories, those are likely unrelated changes to the build structure, and nothing to do with this.


Why do I have two "Network" sections in System Settings while running Daily?

You shouldn't remove either of these.

One is the "daily" plug, and is in the process of being built. As such, it is incomplete, both in that it may not have access to or be able to modify all the settings, and that it might be unstable in some situations.

The other is the "stable" plug, and contains the current, known-to-work code.


Black screenshots on elementary OS Freya x64 with AMD graphics drivers

First, press Ctrl + Alt + F2, then press Ctrl + Alt + F7 and then take a screenshot.


Its just appcenter I verified with dpkg -L appcenter and looked in synaptics where it also shows up as appcenter.


WiFi not working on fresh install of Elementary OS 5.1

Many laptops don't have wifi drivers installed by default.
What you have to do, is find a way to connect to the internet. Once you have internet, going in the "app store" will allow you to see and install the latest nvidia or other drivers.

Here are the ways to get internet:

Ethernet
(if you have an ethernet port, just plug your laptop)
Shared Cellular connexion
(I had to resolve to do that, since my laptop didn't have ethernet ports). I used the shared connexion via USB feature on my Android phone, and connected it to the computer.

Hope that helps !


Where is appcenter applications location?

Such applications should add a .desktop file so that you can open them from the Applications menu.

The application "Go For It!" does seem to appear in my Applications menu. It added a /usr/share/applications/com.github.jmoerman.go-for-it.desktop file.

Looking at that item with the AppEditor (an easy way to inspect / edit .desktop files) it shows that it opens com.github.jmoerman.go-for-it. Which makes sense since that naming scheme is a requirement for adding applications to the AppCenter. See: https://elementary.io/docs/code/getting-started#the-desktop-file

Running whereis com.github.jmoerman.go-for-it tells me it's located in /usr/bin/.

There isn't really one applications folder in linux, but when you try to execute an application it looks for that application in the folders listed in the PATH environment variable. See: echo $PATH (separated by :'s).

I don't know whether the applications you install from the AppCenter will always be installed in the same folder.


Is is possible to show removable drives on Plank?

I'd recommend installing Docky instead of Plank (https://unix.stackexchange.com/questions/203803/replace-plank-with-docky-in-elementary-os). And then enabling the "Mounter" docklet to show what drives are mounted.


There are many applications not included in AppCenter. It will be endless discussing personal choices. The developers goal is picking software that integrates well in elementary environment. In any case if you find KeePass2 a must you can try the following link: https://installion.co.uk/ubuntu/xenial/universe/k/keepass2/install/index.html


I see the same issue with Multi-Tasking view.
Instead I have configured a hot corner to "Show All Windows" and it works beautifully across 2 monitors:
Applications -> System Tools -> System Settings -> Desktop -> Hot corners


Freya has a known UEFI bug. You can find details here.

Here is a sister thread that walks through the fix.

Please let me know if you need anything explained and I will try my best to expound on their solution.


How can I update the Epiphany browser flash player?

Close your browsers and remove your flash installation

sudo apt purge --remove flashplugin-installer adobe-flashplugin
sudo apt autoremove

Now install pepperflash-plugin for Chromium and Firefox (works for all other browsers)

sudo apt install browser-plugin-freshplayer-pepperflash
pepperflashplugin-nonfree

Go to http://www.adobe.com/software/flash/about/

and it should say that you have Flas version 22 installed.


What happens when you enter the following in the terminal:
pulseaudio -k
# or
killall pulseaudio


"Unable to install GRUB in /dev/mmcblk1"

I have a laptop that utilizes an eMMC card as well and was able to get elementaryOS installed on it, but I did have to fiddle with some BIOS settings before any distro would install. Disabling SecureBoot as well as disabling firmware TPM. After that, choose the "try elementaryOS without installing option" instead of the install option when first booting from the live USB. Then, in the file manager, it's possible you'll see the eMMC mounted as an SD card or such. Unmount/eject it first, and then start the installer, and proceed as normal.


How can I get android studio working in Loki with the required 32 bit libraries?

Try just

sudo apt install libc6:i386 libncurses5:i386 libstdc++6:i386

Has worked flawlessly on many installs. Below is my full AS installation script if you needed more configuration, particularly KVM for hardware acceleration.  The source is from my complete setup script on GitHub Gist

#!/bin/bash

cd ~
sudo apt update -qq
sudo apt upgrade

#enable ppa

sudo apt install -yy software-properties-common python3-software-properties
python-software-properties

sudo apt install -yy libc6:i386 libncurses5:i386 libstdc++6:i386

#install java JDK 8

sudo add-apt-repository ppa:webupd8team/java
sudo apt update -qq
sudo apt install -yy oracle-java8-installer
sudo apt install -yy oracle-java8-set-default

#install android studio

sudo apt-add-repository ppa:paolorotolo/android-studio
sudo apt update -qq
sudo apt install -yy android-studio

#set up KVM for android emulator hardware acceleration - change "username"
to your systems username

sudo apt install -yy qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
virt-manager
sudo adduser username libvirtd
sudo adduser username kvm

#trick to get emulator hardware acceleration to work properly

cd ~/Android/Sdk/tools/lib64/libstdc++
mv libstdc++.so.6 libstdc++.so.6.bak
ln -s /usr/lib64/libstdc++.so.6 ~/Android/Sdk/tools/lib64/libstdc++
sudo apt -qq update
sudo apt install -yy mesa-utils

#set home path

export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools


I don't like the options involving Autokey and others. For me, I found the best solution in Tweak Tool. You can install Tweak Tool in eOS's AppCenter. Under the Typing section of TweakTool you can choose Alt/Win key behavior -> Alt is swapped with Win.

You can also do Ctrl key position -> Swap Left Win key with Left Ctrl key.

I have an operating system agnostic keyboard where I swapped the Super key (aka the ⌘ key or Win key) with the Alt key to look like the Mac keyboard. So far this solution has worked ~ok~ for me, but I would definitely prefer a real solution from eOS since it is advertised as a Mac replacement.


elementary OS 'Loki' Shutdown doesn't work :(

I'm not sure what is happening there when you press the Shutdown button on the top right corner, but you can always shutdown by opening the terminal and type shutdown -h now


Multiple monitors extended screen on all workspace

I think this is what you want (execute in terminal)

gsettings set org.gnome.mutter workspaces-only-on-primary false

Works same as on gnome since it's based on gnome.


Thanks all of you for help.
Problem solved. This is how I manage it:
I remove all partition from SSD and I created newone ext4 partition, but I still couldn't install elementary on this disk. Once I reboot my PC I forgot to boot it from USB drive. I saw Windows logo and after a moment message shows that my windows is broken and need to be repaired. Then enlight me that in MBR there is information that on this disk Windows 10 is installed and propably Elementary installer prevent me to install it on this disk because of this. So I started elementary from USB drive, start gparted and recreate partition tabele (this errase mbr from HDD). After that I could install Elementary OS :)

Right Now I'm testing elementary as my primary OS. If if it meets my expectations few $ will be transfeered from my account to elementary support :D


In elementary OS 0.4 loki it is called AppCenter. Under the Updates tab you can look at the list of the apps installed and uninstall those you want to.

There are some applications you can only install/remove with the command line. To list/remove them you can use the command line tool apt:

user@host:~$ apt-cache search keepass
keepass2 - Password manager
keepass2-doc - Password manager - Documentation
keepassx - Cross Platform Password Manager
kpcli - command line interface to KeePassX password manager databases
libfile-keepass-perl - interface to KeePass V1 and V2 database files

user@host:~$ apt remove keepass2


cannot try elemetary OS 0.3.2 64bit on my Thinkpad t420s

I managed to do it by forcing UEFI in the bios. This starts a different menu early where you I could choose "Try elementary os" and that worked fine.

The exact option in the bios is:

UEFI/Legacy Boot Priority :     [UEFI First]

(got other big grub problems after but that's another story)


You might want to create a script and add it as a custom startup command.

~/.local/bin/start_xcaliber.sh

#!/bin/sh
xcaliber --bR=256 --bG=256 --bB=212 --gR=1.04 --gG=0.9600000000000001 --gB=1.01


Home partition not showing in Files sidebar

TL; DR: add x-gvfs-show to mount options

Actually none of the partitions mounted permanently (except the / partition) shows up in this Devices list, only external USB or network drives.

At least, this is the default behavior you can change this by adding x-gvfs-show to the mount options in /etc/fstab:

UUID=f5aa03f7-28a4-435e-84d6-d84529f13532 /home       ext4    defaults,x-gvfs-show  0   2


I have not verified my ISO...is there anything I can do other than reinstall?

If your installation is working, then there is probably little point in verification. The point of verifying the file is usually to check the iso file hasn't been corrupted during download. Corrupted downloads usually result in installation failures, so if you've managed to install elementary successfully, the iso file was probably valid.
Realistically, you'll only be able to verify post-installation if you kept the original iso file you downloaded, and follow the steps as documented.
If you didn't keep the iso file; in theory, depending on how you wrote the iso to your installation media, it may be possible to turn that back into an iso and then verify it. But there are a lot of potential ways that could go wrong and give you a false negative result, so I won't document that here.


WiFi Network Goes Offline Every Few Minutes

Install third party Realtek wifi drivers. Follow this link check out right side text.
 https://sites.google.com/site/easylinuxtipsproject/reserve-7#TOC-The-rtlwifi_new-driver-from-lwfinger
And next time you buy computer make sure it's not shipped with Realtek wifi chipset at least I won't be buying one.


Freya very sluggish after plugging in monitor to laptop

Could you check these points:

OS dependent?

From the system monitor, is the OS working slowly after it is plugged into the current monitor?

Hardware

Try to switch a monitor to see if it happens.

Software

Try to use different drivers provided in
Ubuntu/elementary OS repositories.

User Settings

Does the graphics refresh normally?
Is the frequency the right one? Try to switch it.

Not sure whether it is an elementary OS bug or not. Anyway, my Dell
computer works really fine when working with an external
monitor.


How can I find out what a Terminal command will do before I run it?

There's a great online tool called ExplainShell that will break down the command into its individual parts and explain what each part does.

For example, see this page which explains the following command:

sudo add-apt-repository --remove 'deb [arch=amd64] https://packages.elementary.io/appcenter xenial main'


Usually packages are held back because they require the installation of new packages or conflict and remove old packages. Typically you should just use the software updater app and it'll do the right thing.

If you insist on upgrading through Terminal, you should make note of what packages will be added or removed. You can always search the internet to find out what those packages are and if they are important. As long as you steer clear of the -y flag, you will be prompted before apt attempts to add or remove new packages.


If you're installing Elementary OS on a Macbook that already has an OSX partition, i'd recommend installing rEFIt as bootloader for switching between OSX and Elementary OS. It worked like a charm and allowed me to install a triple system boot (OSX 10.6.8, WIN7, ElemOS) on an early 2008 Macbook (Core 2 Duo).

By default, rEFIt is installed on your OSX partition. If you're installing on a blank drive, it's a bit more tricky but you'll find some leads here : http://ubuntuforums.org/showthread.php?t=1150617

If you're ok with keeping a small OSX partition, use the Apple disk utility to format your disk with 3 partitions under GUID (OSX + 1 MS-DOS for Linux + 1 MSDOS for Swap). Install OSX first, then rEFIt. Put the Elementary OS install disk in, reboot and choose the Elementary CD to boot on. You can now install Linux on the partitions you had reserved. Of course, youll' need the install tool to reformat the linux one to ext4 or btrfs, and allocate the third one as swap.


How do I install elementary os with DVD on a iBookG4 Powerbook 6,7 with PowerPC?

You can't install Elementary OS on a PowerPC Mac. Elementary OS is for Intel architecture only. For PowerPC Macs you can install Ubuntu for PowerPC:

https://wiki.ubuntu.com/PowerPCDownloads

or another distro for PowerPC


It's known bug:
https://github.com/elementary/switchboard-plug-power/issues/89

Try this workaround:

dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing


What settings do you have set under "power" in settings?
I have had some weird reboots happening when the system should have just suspended or even locked. I ended up setting everything to never.

I also ran a command to keep the eOS from ever going into suspended mode. Because in my case that was what caused random reboots.


How do I change login background in elementary OS Freya or Loki?

You can change it by editing the file

sudo -i scratch-text-editor /etc/lightdm/pantheon-greeter.conf

There you will find the line

default-wallpaper=/usr/share/backgrounds/elementaryos-default

Add a line to the file something like this:

default-wallpaper=/usr/share/backgrounds/168.jpg

Logout and you can see the change.


How do i enable the numeric keys (on the right side of my keyboard) under elementary OS 5.1.3

Stupid me.  The num lock key wasn't set.


I followed the steps in the link below and my card reader started working.
https://github.com/asymingt/rts5139


This is a known regression caused be a recent update.  A fix has been committed and should be released soon.  In the meanwhile using sudo pantheon-files in a terminal will work.


Can I manage my contacts from inside Geary?

Geary does not have a contact management interface, but it does store contacts for auto-completion. These contacts are pulled from the emails that it has downloaded.

There are long-term goals for Geary to integrate into a system-wide contacts database (so a separate Contacts app could be used), but this is not yet implemented.

Source: Re: [Geary] How does Geary get my Google contacts?


Go to ~/.config/gtk-3.0/gtk.css. If it doesn't exist, create one.

Write in a gtk.css file:

.panel {
    background-color: transparent;
    transition: all 1s ease-in-out;
}

.panel.maximized {
    background-color: transparent;
}

It will make wing panel transparent in maximized mode. Don't forget to reboot your PC after changings! Or use killall wingpanel on Terminal to kill the wingpanel process. It will automatically restart.


How do I install with home folder on microsd card?

I recently did this with a symbolic link.  I didnt get rid of my ~/ or Home folder but rather mapped paths on a micro-sd card under ~/.

Here's an answer that explains it

In my case I had an micro-sd called "Extra", with a folder called "Repositories". So my command was

ln -s /media/{myprofilename}/Extra/Repositories ~/

Now I can access that folder from ~/Repositories as if it were in the HOME folder.

If you're going to user the terminal a lot, I would also set this up for bash aliases as well so if your OS gets wiped away, you can just re-apply your links and life goes on.


Set level of battery notification in Loki

According to this answer:

Low and critical battery percentage is now handled by UPower and not by gsettings (more here). Instead of using gsettings, you should now edit the file /etc/UPower/UPower.conf

Using gedit text editor:

sudo gedit /etc/UPower/UPower.conf

Edit the following lines:

UsePercentageForPolicy=true
PercentageLow=15
PercentageCritical=10
PercentageAction=8

And the rest changed accordingly.

Only the setting for the action after critical level (line CriticalPowerAction=HybridSleep) didn't work until I have created a swap space.


These are the commands you're looking for:

gsettings set io.elementary.terminal.settings tab-bar-behavior 'Always Show Tabs'
gsettings set io.elementary.terminal.settings tab-bar-behavior 'Hide When Single Tab'
gsettings set io.elementary.terminal.settings tab-bar-behavior 'Never Show Tabs'


Try sudo apt-get install pavucontrol and see if maybe your pulseaudio settings are messed up.


Switchboard-onlineaccounts didn't make it into the stable version of Freya. An incomplete version of this plug was in the Freya beta but was removed before the stable release.

Loki beta 2 (the latest version as of this writing) has known bugs and may be missing features. It's possible that the new version of the plug, which was released after Beta 2 and will probably ship with RC1, may fix this problem.


I found on Canon's website link to drivers for your printer:
Drivers
Just select Linux 64bit and download. ;)


I am a noob but I have managed to print in eOS. I installed the application Synaptic Package Manager, then I looked online for the driver that my printer required, then I found them through the Synaptic Package Manager search and installed them (cups etc.)
You can search within Synaptic Package Manager for the name of your printer and it may come up. It could be the following (printer-driver-escpr)


This can only changed in the source code I am afraid.  I assume the default action as changed in order to comply with the elementary HIG which states:

  . Destructive actions should not be focused by default to prevent accidental activation.


You can use Gnome Disk Utility. It is avaliable on the Software Centre and you can install it by:

searching the Software Centre for "Disks"
This command: sudo apt-get install gnome-disk-utility

It looks like this:

Click the Stop button, to unmount the disk. Then there will be either a + or - button.
Remove the partitions untill you are left with "Free Space".
Add a partition, with the + button. You have to select the free space to do this.
When it is completed, you can click the play button to mount it again.


Yellow tinge to screen after installing elementary OS

Elementary has a night light feature which removes a lot of blue light from the display, outside the hours of daylight. This can be customised or disabled completely.

Go to the Applications section, and find the System Settings tool. Within Systems Settings, choose Displays. Click the Night Light section and you are presented with an option to turn off this feature if required.


How do I move / reach a window that I "left" on a second screen?

Disable the second screen monitor in Display settings when it isn't in use. Any windows will be forced to your only screen, and all new windows will stay on this screen.

You can also try SUPER+DOWN to view workspaces. You might be able to grab the window there, too.

Not a bad first question :D


1.Error Message "Failed to Fetch Updates" 2. Negative Terminal Response to sudo apt-add-repository

Your first issue appears to be an issue connecting to the Ubuntu archives at au.archive.ubuntu.com.
If that's the issue perhaps its temporary.
I can connect to the server just fine.
In case it is related to other repositories configured, can you run the following command from a terminal and show the output.
This will show your system's configured repositories.
grep -r --include '*.list' '^deb ' /etc/apt/sources.list /etc/apt/sources.list.d/

For your second problem, the command add-apt-repository is provided by the software-properties-common package so you just need to install that.
sudo apt -y install software-properties-common


Appcenter Upgrade silently fails, GUI elements like dock icons disappear, applications menu doesn't open but causes wingpanel restart

Checking apt in the terminal revealed the problem: Probably connected to Spectre and Meltdown patches, some graphic driver upgrades seemed to cause dependency problems.

$ sudo apt update && sudo apt upgrade
[...]
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libdrm-dev : Depends: libdrm-amdgpu1 (= 2.4.89+git1801151830.57d3d4~oibaf~x) but 2.4.83-1~16.04.1 is installed
 libgl1-mesa-dri : Depends: libdrm-amdgpu1 (>= 2.4.89+git1801151830.57d3d4~oibaf~x) but 2.4.83-1~16.04.1 is installed
 libgl1-mesa-dri:i386 : Depends: libdrm-amdgpu1:i386 (>= 2.4.89+git1801151830.57d3d4~oibaf~x) but 2.4.83-1~16.04.1 is installed
 mesa-va-drivers : Depends: libdrm-amdgpu1 (>= 2.4.89+git1801151830.57d3d4~oibaf~x) but 2.4.83-1~16.04.1 is installed
 mesa-vdpau-drivers : Depends: libdrm-amdgpu1 (>= 2.4.89+git1801151830.57d3d4~oibaf~x) but 2.4.83-1~16.04.1 is installed
E: Unmet dependencies. Try using -f.

$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  geany-common libdrm-common libllvm4.0 libllvm4.0:i386 libxslt1-dev linux-headers-4.4.0-101
  linux-headers-4.4.0-101-lowlatency linux-headers-4.4.0-103 linux-headers-4.4.0-103-lowlatency linux-headers-4.4.0-104
  linux-headers-4.4.0-104-lowlatency linux-image-4.4.0-101-lowlatency linux-image-4.4.0-103-lowlatency
  linux-image-4.4.0-104-lowlatency mod-host mod-ui mod-ui-common phantomjs python-lockfile python3-pystache python3-serial
  python3-tornado
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libdrm-amdgpu1 libdrm-amdgpu1:i386
The following packages will be upgraded:
  libdrm-amdgpu1 libdrm-amdgpu1:i386
2 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
41 not fully installed or removed.
Need to get 0 B/60,3 kB of archives.
After this operation, 20,5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 656858 files and directories currently installed.)
Preparing to unpack .../libdrm-amdgpu1_2.4.89+git1801151830.57d3d4~oibaf~x_amd64.deb ...
De-configuring libdrm-amdgpu1:i386 (2.4.83-1~16.04.1) ...
Unpacking libdrm-amdgpu1:amd64 (2.4.89+git1801151830.57d3d4~oibaf~x) over (2.4.83-1~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801151830.57d3d4~oibaf~x_amd64.deb (--unpack):
 trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-common 2.4.83-1~16.04.1
Preparing to unpack .../libdrm-amdgpu1_2.4.89+git1801151830.57d3d4~oibaf~x_i386.deb ...
De-configuring libdrm-amdgpu1:amd64 (2.4.83-1~16.04.1) ...
Unpacking libdrm-amdgpu1:i386 (2.4.89+git1801151830.57d3d4~oibaf~x) over (2.4.83-1~16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801151830.57d3d4~oibaf~x_i386.deb (--unpack):
 trying to overwrite '/usr/share/libdrm/amdgpu.ids', which is also in package libdrm-common 2.4.83-1~16.04.1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801151830.57d3d4~oibaf~x_amd64.deb
 /var/cache/apt/archives/libdrm-amdgpu1_2.4.89+git1801151830.57d3d4~oibaf~x_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

After googling a bit on how to reverse such an unsuccessful ugrade, I came across this article which gave me enough info to adopt for my problem. $ grep -A 3 'Start-Date: 2018-01-17' /var/log/apt/history.log revealed one big chunk of text:

[...]
--
Start-Date: 2018-01-17  10:05:28
Commandline: packagekit role='update-packages'
Requested-By: peter (1000)
Upgrade: libgles2-mesa:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), uget-chrome-wrapper:amd64 (2.0.6-1, 2.0.7-1), libdrm-nouveau2:amd64 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libdrm-nouveau2:i386 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), gir1.2-gdkpixbuf-2.0:amd64 (2.32.2-1ubuntu1.3, 2.32.2-1ubuntu1.4), libegl1-mesa-dev:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libgdk-pixbuf2.0-0:amd64 (2.32.2-1ubuntu1.3, 2.32.2-1ubuntu1.4), libglapi-mesa:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libglapi-mesa:i386 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), mesa-common-dev:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libegl1-mesa:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), carla-git:amd64 (2:1.9.7+git20180106, 2:1.9.8+git20180116), libgbm1:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), carla-lv2:amd64 (2:1.9.7+git20180106, 2:1.9.8+git20180116), libdrm-amdgpu1:amd64 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libdrm-amdgpu1:i386 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libllvm5.0:amd64 (1:5.0-3~16.04.1, 1:5.0.1-1~oibaf~x), libllvm5.0:i386 (1:5.0-3~16.04.1, 1:5.0.1-1~oibaf~x), xserver-xorg-video-intel:amd64 (2:2.99.917+git1706071933.6babcf~gd~x, 2:2.99.917+git1801120736.26f540~oibaf~x), libwayland-egl1-mesa:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), carla-data:amd64 (2:1.9.7+git20180106, 2:1.9.8+git20180116), libgles2-mesa-dev:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), distro-info-data:amd64 (0.28ubuntu0.6, 0.28ubuntu0.7), libdrm2:amd64 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libdrm2:i386 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), carla-vst:amd64 (2:1.9.7+git20180106, 2:1.9.8+git20180116), libgl1-mesa-dev:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libgl1-mesa-dri:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libgl1-mesa-dri:i386 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libgdk-pixbuf2.0-common:amd64 (2.32.2-1ubuntu1.3, 2.32.2-1ubuntu1.4), libgdk-pixbuf2.0-dev:amd64 (2.32.2-1ubuntu1.3, 2.32.2-1ubuntu1.4), libosmesa6:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libosmesa6:i386 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libgl1-mesa-glx:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libgl1-mesa-glx:i386 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libdrm-intel1:amd64 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libdrm-intel1:i386 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libgbm-dev:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libdrm-radeon1:amd64 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), libdrm-radeon1:i386 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), mesa-vdpau-drivers:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x), libdrm-dev:amd64 (2.4.83-1~16.04.1, 2.4.89+git1801151830.57d3d4~oibaf~x), mesa-va-drivers:amd64 (17.2.4-0ubuntu1~16.04.2, 17.4~git1801160730.1cbcd7~oibaf~x)
--
[...]

I didn't have previous knowledge of this, but it didn't take long to guess (and hope) that the brackets contained (original-version, upgrade-target-version). Then I just copied this into a text editor and batch edited this to fit the format package-name:arch=original-version package-[...], so I could easily copy-paste that back into the terminal to use with sudo apt install to downgrade to the versions that at least worked. But apt wasn't too happy with this and complained a bit, so with the goal of just getting something through I simply removed the packages from that list again of which it couldn't find the original versions somehow.

[...]
Reading state information... Done
E: Version '2.0.6-1' for 'uget-chrome-wrapper' was not found
E: Version '2.32.2-1ubuntu1.3' for 'gir1.2-gdkpixbuf-2.0' was not found
E: Version '2.32.2-1ubuntu1.3' for 'libgdk-pixbuf2.0-0' was not found
E: Version '2:1.9.7+git20180106' for 'carla-git' was not found
E: Version '2:1.9.7+git20180106' for 'carla-lv2' was not found
E: Version '2:2.99.917+git1706071933.6babcf~gd~x' for 'xserver-xorg-video-intel' was not found
E: Version '2:1.9.7+git20180106' for 'carla-data' was not found
E: Version '0.28ubuntu0.6' for 'distro-info-data' was not found
E: Version '2:1.9.7+git20180106' for 'carla-vst' was not found
E: Version '2.32.2-1ubuntu1.3' for 'libgdk-pixbuf2.0-common' was not found
E: Version '2.32.2-1ubuntu1.3' for 'libgdk-pixbuf2.0-dev' was not found
$ sudo apt install libgles2-mesa:[...]
[...]
E: Version '2:2.99.917+git1706071933.6babcf~gd~x' for 'xserver-xorg-video-intel' was not found
E: Version '0.28ubuntu0.6' for 'distro-info-data' was not found

...but finally, it let me through.

Reading state information... Done
libdrm-amdgpu1 is already the newest version (2.4.83-1~16.04.1).
libdrm-amdgpu1 set to manually installed.
libdrm-amdgpu1:i386 is already the newest version (2.4.83-1~16.04.1).
libdrm-amdgpu1:i386 set to manually installed.
The following packages were automatically installed and are no longer required:
  geany-common libllvm4.0 libllvm4.0:i386 libomxil-bellagio-bin libomxil-bellagio0 libxslt1-dev linux-headers-4.4.0-101
  linux-headers-4.4.0-101-lowlatency linux-headers-4.4.0-103 linux-headers-4.4.0-103-lowlatency linux-headers-4.4.0-104
  linux-headers-4.4.0-104-lowlatency linux-image-4.4.0-101-lowlatency linux-image-4.4.0-103-lowlatency
  linux-image-4.4.0-104-lowlatency mod-host mod-ui mod-ui-common phantomjs python-lockfile python3-pystache python3-serial
  python3-tornado
Use 'sudo apt autoremove' to remove them.
Recommended packages:
  libtxc-dxtn-s2tc | libtxc-dxtn-s2tc0 | libtxc-dxtn0
The following packages will be DOWNGRADED:
  libdrm-dev libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386 libdrm2
  libdrm2:i386 libegl1-mesa libegl1-mesa-dev libgbm-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri libgl1-mesa-dri:i386
  libgl1-mesa-glx libgl1-mesa-glx:i386 libglapi-mesa libglapi-mesa:i386 libgles2-mesa libgles2-mesa-dev libllvm5.0
  libllvm5.0:i386 libosmesa6 libosmesa6:i386 libwayland-egl1-mesa mesa-common-dev mesa-va-drivers mesa-vdpau-drivers
0 upgraded, 0 newly installed, 30 downgraded, 0 to remove and 10 not upgraded.
41 not fully installed or removed.
Need to get 47,9 MB of archives.
After this operation, 59,2 MB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 mesa-vdpau-drivers amd64 17.2.4-0ubuntu1~16.04.2 [1.718 kB]
[...]
Setting up xserver-xorg-video-intel (2:2.99.917+git1801120736.26f540~oibaf~x) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
$

And indeed, it worked! The GUI is back to normal, at least for now. I will be careful with upgrading for a while, but I wanted to at least share this.


What system fonts should not be deleted?

Elementary OS System Fonts:

Default Font:   Droid Sans Regular
Document Font:  Open Sans Regular
Monospace Font: Droid Sans Mono Regular
Titlebar Font:  Droid Sans Bold

I recommend you to save all system fonts in a separate directory if something fails.


File that handles raw thumbnails in Files

Maybe a hint for you, I have just been reading this answer explaining how to enable/disable thumbnails by editing the file etc/xdg/tumbler/tumbler.rc

In that file you can see that file types (uri-scheme / mime-type combination) are managed by plugins...


Swapped keys with French macintosh keyboard in ElementaryOs

Go to System settings -> keyboard. There you can add other keyboard Layouts.
(+)Icon -> choose French -> choose the layout that fits your keyboard (there is one called Macintosh, maybe this fits, if not try the others)

Afterwards you can delete your first layout.


Delay during login after entering correct password in Loki

OK after some digging around, the output of journalctl command showed the following when the delay occurred at the time of login finally happening after 90 seconds:

Oct 11 20:50:18 skybird gnome-session[2743]: gnome-session-binary[2743]: WARNING: Application 'at-spi-dbus-bus.desktop' failed to register before timeout

and renaming away in /etc/xdg/autostart the file to at-spi-dbus-bus.desktop.disabled and after a few reboots seems this issue is not occurring for me.


How to automatically switch to connected Bluetooth headset and enable A2DP mode?

Right now, this is probably a feature request. Quite simply, the code for detecting and implementing this action does not exist, and likely won't appear until a bug has been filed and a fix released.

  Questions about bugs and feature requests are off-topic because they cannot be resolved via Q&A. For more information on how to report issues, see How can I report an issue with elementary OS to the developers?


Loki won't boot, stuck on blinking cursor

I didn't find a solution to the problem so I ended up reinstalling the OS altogether.

However, the problem came back after I installed AMDGPU-PRO drivers. This time I was able to boot into recovery and do an uninstall.

On the first installation I had the drivers installed since day one, so I suspect they were compatible with that version of Loki, until I upgraded the system and the drivers became incompatible somehow.

I think I'll stick to the default drivers or use oibaf.

Thanks for all the comments.


elementary os keep filling its dirve automatically ... any permanent solution to fix it?

My permanent solution to this is to not have /boot be a separate partition. This hasn't been necessary for a long time, back when BIOS could only read the first 1024 cylinders on a disk it was important, but not now.


Use of STYLE_CLASS_LINKED for Linked Buttons

In Files, view switch use Gtk.STYLE_CLASS_FLAT instead Gtk.STYLE_CLASS_LINKED.

However ,  you can use Granite.Widgets.ModeButton

You can see the code at :

Files on Launchpad: linked

Files on Launchpad: ModeButton


Fix bad quality audio in Bluetooth headphones

Funnily enough, I found the answer while writing this post, so I might as well write my first-ever Q&A post on StackExchange.

You have to go to Sound Settings and under the options for your Bluetooth headphones, switch the Mode to High Fidelity Playback (or whatever other option there is.)


How can i change userpic on the start screen?

System Settings >> User Accounts

Unlock in upper right with password.

Click on the picture placeholder

Navigate to the picture you want to use, and you're all set!

https://youtu.be/mFXM00hJxnk


You have to install missing dependencies.

 sudo apt install -f


Archive keystroke in Geary or Thunderbird

In Geary, this isn't currently possible, but the development team is planning to add that feature.

In Thunderbird, you can set up archiving for non-Gmail accounts by following these instructions.


How can I set up an alias for a command?

For this session

Simply run this command:

alias key='your long command'

Permanently

Add the commands as described above into .bash_aliases.

Open scratch with the Applications menu and edit the file .bash_aliases in your home directory. It's a hidden file, so press Ctrl+H to see it.

Or you can type in the terminal: scratch-text-editor ~/.bash_aliases

Then add into it the following line:

alias key='your long command'

To apply the changes immediately run this command:

source ~/.bashrc


Are you updating while working from the live USB pendrive itself? Or have you updated it after installing to your HDD? Or have you installed it to another pendrive? (I assume the first one because you said your HDD is not working-still mention it clearly) If you are updating from the pendrive then it is of no use because when you shutdown, restart the computer and boot again from the live USB pendrive then all the updates will be gone and the system will be like a fresh un-updated elementary OS. Please clarify it in your question or here in the comments.


I have a fork of wingpanel with autohide.

Unless you are using Archlinux, clone the git repository, then build and install according to the README.

For Archlinux, it is packaged in the AUR: wingpanel-standalone-git


How to install Canon IP2770 printer on elementary OS?

The printer family IP2700 have driver for Ubuntu and derivates in Canonical repositories. So you can installing it from Configuration -> Printers -> Add new printer


Your problem has probably already been answered in this post.
(Could anyone more knowledgable regarding kernel modules and drivers please confirm these two problems are the same?)


Copying from Files (pantheon-files) and pasting to LibreOffice does this indeed. You might want to file a feature request in pantheon-files: https://bugs.launchpad.net/pantheon-files/+filebug

As a workaround, you can drag&drop pictures from Files: this works with LibreOffice (could not test with Crossover though).


Can't use options with io.elementary.terminal

Well this works for me in Hera 5.1.3 in codeblocks. Copy paste this to Settings>Environment settings>Terminal to launch console program

io.elementary.terminal -t $TITLE -x


Making brightness work on Elementary OS Loki with fn key

I found this: answer

and this worked for me from his answer:

P.S: I have asus too, but I got X550JX model.


Can I use unity-greeter in elementary OS?

Yes it is safe.
But there is a possible risk of accidentally corrupting the main environment so i would recommend to leave any files you don't know about alone.


I had to remove the HDD on my computer before I could install Elementary OS onto the NVME drive.  If you can't remove the HDD easily look in the BIOS to see if there is an option to turn of the particular SATA port your HDD is attached to.


I want to add the listbox scroll fade effect in my app - how?

The most common way a designer can do this is by applying on an upper layer a semitransparent png image or gradient with fading transparency from 1 to 0 and white color. Another option is a gtk box shadow with white color.

edit: I believe this is what are you looking for:

ctl+shft+d

The style is into gtk-widgets.css, line 3840

popover undershoot.top {
background:
    linear-gradient(
        @bg_color 0%,
        alpha(@bg_color, 0) 50%
    );}