Things to Do After Installing Ubuntu GNOME 24.04 LTS #
Check and Install Package Updates #
Apt:
sudo apt update && sudo apt list --upgradable && sudo apt upgrade && sudo apt autoremove
Nala:
sudo nala update && sudo nala list --upgradable && sudo nala upgrade && sudo nala autoremove
Aptitude:
sudo aptitude update && sudo apt list --upgradable && sudo aptitude upgrade && sudo apt autoremove
Install Software and Tools: #
sudo apt install \
nano \
nala \
aptitude \
git \
wget \
curl \
mc \
copyq \
filezilla \
neofetch \
remmina \
inxi \
make \
htop \
gnome-sushi \
zsh \
duf \
powerline \
fonts-powerline \
pavucontrol \
pipewire-pulse
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
Google Chrome #
https://www.google.com/intl/de_de/chrome/
sudo dpkg -i google-chrome-stable_current_amd64.deb
Enpass #
https://support.enpass.io/app/getting_started/installing_enpass.htm
echo "deb https://apt.enpass.io/ stable main" | sudo tee /etc/apt/sources.list.d/enpass.list
wget -O - https://apt.enpass.io/keys/enpass-linux.key | sudo tee /etc/apt/trusted.gpg.d/enpass.asc
sudo apt-get update
sudo apt-get install enpass
PhpStorm #
https://www.jetbrains.com/de-de/phpstorm/download/#section=linux
tar -xzf PhpStorm-2024.1.1.tar.gz
sudo mv PhpStorm-24* /opt/phpstorm
sudo chown root:root -R phpstorm/
sudo chmod 4755 /opt/phpstorm/jbr/lib/chrome-sandbox
PhpStorm
>Tools
>Create Desktop Entry
DeaDBeeF Audio Player #
- https://deadbeef.sourceforge.io/download.html
- https://sourceforge.net/projects/deadbeef/files/travis/linux/
sudo apt install ./deadbeef-static*amd64.deb
Terminal #
Terminal
>Preferences
>General
>Enable the menu acceleration key
>OFF
Terminal
>Profile +
>wtw24
>Set as default
Terminal
>Profile
>Initial terminal size
>126 columns
>44 rows
Terminal themes: #
https://mayccoll.github.io/Gogh/
bash -c "$(wget -qO- https://git.io/vQgMr)"
( 16 ) Azu
Install Z-shell (Oh My Zsh) #
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
Install plugins: #
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${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
plugins=(
git
kube-ps1
zsh-autosuggestions
zsh-syntax-highlighting
command-not-found
)
Fix very slow paste #
nano ~/.zshrc
DISABLE_MAGIC_FUNCTIONS=true
Install Gnome Extensions #
sudo apt install gnome-shell-extensions gnome-menus gir1.2-gmenu-3.0
Dash to Panel #
https://extensions.gnome.org/extension/1160/dash-to-panel
Arc Menu #
https://extensions.gnome.org/extension/3628/arcmenu
Caffeine #
https://extensions.gnome.org/extension/517/caffeine
Steal my focus window #
https://extensions.gnome.org/extension/6385/steal-my-focus-window
Astra Monitor #
https://extensions.gnome.org/extension/6682/astra-monitor/
Keep awake! #
https://extensions.gnome.org/extension/1097/keep-awake/
Install Flatpak #
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
# !!! To complete setup, restart system
Install Flatpak Apps: #
Flatseal #
https://flathub.org/apps/com.github.tchx84.Flatseal
flatpak install flathub com.github.tchx84.Flatseal
Gear Lever #
https://flathub.org/de/apps/it.mijorus.gearlever
flatpak install flathub it.mijorus.gearlever
FileZilla #
https://flathub.org/de/apps/org.filezillaproject.Filezilla
flatpak install flathub org.filezillaproject.Filezilla
File Roller #
https://flathub.org/de/apps/org.gnome.FileRoller
flatpak install flathub org.gnome.FileRoller
Haruna Media Player #
https://flathub.org/de/apps/org.kde.haruna
flatpak install flathub org.kde.haruna
Skype #
https://flathub.org/de/apps/com.skype.Client
flatpak install flathub com.skype.Client
Mission Center #
flatpak install flathub io.missioncenter.MissionCenter
Meld #
https://flathub.org/apps/org.gnome.meld
flatpak install flathub org.gnome.meld
Bruno #
https://flathub.org/de/apps/com.usebruno.Bruno
flatpak install flathub com.usebruno.Bruno
Insomnia #
https://flathub.org/apps/rest.insomnia.Insomnia
flatpak install flathub rest.insomnia.Insomnia
Postman #
https://flathub.org/apps/com.getpostman.Postman
flatpak install flathub com.getpostman.Postman
Issue: Postman crashes trying to load certificates
Workaround: create the certificates manually
cd ~/.var/app/com.getpostman.Postman/config/Postman/proxy \
&& openssl req -subj '/C=US/CN=Postman Proxy' -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout postman-proxy-ca.key -out postman-proxy-ca.crt
Disk Usage Analyzer #
https://flathub.org/apps/org.gnome.baobab
flatpak install flathub org.gnome.baobab
System Settings #
Tweaks
>Keyboard
>Show Extended Input Sources
>ON
Settings
>Keyboard
>Input Sources
>Add Input Sources
>Russian (Germany, phonetic)
Settings
>Privacy & Security
>Screen Lock
>Automatic Screen Lock
>OFF
Settings
>System
>Date & Time
>Week Day
>ON
Settings
>System
>Date & Time
>Date
>ON
Settings
>System
>Date & Time
>Seconds
>ON
Settings
>System
>Date & Time
>Week Numbers
>ON
Settings
>System
>Manage Installed Languages
>Install / Remove Languages...
Add create ‘New Document’ option to Nautilus FileManager #
XDG_TEMPLATES_DIR=$(xdg-user-dir TEMPLATES) && cd "$XDG_TEMPLATES_DIR"
touch 'New Text File.txt' && touch 'New Markdown File.md'
Nautilus Copy Path/Name #
https://github.com/chr314/nautilus-copy-path
sudo apt install python3-nautilus python3-gi
git clone https://github.com/chr314/nautilus-copy-path.git
cd nautilus-copy-path && make install
Custom Hot Keys #
Task Manager
Ctrl
+Alt
+Delete
gnome-system-monitor
Fonts #
https://github.com/mozilla/Fira
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
Synaptic #
http://help.ubuntu.ru/wiki/synaptic
sudo apt install synaptic gdebi
Install Synaptic Quick-Search filter: #
sudo apt-get install apt-xapian-index && sudo update-apt-xapian-index -vf
How to disable Ctrl+Shift+U? #
Problem
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.
Solution
This shortcut can be changed or disabled using the ibus-setup
utility:
- Run
ibus-setup
from the terminal (or open IBus Preferences).
ibus-setup
- Go to
Emoji
. - Next to
Unicode code point:
, click on the three dots (i.e. …). - In the dialog, click
Delete
, thenOK
. - Close the IBus Preferences window.
Change background to solid color #
To clear the current image setting:
gsettings set org.gnome.desktop.background picture-uri ""
gsettings set org.gnome.desktop.background picture-uri-dark ""
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
.idea
git config --global core.excludesFile '~/.gitignore'
Install Docker #
https://docs.docker.com/engine/install/ubuntu/
Uninstall old versions #
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
Install using the apt repository #
Add Docker’s official GPG key:
sudo apt-get update \
&& sudo apt-get install ca-certificates curl \
&& sudo install -m 0755 -d /etc/apt/keyrings \
&& sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc \
&& sudo chmod a+r /etc/apt/keyrings/docker.asc
Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null \
&& sudo apt-get update
Install the latest Docker packages
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Add host user to the docker group
sudo usermod -aG docker $USER
Log out and log back in so that group membership is re-evaluated.
ONLYOFFICE Desktop #
https://www.onlyoffice.com/download-desktop.aspx
RcloneBrowser (Ubuntu Software) #
https://kapitainsky.github.io/RcloneBrowser/
Grsync #
sudo apt install grsync
Blueman - Bluetooth Manager #
sudo apt install blueman
Access files and folders on Ext from Windows #
Fix: GNOME Sushi freezes system when previewing OpenDocument #
sudo apt install unoconv
Detach Child Pop-up windows from Parent #
gsettings set org.gnome.mutter attach-modal-dialogs false
Add AppImage support #
sudo apt install libfuse2
Scale GRUB menu on 4K displays #
sudo nano /etc/default/grub
add:
GRUB_GFXMODE=800x600
GRUB_GFXPAYLOAD=keep
GRUB_TERMINAL=gfxterm
sudo update-grub
QT Applications Style #
sudo apt install -y qt5-style-plugins
echo "export QT_QPA_PLATFORMTHEME=gtk2" >> ~/.profile
Visual Studio Code #
https://code.visualstudio.com/download
MuonSSH #
https://github.com/devlinx9/muon-ssh/releases
Bereinigung #
- Festplatten und Partitionen ermitteln:
lsblk
- Status der Festplattenbelegung ermitteln:
duf
- Bereinigung des Systems:
bleachbit
- Backup / Dateisicherung:
rsync
,Synology Drive
- Neustart wenn Systemkomponenten aktualisiert werden
kubectl #
curl -LO https://dl.k8s.io/release/`curl -LS https://dl.k8s.io/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl ~/bin/kubectl
minikube #
https://minikube.sigs.k8s.io/docs/start/?arch=%2Flinux%2Fx86-64%2Fstable%2Fdebian+package
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube_latest_amd64.deb
sudo dpkg -i minikube_latest_amd64.deb