9 minute read

dotfiles

My Linux desktop setup on Fedora Sway Atomic, previously known as 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. All flatpak applications installed in user mode.

  • Notification daemon: SwayNotificationCenter via rpm-ostree

  • Browser
    • Primary: Firefox via Flatpak
    • Secondary: Chrome via Flatpak

      With flags --ozone-platform-hint=wayland and --enable-pixel-canvas-recording=enabled.

  • Terminal: WezTerm via Flatpak

    Amazing terminal with wayland, grabbable scrollbar and ligature support.

    Would 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 ). Also Foot does not support ligatures dnkl/foot#57.

  • IDE:
  • Messaging application: Zen via Flatpak

    Use it as client for Google Calendar, Simplenote, Gmail, Outlook, Teams, Slack, Google Chat, WhatsApp, iCloud, Discord, Element, Feedly, ChatGPT and Gemini.

    Was using Ferdium via Flatpak but ferdium/ferdium-app##1973 is a blocker for me.

  • File manager: Thunar (via baseOS) with the Papirus icon theme (via rpm-ostree)

    Would prefer Nautilus if it were available via Flatpak GNOME/nautilus#946 (with NautilusPreviewer (GNOME Sushi) via Flatpak (org.gnome.NautilusPreviewer) as well). Would consider PCMan FM but miss the preview feature.

  • Text editor: Gnome Text Editor via Flatpak

  • Image viewer: imv via baseOS

  • PDF
    • Reader: Evince (GNOME Document Viewer) via Flatpak
    • Editing
      • Basic editing via Evince and Firefox
      • Xournal++ via Flatpak for adding images, etc.
      • PDF Arranger via Flatpak for merging PDF files.
  • Basic photo editing: Drawing via Flatpak

  • Video player: `mpv via Flatpak

  • Torrent client: Transmission via Flatpak

  • File sync
  • Office suite: LibreOffice via Flatpak

  • Display setup
    • wdisplays via rpm-ostree
    • wl-mirror via rpm-ostree
  • Screen recording: Kooha via Flatpak

Tools

  • Shell: bash via baseOS
  • Prompt: starship via local install
  • Text editor: neovim via Flatpak
  • Application management: rpm-ostree and flatpak via baseOS
  • Terminal multiplexer: tmux in remote systems
  • Configuration management: ansible via toolbx
  • Containers: podman and toolbox via base OS, docker in rootless mode via local install
  • Keyboard input: wtype via rpm-ostree
  • Power management: tlp via rpm-ostree.
  • Virtualization: kcli via toolbx
  • Kubernetes: kind and kube-burner via local install

    Tried out tuned-ppd but it needs an external controller (i.e.: gnome-settings-daemon), see redhat-performance/tuned#708, or manually creating a user systemd controller service.

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 rootless cluster but then the VMs won’t be created because rootless docker/podman are unable to create pods in kind with ephemeral storage requests kubernetes-sigs/kind#3359:
       $ sudo chown $USER /dev/kvm
      
  • For web-burner:
     $ sudo sysctl -w kernel.keys.maxkeys=5000
    
  • 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
    
  • Add kernel boot parameters:
     rpm-ostree kargs --editor
    

Issues

If you have managed to get working any of the following please let me know:

  • Dropbox
  • Emacs
  • Ferdium
    • Allow setting default zoom level per service [ferdium/ferdium-app#1556](https://github.com/ferdium/ferdium-app/issues/1556)
    • Credentials autocomplete ferdium/ferdium-app#1425
    • Feature: Ability to add Chrome extensions like password managers ferdium/ferdium-app#135
    • Unable to print from Gmail view ferdium/ferdium-app#1573
    • Stuck in purple screen in Linux with Wayland [ferdium/ferdium-app#1551](https://github.com/ferdium/ferdium-app/issues/1551)
    • Zoom resets after service change [ferdium/ferdium-app#1419](https://github.com/ferdium/ferdium-app/issues/1419)
  • Firefox
    • Slack huddles are not available webcompat/web-bugs#82623
    • Prime Video does not work (neither Chrome nor Firefox) https://www.primevideo.com/region/na/help?nodeId=GU85HKX66NVFNQ9Y
  • GNOME
  • Kind
    • Unable to create pods in rootless mode with ephemeral storage requests [kubernetes-sigs/kind#3359](https://github.com/kubernetes-sigs/kind/issues/3359)
  • Nautilus
  • NeoVim
    • [NeoVim lsp] Unable to find root directory [ocaml/ocaml-lsp#1050](https://github.com/ocaml/ocaml-lsp/issues/1050)
  • Papirus icon theme
  • Starship
  • Sway
    • Allow all glob patterns in output configs swaywm/sway#5629
    • Drag & Drop from XWayland apps to Wayland ones: it only works occasionally [swaywm/sway#6460](https://github.com/swaywm/sway/issues/6460)
    • Differentiate between *app_ids* that start the same [swaywm/sway#7838](https://github.com/swaywm/sway/issues/7838)
    • 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
    • Persistent workspaces swaywm/sway#7631
    • Share a specific window on Google Meet swaywm/sway#3282
    • XWayland windows gets tiled uppong being reopened from system tray [swaywm/sway#6905](https://github.com/swaywm/sway/issues/6905)
  • Toolbx
  • Transmission
  • Vim Flatpak
  • Visual Studio Code
    • Add optional Wayland support [flathub/com.visualstudio.code#471](https://github.com/flathub/com.visualstudio.code/issues/471)
    • Crash when rebuilding application menu on wayland [microsoft/vscode#184124](https://github.com/microsoft/vscode/issues/184124)
    • Exit Vim Insert Mode on Save VSCodeVim/Vim#2411
    • JetBrains Mono font ligatures not working [JetBrains/JetBrainsMono#655](https://github.com/JetBrains/JetBrainsMono/issues/655)
    • Paste through mouse middle button does not insert text at cursor position VSCodeVim/Vim#5065
    • Reset to normal mode when leaving file focus VSCodeVim/Vim#7553
    • Small/giant mouse cursor [microsoft/vscode#136390](https://github.com/microsoft/vscode/issues/136390)
  • Zathura

TODO

Tags: ,

Updated:

Comments