Ubuntu 22.04 Post Install
Ubuntu 22.04 | أهم الخطوات بعد تنصيب أبونتو
Ubuntu 22.04 Post Installation⚓︎
#more
- Update
sudo apt update && sudo apt upgrade -y
-
Remove Firefox Snap and Install Firefox Deb
-
Remove Firefox Snap
sudo apt remove --purge firefox
sudo snap remove --purge firefox
- add Mozilla team PPA
sudo add-apt-repository ppa:mozillateam/ppa
- set Mozilla team PPA as high Priority
echo '
Package: *
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 1001
' | sudo tee /etc/apt/preferences.d/firefox
OR
echo '
Package: firefox*
Pin: release o=LP-PPA-mozillateam
Pin-Priority: 501
' | sudo tee /etc/apt/preferences.d/firefox
- block the Ubuntu repo
echo '
Package: firefox*
Pin: release o=Ubuntu*
Pin-Priority: -1
' | sudo tee /etc/apt/preferences.d/firefox
About Pin and PPA Priority:
From apt man page
- P >= 1000:
causes a version to be installed even if this constitutes a downgrade of the package - 990 <= P < 1000:
causes a version to be installed even if it does not come from the target release, unlessthe installed version is more recent - 500 <= P < 990:
causes a version to be installed unless there is a version available belonging to the targetrelease or the installed version is more recent - 100 <= P < 500:
causes a version to be installed unless there is a version available belonging to some otherdistribution or the installed version is more recent - 0 < P < 100:
causes a version to be installed only if there is no installed version of the package - P < 0:
prevents the version from being installed - P = 0:
has undefined behaviour, do not use it.
-
set Firefox for automatic updates
echo 'Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";' | sudo tee /etc/apt/apt.conf.d/51unattended-upgrades-firefox
-
Update
sudo apt update
- install Firefox DEB
sudo apt install firefox
- Install Ubuntu Restricted Extras
sudo apt install ubuntu-restricted-extras
- Minimize on Click
gsettings set org.gnome.shell.extensions.dash-to-dock click-action minimize
- Flatpak
sudo apt install gnome-software gnome-software-plugin-flatpak flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- Extensions and Tweaks
sudo apt install chrome-gnome-shell gnome-shell-extension-prefs
sudo apt install gnome-tweaks gnome-shell-extension-manager
-
Arabic Keyboard
-
Backup
-
Timeshift
sudo apt install timeshift
- Backup your files with Deja Dup