Things to Do After Installing Ubuntu GNOME 20.04/22.04 LTS

Things to Do After Installing Ubuntu GNOME 20.04/22.04 LTS #

Check and Install Package Updates #

sudo apt update && sudo apt list --upgradable && sudo apt upgrade
sudo apt update && sudo apt list --upgradable && sudo apt upgrade && sudo apt autoremove

Commands for System Cleanup #

To clean partial packages

sudo apt autoclean

To remove unused dependencies

sudo apt autoremove

To auto cleanup apt-cache

sudo apt clean

My Software and Tools #

sudo apt install \
  nano \
  git \
  wget \
  curl \
  mc \
  copyq \
  filezilla \
  neofetch \
  remmina \
  inxi \
  make \

Install GNOME Sushi #

GNOME sushi - erweiterte Dateivorschau für Nautilus. #

sudo apt install gnome-sushi

Show the trash icon on the desktop #

gsettings set show-trash true

Add create ‘New Document’ option to Nautilus FileManager #

touch 'New Text File.txt' && touch 'New Markdown'

Install Z-shell (Oh My Zsh) #

sudo apt install zsh powerline fonts-powerline
sh -c "$(wget -O-"

Install plugins: #

git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Enable Oh-my-zsh plugins #

nano ~/.zshrc

Fix very slow paste #

nano ~/.zshrc

Terminal themes: #

bash -c  "$(wget -qO-"
  • Cai (27)
  • Arthur (09)
  • Afterglow (06)

QT Applications Style #

sudo apt install -y qt5-style-plugins
echo "export QT_QPA_PLATFORMTHEME=gtk2" >> ~/.profile

System Tuning #

sudo apt install gnome-system-tools dconf-editor gnome-tweaks chrome-gnome-shell gnome-shell-extensions

Installing additional support for archivers #

sudo apt install p7zip-rar rar unrar unace arj cabextract

Install Google Chrome #

Install Visual Studio Code #

Install Gnome Extensions #

Synaptic #

sudo apt install synaptic gdebi

Install Synaptic Quick-Search filter: #

sudo apt-get install apt-xapian-index && sudo update-apt-xapian-index -vf

Custom Hot Keys #

Task Manager



Screenshots #

Screenshot - Grab the current window


sh -c '~/bin/'


## Gnome-Screenshot - Grab the current window 
## sh -c '~/bin/'
## [Alt+Print]

DATE=$(date +%Y-%m-%d-%H:%M:%S)
gnome-screenshot -w -f ~/Pictures/Screenshots/Screenshot-$DATE.png

Screenshot - Grab the whole screen


sh -c '~/bin/'


## Gnome-Screenshot - Grab the whole screen 
## sh -c '~/bin/'
## [Shift+Print]

DATE=$(date +%Y-%m-%d-%H:%M:%S)
gnome-screenshot -f ~/Pictures/Screenshots/Screenshot-$DATE.png

Screenshot - Select area to grab


sh -c '~/bin/'


## Gnome-Screenshot - Select area to grab 
## sh -c '~/bin/'
## [Print]

DATE=$(date +%Y-%m-%d-%H:%M:%S)
gnome-screenshot -a -f ~/Pictures/Screenshots/Screenshot-$DATE.png

Terminal Hot Keys #

sudo apt-get install wmctrl xdotool
# xdotool search --class "$program" windowactivate %@
# xdotool search --name "$program" windowactivate %@

Minimize Terminal


xdotool search -class gnome-terminal windowminimize %@

Show hidden Terminal


xdotool search -class gnome-terminal windowactivate %@

Fonts #

Fonts Dirs #

  • /usr/share/fonts
  • /usr/local/share/fonts

Install Microsoft fonts #

sudo apt-get install ttf-mscorefonts-installer

Manually Install Fonts #

sudo mkdir -p /usr/local/share/fonts/my_fonts
sudo cp *.ttf /usr/local/share/fonts/my_fonts
sudo chown root:staff /usr/local/share/fonts/my_fonts -R
sudo chmod 644 /usr/local/share/fonts/my_fonts/* -R
sudo chmod 755 /usr/local/share/fonts/my_fonts
sudo fc-cache -fv

Fix NTFS #

sudo ntfsfix /dev/sda1

How to disable Ctrl+Shift+U? #


The problem is that with the “Ibus” input method, Ctrl-shift-u is by default configured to the “Unicode Code Point” shortcut. You can try this: Type ctrl-shift-u, then an (underlined) u appears. If you then type a unicode code point number in hex (e.g. 21, the ASCII/unicode CP for !) and press enter, it is replaced with the corresponding character.


This shortcut can be changed or disabled using the ibus-setup utility:

  • Run ibus-setup from the terminal (or open IBus Preferences).
  • Go to Emoji.
  • Next to Unicode code point:, click on the three dots (i.e. …).
  • In the dialog, click Delete, then OK.
  • Close the IBus Preferences window.

Boot repair #

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair

Install OpenVPN plugin #

sudo apt install network-manager-openvpn-gnome openvpn-systemd-resolved

VPN FritzBox #

sudo apt install vpnc network-manager-vpnc-gnome

Under Settings choose Network and under VPN add a new connection by clicking on “+”. You have to choose “Cisco-compatible VPN-client (vpnc)“!


Install Multimedia Codecs #

sudo apt install ubuntu-restricted-extras

Enable the Canonical Partners Repository #

The Canonical Partner repository offers some proprietary applications such as Adobe Flash Plugin, that are closed-source but don’t cost any money to use. To enable it, open Software & Updates, once it launches, click on the Other Software tab.

Change background to solid color #

To clear the current image setting:

gsettings set org.gnome.desktop.background picture-uri ""

To set the primary color (the first color in a gradient or the solid color):

gsettings set org.gnome.desktop.background primary-color '#232f3e'

Global Git ignore #

touch ~/.gitignore
nano ~/.gitignore
git config --global core.excludesFile '~/.gitignore'

Scale GRUB menu on 4K displays #

sudo nano /etc/default/grub


sudo update-grub

Install Flatpak #

sudo apt install flatpak

Add the Flathub repository

flatpak remote-add --if-not-exists flathub

Obsidian - Markdown-based knowledge base #

flatpak install flathub md.obsidian.Obsidian

Telegram Desktop #

flatpak install flathub org.telegram.desktop

ONLYOFFICE Desktop Editors #

flatpak install flathub org.onlyoffice.desktopeditors

Skype #

flatpak install flathub

Blueman - Bluetooth Manager #

sudo apt install blueman

Restart PulseAudio #

systemctl --user restart pulseaudio
Edit Edit this page