After I’ve bought a new and fast 1TB SSD, it’s time to setup my aging Desktop again. Last time I went with Fedora Core, this time I will try to reduce some of the ubuntu-iness of a Ubuntu 20.10 Desktop for that. After preliminary tests Ubuntu seems to be more resource efficient than Fedora Silverblue and I should be able to remove most of Ubuntu’s problematic packages. Given that my Notebook still runs Fedora Core, I’m also keeping in touch with both the Ubuntu/Debian as well as with the Redhat/Fedora world through that.
I am using a fairly basic setup: a small ESP (UEFI boot) partition and one large ext4 partition for / as well as /home. For encryption I am currently going with fscrypt and per-directory encryption. This allows me to use different pass-phrases for different Projects. My prior setup was using full-disk encryption through dm_crpyt (as does my laptop), but the performance impact seemed a tad excessive given that this is my Desktop at home where my threat model states “game over” as soon as an attacker gains physical access anyway. Still, I would feel better if I could get some integrity protection (such as dm-verity) into place. Why ext4? Mostly because Ubuntu doesn’t support F2FS and I didn’t want to try btrfs with my Desktop filesystem.
This post is one of my document-stuff-for-myself posts, hopefully I won’t need it in the near future..
Remove a bit of Ubuntu-iness
There are some Ubuntu software decisions that I do not really like: I prefer the vanilla GNOME Desktop to Ubuntu’s version. And the whole “force users to use snap”-thing never bode well with me, so replace snapd with flatpak.
Switch to a more-vanilla GNOME Setup
So lets start by removing some of the customized Ubuntu themes and replacing it with a standard gnome desktop:
|
|
Use gnome-tweaks
to switch to the gnome icon theme. To switch to network manager for network management apply these instructions:
|
|
Replace Ubuntu snap with flatpak
While it is getting better, the Not-Invented-Here syndrom is still strong in Ubuntu. Let’s remove it’s custom desktop container technology (snap) and replace it with flatpak which is supported by more distributions:
|
|
Basic System Setup Steps
And add common tools while removing some unneeded features..
Setup encrypted ~/Documents
Time to set up per-directory encryption (I am using it to transparently encrypt my Document-Folder) through fscrypt:
|
|
Add some basic System Tools
Those are tools that I’m gonna need sooner or later anyways:
|
|
Remove some System Tools
There are some system tools that I am not using, let’s remove them:
|
|
This forces my system to use sytemd-journald for logging, disables kernel dumping (and reporting) and removes a couple of single-sign on options that I am not using anyways. Also I’d rather user iptables/nftables directly and not ufw.
Improve the Shell Setup
I spent a lot of time on the command line, so setup zsh with some extensions and also install some nifty utilities. The zsh-antigen package in Ubuntu is broken, so install this zsh package manager manually:
|
|
And add a simple ~/.zshrc configuration file:
|
|
I am using vim, so lets add some config files that I keep reusing:
|
|
Setup mandatory Firefox Add-Ons
There are some privacy improving add-ons that should be deemed mandatory. In addition add the bitwarden password manager..
Add Additional Stuff and Cleanup the Rest
There are some (partially proprietary) tools that I’d like on my system:
|
|
In addition I am adding some additional repositories and tools:
I really like using debfoster (although it’s deprecated). It shows which tools have not been selected manually and can be uninstalled (in addition it can uninstall all dependencies that are not needed any more when using the P command).
|
|
For me, it was easy to remove some stuff:
- gnome-games with all gnome games: I have installed steam..
- rhythmbox: I have installed spotify
- brasero: no cd/dvd burner anymore
- gnome-getting-started-guide
- simple-scan: no scanner
- most printer drivers: no dead-tree printer at my home
What’s next?
Maybe a bit gnome-shell configuration..