Be sure you backup everything you need
Download Elementary OS Juno
You can download Elementary OS Juno (5.0) from their official site hitting the Purchase Elementary OS button. They are doing an amazing work, so don’t be mean and pay something for it. If your economy is a sensible topic, you can also get it for free.
Create a bootable USB disk with the downloaded file and install
At this point, you will have a file named similarly to elementaryos-5.0-stable.20181016.iso. A tool to create a bootable disk is needed. Personally, I am going to use Startup disk creator. It is in the Ubuntu repositories. If you are using Windows then you can use Rufus. For Mac users, Etcher does a good work. Etcher also works with Linux and Windows, by the way.
I am not going to get redundant. Elementary OS have an excellent getting started guide about how to do this here.
My choice: use encryption, erase full disk, allow third party software and install updates.
A few (fixed) problems
During the installation you will appreciate a super annoying screen flickering. The good news: it can be fixed. It also affects other Linux distributions and sadly it is a known problem for more than 2 years now that nobody has fixed yet.
This also happened in Elementary OS Loki (0.4). The fully patched kernel to fix this problem was introduced in the version 4.17. Juno ships with 4.15. Out of the box it works way better than in Loki, but if you want to fix it, continue reading.
Suspend loop after closing laptop lid
Again, a problem also happening in Loki and that nobody has fixed yet. Continue reading….
Errors in system logs (dmesg)
computername kernel: pcieport 0000:00:1c.0: PCIe Bus Error: severity=Corrected, type=Data Link Layer, id=00e0(Transmitter ID) computername kernel: pcieport 0000:00:1c.0: device [8086:9d12] error status/mask=00001000/00002000 computername kernel: pcieport 0000:00:1c.0:  Replay Timer Timeout
These errors don’t seem to affect the laptop performance or crash the system at all. However, there is a simple fix for them.
The solution for the four problems above
- Install the Long Term support of the Linux Kernel (4.19) and reboot your machine. This is actually very easy thanks to a tool called Ukuu.
sudo apt-add-repository -y ppa:teejee2008/ppa sudo apt update sudo apt install ukuu
- Install Kernel 4.19 with Ukuu.
- The flickering should still be thereafter reboot.
- Tweak grub booting parameters:
- Open grub configuration with Elementary code editor:
sudo io.elementary.code /etc/default/grub
- Find the line with content
- and change it to
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pci=nomsi i915.edp_vswing=2 i915.enable_rc6=1 button.lid_init_state=open"
- Update grub
- Explanation (thanks to https://github.com/hyphone/razer-stealth-late-2017-kblrefresh-linux):
pci=nomsi: fixes the log errors. i915.edp_vswing=2: in combination with the LTS Kernel fixes the flickering. i915.enable_rc6=1: additional power saving settings. button.lid_init_state=open: fixes the suspend boot loop after closing the lid.
Get the best of your laptop battery
Install the mysterious TLP optimizations https://www.tecmint.com/tlp-increase-and-optimize-linux-battery-life/ source:
sudo add-apt-repository ppa:linrunner/tlp sudo apt-get update sudo apt-get install tlp tlp-rdw sudo tlp start
Get your fancy control of keyboard lights back
To get the RGB craziness or a sweet cute rainbow on your keyboard, get RazerComander. While in Loki, I was using Polychromatic. But with all the madness around the support (of lack of it) for System Tray (aka Indicators), Polychromatic is a bit more tedious to use. You can also control the back ligh logo.
# Install OpenRazer daemon first:https://github.com/hectorm/elementary-dropbox sudo add-apt-repository ppa:openrazer/stable sudo apt update sudo apt install openrazer-meta
You can use the latest ”’.deb”’ or ”’.flatpak”’ from RazerComander. If you need to set up FlatPak, this is the original guide.
A sensible topic: indicators
An intensive battle between users and developers about the System Tray (aka indicator area) and compatibility with some applications is in the air. Well, maybe it isn’t, as Elementary OS is dropping support for ”ayatana indicators” following similar moves from other desktop environments.
But, while in Gnome, for example, you can get an extension to render those ”legacy” indicators, on Elementary OS Juno, this is not an option. Applications like Skype, Dropbox, Polychromatic, PIA (Private Internet Access), KDE Connect, … become difficult to use, if not impossible.
And I have to say that I do understand Elementary OS decision, even if it is a pain in the ass for most of us. But in the meanwhile, there is an ugly, ugly workaround source:
- Download and install the indicators-application-patched from https://github.com/mdh34/elementary-indicators/releases.
- Download and install the legacy wingpanel-indicator-ayatana from here.
Special mention to Dropbox
Dropbox is another pain to install. Actually, I am seriously considering pCloud as an alternative. Don’t follow the Ubuntu or other .deb based system guides. This works seamlessly: https://github.com/hectorm/elementary-dropbox.
That’s all folks! I will try to keep this article up to date with any peculiarity that I might find.