My Linux desktop
dotfiles
My Linux desktop setup on Fedora Sericea.
Desktop
-
Window manager: Sway via baseOS
Only use wayland applications; xwayland apps are not properly scaled swaywm/sway#2966, drag and drop does not work swaywm/sway#6460 and have a glitched behaviour uppon minimized on system tray swaywm/sway#6905.
-
Display setup: wdisplays via rpm-ostree
- Browser
- Primary: Firefox via baseOS
-
Secondary: Chrome via Flatpak
With flags
--ozone-platform-hint=wayland
and--enable-pixel-canvas-recording=enabled
.
-
Terminal: GNOME Terminal via rpm-ostree
I prefer Foot but having a grabbable scrollbar is a must for now. One workaround would be to setup fast scroll (i.e.: $mod + scroll wheel) but I have not been able to configure it correctly (if anyone has please let me know ↵).
Ideally, would like a terminal with wayland, scrollbar and ligature support.
-
IDE: Visual Studio Code via Flatpak
With flags
--socket=wayland
and--ozone-platform-hint=wayland
.With Fira Code font with programming ligatures installed via rpm-ostree.
toolbox-vscode to integrate VSCode and toolbx for some SDKs that are not present in Flathub, i.e.: ansible.
SDK extensions:
-
File manager: Nautilus via rpm-ostree with NautilusPreviewer (GNOME Sushi) via Flatpak (org.gnome.NautilusPreviewer)
I prefer Thunar but I miss the preview feature.
- File sync
- Dropbox via Flatpak
- Gdrive with rclone via rpm-ostree
-
Text editor: Gnome Text Editor via Flatpak
- PDF reader
- Primary: Zathura via rpm-ostree
- Secondary (when I need to annotate PDFs): Evince (GNOME Document Viewer) via Flatpak
-
Image viewer: imv via baseOS
- Video player
-
Torrent client: Transmission via Flatpak
-
WhatsApp client: WhatsApp for Linux via Flatpak
Supports wayland.
- Office suite: LibreOffice via Flatpak
Tools
- Shell: bash via baseOS
- Terminal multiplexer: tmux in remote systems
- Configuration management: Ansible via toolbx
- Text editor: neovim via Flatpak, emacs via Flatpak
- With Fira Code font with programming ligatures installed via rpm-ostree
- Prompt: Starship via local install
- Containers: Podman and Toolbx via base OS, Docker in rootless mode via local install
- Virtualization: kcli via toolbx
- Kubernetes: Kind and kube-burner via local install
- Application management: rpm-ostree and Flatpak via baseOS
- Keyboard input: wtype via rpm-ostree
Tricks
- For ovn-kubernetes:
$ sudo modprobe openvswitch
- For KubeVirt:
- Create the kind cluster as root
- The following command will allow the installation of KubeVirt in a normal user cluster but then the VMs won’t be created because rootless docker/podman are unable to create pods in kind with ephemeral storage requests:
$ sudo chown $USER /dev/kvm
- For web-burner:
$ echo 5000 | sudo tee /proc/sys/kernel/keys/maxkeys
- Create a kind cluster using rootless podman as provider without the need of setting systemd property
Delegate=yes
(see https://kind.sigs.k8s.io/docs/user/rootless/):KIND_EXPERIMENTAL_PROVIDER=podman systemd-run --scope --user ~/go/bin/kind create cluster
Issues
If you have managed to get working any of the following please let me know:
- Sway
- Share a specific window on Google Meet swaywm/sway#3282
-
Drag & Drop from XWayland apps to Wayland ones: it only works occasionally [swaywm/sway#6460](https://github.com/swaywm/sway/issues/6460) -
XWayland windows gets tiled uppong being reopened from system tray [swaywm/sway#6905](https://github.com/swaywm/sway/issues/6905) -
Prime Video does not work (neither Chrome nor Firefox) https://www.primevideo.com/region/na/help?nodeId=GU85HKX66NVFNQ9Y - Small/giant mouse cursor on Visual Studio Code microsoft/vscode#136390
- Fast scroll using $mod + ScrollWheel. Tried with:
bindsym --whole-window $mod+button4 exec "wtype -M shift -k Prior" bindsym --whole-window $mod+button5 exec "wtype -M shift -k Next"
- Problem 1: Only works the first wheel turn, then need to relase and press again $mod
- Problem 2: Different apps use different combinations, i.e.: just ScrollWheel or Shift+ScrollWheel
- Toolbx
- Support for custom commands upon entering container containers/toolbox#1302
- Starship
- Conditional styling for Toolbx symbol starship/starship#2724
- Firefox
- Slack huddles are not available webcompat/web-bugs#82623
- Rootless docker/podman
- Unable to create pods in kind with ephemeral storage requests kubernetes-sigs/kind#3359
TODO
- Setup hibernation
- https://discussion.fedoraproject.org/t/setup-hibernation-on-silverblue-kionite/78834
- https://bbs.archlinux.org/viewtopic.php?id=259382
Leave a comment