Optimize elementary OS for gaming setup


This guide show you how to tweak your elementary OS into a smoothly gaming experience with the thanks to Feral Game Mode.

What it actually do is optimize the elementary settings including:

  • CPU governor
  • I/O priority
  • Process niceness
  • Kernel scheduler (SCHED_ISO)
  • Screensaver inhibiting
  • GPU performance mode (NVIDIA and AMD)
  • GPU overclocking (NVIDIA)
  • Custom scripts

This guide also shows you how to setup screen recording ingame, like you have with windows10.


Fire up for the terminal and copy/paste these commands which will add Feral Game Mode to your system;

sudo apt install software-properties-common
sudo add-apt-repository ppa:samoilov-lex/gamemode
sudo apt install gamemode

Reboot your system.


Now your system is ready for running your games better. To tell a game to run in gamemode you need to use the command gamemoderun.

Example running a steam game in gamemode;

gamemoderun steam steam://rungameid/200710

A simple way is to edit Slingshot (Application Menu) gaming entries. You do it by following:

sudo apt install com.github.donadigo.appeditor


You may want to record what you are playing like you can easily do in Windows10. You can do that also in elementary OS.

Open the terminal and type;

sudo apt install com.github.artemanufrij.screencast
com.github.artemanufrij.screencast %U

Now adjust screencast to record computer sounds and set it to delay from 3 to 5 seconds. If you have a microphone you may want to enable that also.

The next thing is to setup shortcuts for screencast. Go to System Settings, click Keyboard. Select Shortcuts and pick Custom.

Screenshot from 2020-05-16 00.00.15

Add following entry:

com.github.artemanufrij.screencast --toggle

Give it shortcut [ALT]+[Z]
This will start the screen recording.

Next entry is to stop the recording;

com.github.artemanufrij.screencast --finish

Give it shortcut [ALT]+[X]

You are now set up for the ultimate Linux gaming experience and hopefully make some great gaming videos.

Enjoy! ^_^


Tested on: elementary OS 5.1.4

Game launcher for elementary OS

Screenshot from 2020-05-15 05.22.33

There’s a hidden gem for linux gamers in the appCenter called Gnome Games. It’s a game launcher that gather all of your games under one roof. The support stretches from Dreamcast games to Steam.

To install it via the terminal, copy/past:

sudo apt install gnome-games-app

Game platform support:

  • Dreamcast
  • Game Cube
  • MAME
  • Nintendo DS
  • Playstation
  • Sega CD
  • Sega Saturn
  • Steam
  • Wii

Howto stop app running in the background in elementary OS

By default elementary OS is pretty slim, but there may be some applications you don’t use and in no need of running in the background. Example I don’t need orca or onboard to startup as I’m using a stationary computer.

WARNING: If you disable something vital you’ll end up with a broken system. Use with caution!

Open the terminal and copy/paste;

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

Now you can see what’s is set to running when starting elementary OS. Now be careful what you disable.

Screenshot from 2020-05-15 06.32.50


Tested on: elementary OS 5.1.4

Howto run multiply planks in elementary OS

Screenshot from 2020-05-15 01-28-32

This guide will show you how to run multiply planks on elementary OS. It can be rather useful if you have more than one monitor.

Open the terminal and copy/paste:

plank -n panel-two --preferences

In this example I use the word panel-two, but you can call it whatever you want. You can call them panel-one, panel-two, panel-three etc.
Now setup your new panel.

When done, go to System Settings. Click Applications and pick Startup.

Add the following command;

plank -n panel-two
Screenshot from 2020-05-15 01.44.59

Now log out and log in. You’ll now have an extra plank.
Enjoy! ^_^

Tested on: elementary OS 5.1.4

Howto change Slingshot to the old style in elementary OS

This guide will show you how to change Slingshot back to how it should looks like.


First we need to get older libs. One for Slingshot and one for elementary Tweaks. Open the terminal and copy/paste:

cd && cd Downloads
wget https://github.com/ATVG-Studios/applications-menu/releases/download/2.5.0-c2/libslingshot.so

Next thing is to backup the current libs, so you can switch back if needed. Copy/paste:

sudo cp -r /usr/lib/x86_64-linux-gnu/wingpanel/libslingshot.so libslingshot.so_backup

Now you can copy the downloaded libs into Slingshot and elementary-tweaks:

sudo cp -r libslingshot.so /usr/lib/x86_64-linux-gnu/wingpanel

Lastly you need to download the schemas that tells on how Slingshot shall be structured: Download here

And you need to copy into /usr/share/glib-2.0/schemas

sudo cp -r io.elementary.desktop.wingpanel.applications-menu.gschema.xml /usr/share/glib-2.0/schemas
sudo glib-compile-schemas /usr/share/glib-2.0/schemas
killall wingpanel

Now you have the old look and feel from Slingshot.

To prevent newer release of slingshot and elementary-tweaks to reset the tweaks you made, you have to hold to packages back. Copy/paste:

sudo apt-mark hold slingshot-launcher

Source: https://hastebin.atvg-studios.com/dobamidivi.txt


Tested on: elementary OS 5.1.4 – 5.1.6

Howto change theme in elementary os

It is not so straight forward to change themes in elementary os. This guide will show you how to do it.

To change theme, icons and fonts in elementary OS you need a third party app called elementary tweaks. Open the terminal and copy/paste these commands;

sudo apt install software-properties-common
sudo add-apt-repository ppa:philip.scott/elementary-tweaks
sudo apt install elementary-tweaks

You can now find elementary tweaks in System Settings. 

Screenshot from 2020-05-09 02.58.26

To get more themes to use in elementary OS you need to do following that will make two folders in your home directory. One for your themes and one for your icons:

mkdir -p .themes
mkdir -p .icons

The two folders are hidden, so you need to right click in your file-browser and select Show Hidden Files.

Next thing is to head over to www.gnome-look.org and download a theme and some icons. The icons section is here and the theme section is here. Unpack the icons to the .icons folder and unpack the theme to the .themes.

When it’s done go to System Settings and click Tweak.

Enjoy! ^_^

Tested on: elementary OS 5.1.4 – 5.1.6