Things to Do After Installing Ubuntu GNOME 22.04 LTS

Things to Do After Installing Ubuntu GNOME 22.04 LTS #

Check and Install Package Updates #

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

Enabling SSH #

sudo apt install openssh-server
sudo systemctl enable ssh
sudo systemctl start ssh
sudo systemctl status ssh
sudo ufw allow ssh

My Software and Tools #

sudo apt install \
  nano \
  git \
  wget \
  curl \
  mc \
  copyq \
  filezilla \
  neofetch \
  remmina \
  inxi \
  make \
  htop \
  gnome-sushi \
  aptitude \
  zsh \
  powerline \

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

Show the Trash icon on the desktop #

gsettings set show-trash true

Show the Home icon on the desktop #

gsettings set show-home 'true'

Show the External Drives icons on the desktop #

From GUI: Extensions » Desktop Icons NG (DNG) » Settings

gsettings set show-volumes 'true'

Add create ‘New Document’ option to Nautilus FileManager #

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

Nautilus list view, permanently change the displayed columns #

gsettings set org.gnome.nautilus.list-view default-visible-columns "['name', 'size', 'owner', 'permissions', 'date_modified_with_time', 'starred']"

Default visible columns #

['name', 'size', 'date_modified', 'starred']
['name', 'size', 'detailed_type', 'owner', 'permissions', 'date_modified_with_time', 'starred']

Default column order #

['name', 'size', 'type', 'owner', 'group', 'permissions', 'mime_type', 'where', 'date_modified', 'date_modified_with_time', 'date_accessed', 'date_created', 'recency', 'starred']

Nautilus Copy Path/Name #

Install Z-shell (Oh My Zsh) #

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
export PATH=$HOME/bin:/usr/local/bin:$PATH

Fix very slow paste #

nano ~/.zshrc

Terminal themes: #

bash -c  "$(wget -qO-"
  • Cai (32)

QT Applications Style #

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

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



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-get install network-manager-vpnc-gnome
  1. Starten Sie die Advanced Network Configuration, z.B. im Terminal über nm-connection-editor.
  1. Klicken Sie im Abschnitt VPN auf das Pluszeichen. Das Fenster VPN hinzufügen wird geöffnet.
  2. Wählen Sie im Fenster VPN hinzufügen den Eintrag Cisco-kompatibler VPN-Client (vpnc) aus.
  3. Tragen Sie im Eingabefeld Name einen beliebigen Namen (FRITZ!Box-VPN) ein.
  4. Tragen Sie im Eingabefeld Gateway die MyFRITZ!-Adresse der FRITZ!Box ( ein.
  5. Tragen Sie im Eingabefeld Benutzername den Benutzernamen des FRITZ!Box-Benutzers (Max Mustermann) ein.
  6. Klicken Sie auf das Symbol im Eingabefeld Benutzerpasswort, wählen Sie den Option Passwort nur für diesen Benutzer speichern aus und tragen Sie dann das Kennwort des FRITZ!Box-Benutzers (geheim1234) ein.

Hinweis: Bei einigen Ubuntu-Versionen muss stattdessen die Option Passwort für alle Benutzer speichern aktiviert werden.

  1. Tragen Sie im Eingabefeld Gruppenname den Benutzernamen des FRITZ!Box-Benutzers (Max Mustermann) ein.
  2. Klicken Sie auf das Symbol im Eingabefeld Gruppenpasswort, wählen Sie den Eintrag Passwort nur für diesen Benutzer speichern aus und tragen Sie dann das Shared Secret des FRITZ!Box-Benutzers (Zj7hPCouK65IrPU4) ein. Das Shared Secret wird in den VPN-Einstellungen des Benutzers im Abschnitt iPhone, iPad oder iPod Touch angezeigt.
  3. Klicken Sie auf Erweitert.
  4. Tragen Sie im Eingabefeld Tunnel-Schnittstellenname tun0 ein und klicken Sie auf auf Apply.
  5. Klicken Sie auf die Schaltfläche Speichern, um die Einrichtung abzuschließen. Falls die Schaltfläche Speichern ausgegraut ist, klicken Sie noch einmal auf Erweitert und dann auf Apply und wiederholen Sie das Speichern.
  6. Klicken Sie bei der VPN-Verbindung auf den An/Aus-Schalter, um die Verbindung herzustellen.
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'

Install Flatpak #

sudo apt install flatpak

Add the Flathub repository

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

Blueman - Bluetooth Manager #

sudo apt install blueman

Restart PulseAudio #

systemctl --user restart pulseaudio

Font anti-aliasing in Ubuntu #

Open up .fonts.conf under your home directory (~/.fonts.conf) and paste this in:

<?xml version="1.0" ?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
      <match target="font">
         <edit name="autohint" mode="assign">

Fix: Key is stored in legacy trusted.gpg keyring after Ubuntu 22.04 update #

apt-key list

Note: The DF7587C3 value comes from the last 8 characters of the pub code from the apt-key list output.

apt-key export DF7587C3 | sudo gpg --dearmour -o /usr/share/keyrings/skype-linux-client.gpg
sudo -H gedit /etc/apt/sources.list.d/skype-stable.list
deb [arch=amd64 signed-by=/usr/share/keyrings/skype-linux-client.gpg] stable main
sudo apt update
sudo apt-key del DF7587C3

Fix GRUB for dual boot system #

sudo nano /etc/default/grub


sudo update-grub

Scale GRUB menu on 4K displays #

sudo nano /etc/default/grub


sudo update-grub

Add AppImage support #

sudo apt install libfuse2

Adding a folder to side panel nautilus NOT as a bookmark #

nano ~/.config/user-dirs.dirs

Default content

# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.

Restore Defaults #

Any changes takes effect after logout and login.

mv ~/.config/user-dirs.dirs ~/.config/user-dirs.dirs.broken

Fix: GNOME Sushi freezes system when previewing OpenDocument #

sudo apt install unoconv
Edit Edit this page