Professional Documents
Culture Documents
Pop! - OS Things To Do After Installation (Apps, Settings, and Tweaks) Mutschler - Dev
Pop! - OS Things To Do After Installation (Apps, Settings, and Tweaks) Mutschler - Dev
dev/linux/pop-os-post-install/
In the following I will go through my post installation steps, i.e. which settings I choose
and which apps I install and use.
Basic Steps
Set hostname
By default my machine is called pop-os; hence, I rename it for better accessability on
the network:
Change the mirror for getting updates, set locales, get rid of unnecessary
languages
I am living in Germany, so I adapt my locales:
In Region Settings open “Manage Installed Languages”, do not update these, but first
remove the unnecessary ones. Then reopen “languages” and update these.
1 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
couple of times to make it work (there seems to be a loose contact). Anyways, for me
the most important step is to check in “Settings-Privacy-Thunderbolt”, whether the
Thunderbolt dock works, so I can rearrange my monitors in “monitor settings”.
export BACKUP=/media/$USER/UUIDOFBACKUPDRIVE/@home/$USER/
sudo rsync -avuP $BACKUP/Pictures ~/
sudo rsync -avuP $BACKUP/Documents ~/
sudo rsync -avuP $BACKUP/Downloads ~/
sudo rsync -avuP $BACKUP/dynare ~/
sudo rsync -avuP $BACKUP/Images ~/
sudo rsync -avuP $BACKUP/Music ~/
sudo rsync -avuP $BACKUP/Desktop ~/
sudo rsync -avuP $BACKUP/SofortUpload ~/
sudo rsync -avuP $BACKUP/Videos ~/
sudo rsync -avuP $BACKUP/Templates ~/
sudo rsync -avuP $BACKUP/Work ~/
sudo rsync -avuP $BACKUP/.config/Nextcloud ~/.config/
sudo rsync -avuP $BACKUP/.gitkraken ~/
sudo rsync -avuP $BACKUP/.gnupg ~/
sudo rsync -avuP $BACKUP/.local/share/applications ~/.local/share/
sudo rsync -avuP $BACKUP/.matlab ~/
sudo rsync -avuP $BACKUP/.ssh ~/
sudo rsync -avuP $BACKUP/.dynare ~/
sudo rsync -avuP $BACKUP/.gitconfig ~/
SSH keys
If I want to create a new SSH key, I run e.g.:
Usually, however, I restore my .ssh folder from my backup (see above). Either way,
afterwards, one needs to add the file containing your key, usually id_rsa or id_ed25519,
to the ssh-agent:
Don’t forget to add your public key to GitHub, Gitlab, Servers, etc.
2 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
#
# Applications USB NFC
# OTP Enabled Enabled
# FIDO U2F Enabled Enabled
# OpenPGP Enabled Enabled
# PIV Enabled Disabled
# OATH Enabled Enabled
# FIDO2 Enabled Enabled
Make sure that OpenPGP and PIV are enabled on both Yubikeys as shown above.
pamu2fcfg > ~/u2f_keys # When your device begins flashing, touch the metal contact to confirm the association. You might
pamu2fcfg -n >> ~/u2f_keys # Do the same with your backup device
sudo mv ~/u2f_keys /etc/u2f_keys
# Make this required for common-auth
echo "auth required pam_u2f.so nouserok authfile=/etc/u2f_keys cue" | sudo tee -a /etc/pam.d/c
Before you close the terminal, open a new one and check whether you can do sudo
echo test
ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -oserial-api-visible #BE CAREFUL TO NOT OVERWRITE IF YOU HAVE ALREA
export LUKSDRIVE=/dev/nvme0n1p4
#insert first yubikey
sudo yubikey-luks-enroll -d $LUKSDRIVE -s 7 # first yubikey
#insert second yubikey
sudo yubikey-luks-enroll -d $LUKSDRIVE -s 8 # second yubikey
export CRYPTKEY="luks,keyscript=/usr/share/yubikey-luks/ykluks-keyscript"
sudo sed -i "s|luks|$CRYPTKEY|" /etc/crypttab
cat /etc/crypttab #check whether this looks okay
sudo update-initramfs -u
3 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
You will need to log out and back in for this change to take effect. Lastly, I want to add
the ~/.local/bin to my $PATH persistently in Fish:
mkdir -p /home/$USER/.local/bin
set -Ua fish_user_paths /home/$USER/.local/bin
Apps
Snap support
Enable snap support
System utilities
Caffeine
A little helper in case my laptop needs to stay up all night
Flatseal
Flatseal is a great tool to check or change the permissions of your flatpaks:
GParted
In case I need to adjust the partition layout:
Gnome-tweaks
Using gnome tweaks
nautilus-admin
Right-click context menu in nautilus for admin
4 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
sudo apt install -y qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virt-manager libvirt-daemon ovmf gnome-b
sudo adduser $USER libvirt
sudo adduser $USER libvirt-qemu
# run gnome-boxes
# run libvirt add user session
# As I use btrfs I need to change compression of images to no:
sudo chattr +C ~/.local/share/gnome-boxes
sudo chattr +C ~/.local/share/libvirt
Networking
OpenSSH Server
I sometimes access my linux machine via ssh from other machines, for this I install the
OpenSSH server:
Nextcloud
I have all my files synced to my own Nextcloud server, so I need the sync client:
Coding
Dynare related packages
I am a developer of Dynare and need these packages to compile it from source and
run it optimally ob Ubuntu-based systems:
sudo apt install -y build-essential gfortran liboctave-dev libboost-graph-dev libgsl-dev libmatio-dev libslicot-dev libs
5 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
git is most important, as a GUI for it, I use GitKraken. Also to use lfs on some
repositories one needs to initialize it once:
The flatpak version of GitKraken works perfectly. Open GitKraken and set up Accounts
and Settings. Note that in case of flatpak, one needs to add the following Custom
Terminal Command: flatpak-spawn --host gnome-terminal %d.
MATLAB
I have a license for MATLAB, unzipping the installation files in the the home folder and
running:
Run matlab and activate it. Note that there is still a shared resources-for-x11-graphics
bug, which can be solved by
Run matlab and I change some settings to use Windows type shortcuts on the
Keyboard, add mod and inc files as supported extensions, and do not use MATLAB’s
source control capabilities.
Text-processing
Latex related packages
I write all my papers and presentations with Latex using Visual Studio Code as editor:
Masterpdf
I have purchased a license for Master PDF in case I need advanced PDF editing tools:
Open masterpdf and enter license. Also I use flatseal to give the app full access to my
home folder.
Communication
Mattermost
Our Dynare team communication is happening via Mattermost:
6 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
Open mattermost and connect to server. I find that the snap works best for me in
terms of displaying the icon in the tray.
Skype
Skype can be installed either via snap or flatpak. I find the flatpak version works better
with the system tray icons:
Zoom
Zoom can be installed either via snap or flatpak. I find the flatpak version works better
with the system tray icons:
Multimedia
VLC
The best video player:
Multimedia Codecs
Install and compile multimedia codecs:
OBS
Install:
7 of 8 6/14/23, 08:19
Pop!_OS: Things to do after installation (Apps, Settings, and Tweaks) | mutschl... https://mutschler.dev/linux/pop-os-post-install/
Go through Settings
• Turn off bluetooth
• Change wallpaper
• Select Light Theme
• Dock
◦ Deactivate Extend dock to the edges of the screen
◦ Dock visibility: intelligently hide
◦ Show Dock on Display: All Displays
• Automatically delete recent files and trash
• Turn of screen after 15 min
• Turn on night mode
• Add online account for Nextcloud
• Deactivate system sounds, mute mic
• Turn of suspend, turn on shutdown for power button
• Turn on natural scroll for mouse touchpad
• Go through keyboard shortcuts and adapt, I also add a custom one for xkill on
CTRL + ALT + X
• Check region and language, remove unnecessary languages, then update
• Change clock to 24h format
PREVIOUS
Pop!_OS 22.04: installation guide with btrfs, luks encryption and auto snapshots with timeshift
NEXT
Fedora Workstation: Things to do after installation (Apps, Settings, and Tweaks)
Privacy Policy
Published with Wowchemy — the free, open source website builder that empowers creators.
8 of 8 6/14/23, 08:19