From 6ae29eb796a74f41de8c3fd4679f97b8d32e9013 Mon Sep 17 00:00:00 2001 From: Bas van den Wollenberg Date: Tue, 9 Dec 2025 16:52:27 +0100 Subject: [PATCH] update setup instructions --- README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c5ff805..29456c2 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,12 @@ Or `intel_pstate=active`, if using [throttled](https://github.com/erpalma/thrott sudo cp -i sysctl/etc/sysctld.d/* /etc/sysctl.d/ sudo cp -i zram/etc/systemd/zram-generator.conf /etc/systemd/ sudo cp -i etc/udev/rules.d/10-trim.rules /etc/udev/rules.d/ +sudo cp -i throttled/etc/throttled.conf /etc/throttled.conf +``` + +#### Enable throttled +```shell +sudo systemctl enable --now throttled ``` #### Install yay @@ -83,9 +89,15 @@ rm -rf ~/.config/fish stow -d dotfiles bin cpupower direnv fish git gtk neofetch nvim pacman ripgrep mise starship stow terminator wayland yay ``` -#### Update pkgfile database +#### Use systemd-resolved ```shell -sudo pkgfile -u +sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf +sudo systemctl enable --now systemd-resolved +``` + +#### Enable pkgfile daemon and pacman files db refresh timer +```shell +sudo systemctl enable --now pkgfiled pacman-filesdb-refresh.timer ``` #### Enable timers @@ -98,28 +110,50 @@ sudo systemctl enable --now yaycache.timer paccache.timer plocate-updatedb.timer sudo systemctl enable --now cups ``` +#### Enable systemd-boot update service +```shell +sudo systemctl enable systemd-boot-update +``` + #### Enable en_NL locale ```shell sudo sed -i '/^#en_NL.UTF-8 UTF-8/s/^#//' /etc/locale.gen sudo locale-gen ``` +#### Enable kernel-modules-hook linux-modules-cleanup service +```shell +sudo systemctl enable --now linux-modules-cleanup +``` + #### Fix fish universal variables in Gnome Wayland session -modify `/usr/bin/gnome-session`, changing (hardcoding) `$SHELL` to `shell` on line 10. +Modify `/usr/bin/gnome-session`, changing (hardcoding) `$SHELL` to `sh` on line 10 ([temporary fix](https://github.com/fish-shell/fish-shell/issues/7995), probably bad practice but /shrug, universal variables are sort of maybe [being removed](https://github.com/fish-shell/fish-shell/issues/7379) in the near future anyway, at which point I'll change this) -temporary fix for https://github.com/fish-shell/fish-shell/issues/7995 (probably bad but /shrug, universal variables are sort of maybe [being removed](https://github.com/fish-shell/fish-shell/issues/7379) in the near future anyway, at which point I'll change this) -#### Fix scaling issues on Gnome Wayland +#### Fix scaling issues on Gnome Wayland and bluriness with Xwayland ```shell -gsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']" +org.gnome.mutter experimental-features ['scale-monitor-framebuffer', 'xwayland-native-scaling'] ``` #### Unbind XF86Tools (F13) on Gnome -for some reason the button I have bound to F13 on my mouse opens the Gnome control center/settings by default, with no way to change it outside of dconf/gsettings. quite annoying +For some reason the button I have bound to F13 on my mouse opens the Gnome control center/settings by default, with no way to change it outside of dconf/gsettings. quite annoying + ```shell gsettings set org.gnome.settings-daemon.plugins.media-keys control-center-static "['']" ``` +#### Enable Gnome Keyring SSH Agent +```shell +systemctl --user enable --now gcr-ssh-agent +ssh-add +```` + +#### Set up keylightd +``` +sudo usermod -aG keylightd bas +sudo systemctl enable --now keylightd +``` + #### Get latest plex-rich-presence ```shell curl -s https://api.github.com/repos/Arno500/plex-richpresence/releases/latest \ @@ -130,9 +164,10 @@ curl -s https://api.github.com/repos/Arno500/plex-richpresence/releases/latest \ #### Install systemd services ```shell -sudo cp systemd/etc/systemd/system/reload-cpu-modules.service /etc/systemd/system/ -sudo systemctl enable --now reload-cpu-modules -cp systemd/.config/systemd/user/plex-rich-presence.service ~/.config/systemd/user/ -#cp systemd/.config/systemd/user/imwheel.service ~/.config/systemd/user/ +cp -i systemd/.config/systemd/user/plex-rich-presence.service ~/.config/systemd/user/ systemctl --user enable --now plex-rich-presence +#sudo cp -i etc/systemd/system/reload-cpu-modules.service /etc/systemd/system/ +#sudo systemctl enable --now reload-cpu-modules +#cp -i systemd/.config/systemd/user/imwheel.service ~/.config/systemd/user/ +#systemctl --user enable --now imwheel ``` -- 2.51.2