From cf564d580ae7d9f1d5415c98511f6ba99e1af31a Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Sat, 21 Mar 2026 01:55:11 -0300 Subject: [PATCH 01/10] Remove QT scaling variables --- etc/environment | 3 --- 1 file changed, 3 deletions(-) diff --git a/etc/environment b/etc/environment index 2c4d932..62d0c39 100644 --- a/etc/environment +++ b/etc/environment @@ -1,4 +1 @@ -QT_AUTO_SCREEN_SCALE_FACTOR=2 -QT_ENABLE_HIGHDPI_SCALING=2 -QT_SCALE_FACTOR=2 GDK_BACKEND=x11 \ No newline at end of file From 0b223c7e15906a5cd153f96ae66398939338a116 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 27 Mar 2026 12:43:18 -0300 Subject: [PATCH 02/10] Remove XFCE and xscreensaver --- Dockerfile | 26 ------------------ buildinstallxfce.sh | 57 --------------------------------------- buildinstallxfceaddons.sh | 47 -------------------------------- 3 files changed, 130 deletions(-) delete mode 100644 buildinstallxfce.sh delete mode 100644 buildinstallxfceaddons.sh diff --git a/Dockerfile b/Dockerfile index f3579a0..e6a0408 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,6 @@ RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia-580.r RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/andersrh/sonicDE/repo/rhel+epel-10/andersrh-sonicDE-rhel+epel-10.repo -y -RUN dnf copr enable yselkowitz/xfce-epel -y RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo -y RUN dnf install sonic-workspace-x11 sonic-win sonic-interface-libraries sonic-workspace --allowerasing -y @@ -76,34 +75,9 @@ RUN dnf install -y https://github.com/Alex313031/thorium/releases/download/M138. RUN dnf install xlibre-xserver-Xorg xlibre-xserver-devel xinput meson gcc cmake libX11-devel libXext-devel libXft-devel libXinerama-devel xorg-x11-proto-devel libxshmfence-devel libxkbfile-devel libbsd-devel libXfont2-devel xkbcomp libfontenc-devel libXres-devel libXdmcp-devel dbus-devel systemd-devel libudev-devel libxcvt-devel libdrm-devel libXv-devel libseat-devel libXv-devel xkbcomp xkeyboard-config-devel mesa-libGL-devel mesa-libEGL-devel libepoxy-devel mesa-libgbm-devel libdrm-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-renderutil-devel openssl-devel libXau-devel libXdmcp-devel libSM-devel libICE-devel startup-notification-devel libgtop2-devel libepoxy-devel libgudev-devel libwnck3-devel.x86_64 libdisplay-info-devel.x86_64 libnotify-devel.x86_64 upower-devel.x86_64 iceauth libICE-devel libSM-devel libXpresent-devel libyaml-devel vte291-devel gtk3-devel xorg-x11-xinit xlibre-xf86-input-libinput-devel xlibre-xf86-input-libinput \ libXScrnSaver-devel libxklavier-devel pam-devel gcc-c++ dbus-glib-devel libtool gettext-devel gstreamer1-devel sqlite-devel pavucontrol pulseaudio-libs-devel weston cage network-manager-applet redshift blueman -y -RUN mkdir /tmp/xfce -WORKDIR /tmp/xfce - -ADD https://archive.xfce.org/xfce/4.20/fat_tarballs/xfce-4.20.tar.bz2 ./ - -RUN tar -xjf xfce-4.20.tar.bz2 - -WORKDIR /tmp/xfce/src - -COPY buildinstallxfce.sh ./ -RUN chmod +x buildinstallxfce.sh && ./buildinstallxfce.sh - -ADD https://archive.xfce.org/src/apps/xfce4-mixer/4.20/xfce4-mixer-4.20.0.tar.xz ./ -ADD https://archive.xfce.org/src/apps/xfce4-notifyd/0.9/xfce4-notifyd-0.9.7.tar.bz2 ./ -ADD https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/1.7/xfce4-clipman-plugin-1.7.0.tar.xz ./ -ADD https://archive.xfce.org/src/panel-plugins/xfce4-pulseaudio-plugin/0.5/xfce4-pulseaudio-plugin-0.5.1.tar.xz ./ -ADD https://archive.xfce.org/src/panel-plugins/xfce4-whiskermenu-plugin/2.10/xfce4-whiskermenu-plugin-2.10.0.tar.xz ./ -ADD https://archive.xfce.org/src/panel-plugins/xfce4-stopwatch-plugin/0.6/xfce4-stopwatch-plugin-0.6.0.tar.xz ./ -ADD https://archive.xfce.org/src/apps/xfce4-screensaver/4.20/xfce4-screensaver-4.20.1.tar.xz ./ - -COPY buildinstallxfceaddons.sh ./ -RUN chmod +x buildinstallxfceaddons.sh && ./buildinstallxfceaddons.sh - RUN dnf install ananicy-cpp cachyos-ananicy-rules cachyos-settings -y \ && systemctl enable ananicy-cpp -RUN dnf install xscreensaver -y - # Install VLC RUN dnf install vlc vlc-plugins-freeworld vlc-plugin-pipewire -y diff --git a/buildinstallxfce.sh b/buildinstallxfce.sh deleted file mode 100644 index 7defc22..0000000 --- a/buildinstallxfce.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/sh - -export PKG_CONFIG_PATH="/usr/lib/pkgconfig:$PKG_CONFIG_PATH" - -for f in *.tar.bz2; do tar -xjf "$f"; done - -cd xfce4-dev-tools-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../libxfce4util-4.20.0/ -./configure --prefix=/usr && make && make install - -cd ../xfconf-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../libxfce4ui-4.20.0/ -./configure --prefix=/usr && make && make install - -cd ../exo-4.20.0/ -./configure --prefix=/usr && make && make install - -cd ../garcon-4.20.0/ -./configure --prefix=/usr && make && make install - -cd ../libxfce4windowing-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../xfce4-panel-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../xfce4-appfinder-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../xfce4-session-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../xfce4-settings-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../xfwm4-4.20.0/ -./configure --prefix=/usr && make && make install - -cd ../xfdesktop-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../xfce4-power-manager-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../thunar-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../tumbler-4.20.0 -./configure --prefix=/usr && make && make install - -cd ../thunar-volman-4.20.0 -./configure --prefix=/usr && make && make install - diff --git a/buildinstallxfceaddons.sh b/buildinstallxfceaddons.sh deleted file mode 100644 index bb4be28..0000000 --- a/buildinstallxfceaddons.sh +++ /dev/null @@ -1,47 +0,0 @@ -#!/bin/sh - -export PKG_CONFIG_PATH="/usr/lib/pkgconfig:$PKG_CONFIG_PATH" - -#tar -xf xfce4-screensaver-4.20.1.tar.xz -#cd xfce4-screensaver-4.20.1 -#meson setup build -#meson compile -C build -#meson install -C build - -#cd ../ - -tar -xf xfce4-stopwatch-plugin-0.6.0.tar.xz -cd xfce4-stopwatch-plugin-0.6.0 -./autogen.sh --prefix=/usr && make && make install - -cd ../ - -tar -xf xfce4-whiskermenu-plugin-2.10.0.tar.xz -cd xfce4-whiskermenu-plugin-2.10.0 -meson setup build -meson compile -C build -meson install -C build - -cd ../ - -tar -xf xfce4-pulseaudio-plugin-0.5.1.tar.xz -cd xfce4-pulseaudio-plugin-0.5.1 -./autogen.sh --prefix=/usr && make && make install - -cd ../ - -tar -xf xfce4-mixer-4.20.0.tar.xz -cd xfce4-mixer-4.20.0 -./autogen.sh --prefix=/usr && make && make install - -cd ../ - -tar -xjf xfce4-notifyd-0.9.7.tar.bz2 -cd xfce4-notifyd-0.9.7 -./configure --prefix=/usr && make && make install - -cd ../ - -tar -xf xfce4-clipman-plugin-1.7.0.tar.xz -cd xfce4-clipman-plugin-1.7.0 -./autogen.sh --prefix=/usr && make && make install \ No newline at end of file From 935397b426297424bacca8db5346871ba31163a6 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 27 Mar 2026 12:44:44 -0300 Subject: [PATCH 03/10] Add X11 config files --- etc/X11/xorg.conf.d/00-keyboard.conf | 10 ++++++++++ etc/X11/xorg.conf.d/20-modesetting.conf | 7 +++++++ 2 files changed, 17 insertions(+) create mode 100644 etc/X11/xorg.conf.d/00-keyboard.conf create mode 100644 etc/X11/xorg.conf.d/20-modesetting.conf diff --git a/etc/X11/xorg.conf.d/00-keyboard.conf b/etc/X11/xorg.conf.d/00-keyboard.conf new file mode 100644 index 0000000..146d931 --- /dev/null +++ b/etc/X11/xorg.conf.d/00-keyboard.conf @@ -0,0 +1,10 @@ +# Written by systemd-localed(8), read by systemd-localed and Xorg. It's +# probably wise not to edit this file manually. Use localectl(1) to +# update this file. +Section "InputClass" + Identifier "system-keyboard" + MatchIsKeyboard "on" + Option "XkbLayout" "dk" + Option "XkbModel" "pc105" + Option "XkbOptions" "terminate:ctrl_alt_bksp" +EndSection diff --git a/etc/X11/xorg.conf.d/20-modesetting.conf b/etc/X11/xorg.conf.d/20-modesetting.conf new file mode 100644 index 0000000..96ed85d --- /dev/null +++ b/etc/X11/xorg.conf.d/20-modesetting.conf @@ -0,0 +1,7 @@ +Section "Device" + Identifier "Intel Graphics" + Driver "modesetting" + Option "ShadowFB" "false" # you don't need on recent hardware + Option "Atomic" "true" #only effective on Xlibre, or Xorg-git with a special patch + Option "TearFree" "false" +EndSection From ab3b3baaf2b1bc4fea68d99088ce342e6e96df35 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 27 Mar 2026 12:52:27 -0300 Subject: [PATCH 04/10] add touchpad scaling X11 config file --- etc/X11/xorg.conf.d/90-touchpad-scaling.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 etc/X11/xorg.conf.d/90-touchpad-scaling.conf diff --git a/etc/X11/xorg.conf.d/90-touchpad-scaling.conf b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf new file mode 100644 index 0000000..b8d951a --- /dev/null +++ b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf @@ -0,0 +1,19 @@ +Section "InputClass" + Identifier "Touchpad Scaling" + # Matcher alle touchpads der bruger libinput + MatchIsTouchpad "on" + MatchDevicePath "/dev/input/event*" + Driver "libinput" + + # Korrigerer hastigheden til 2x (til 4K / 200% skalering) + Option "TransformationMatrix" "5 0 0 0 5 0 0 0 2" + + # Bruger den ergonomiske 'adaptive' profil (1 0 er Adaptive) + #Option "AccelProfile" "adaptive" + + # Holder grundhastigheden neutral (0.0) + #Option "AccelSpeed" "0" + + # Valgfrit: Slå tap-to-click til, hvis du foretrækker det + # Option "Tapping" "on" +EndSection From 878cbd31784caa2453402b0f074d30b33d2f7942 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Mon, 30 Mar 2026 18:04:23 -0300 Subject: [PATCH 05/10] remove unneeded packages --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6a0408..9a31c12 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,8 +72,7 @@ RUN rpm -Uvh --nodeps https://codecs.fedoraproject.org/openh264/42/x86_64/Packag # Install Thorium RUN dnf install -y https://github.com/Alex313031/thorium/releases/download/M138.0.7204.303/thorium-browser_138.0.7204.303_AVX2.rpm -RUN dnf install xlibre-xserver-Xorg xlibre-xserver-devel xinput meson gcc cmake libX11-devel libXext-devel libXft-devel libXinerama-devel xorg-x11-proto-devel libxshmfence-devel libxkbfile-devel libbsd-devel libXfont2-devel xkbcomp libfontenc-devel libXres-devel libXdmcp-devel dbus-devel systemd-devel libudev-devel libxcvt-devel libdrm-devel libXv-devel libseat-devel libXv-devel xkbcomp xkeyboard-config-devel mesa-libGL-devel mesa-libEGL-devel libepoxy-devel mesa-libgbm-devel libdrm-devel xcb-util-devel xcb-util-image-devel xcb-util-keysyms-devel xcb-util-wm-devel xcb-util-renderutil-devel openssl-devel libXau-devel libXdmcp-devel libSM-devel libICE-devel startup-notification-devel libgtop2-devel libepoxy-devel libgudev-devel libwnck3-devel.x86_64 libdisplay-info-devel.x86_64 libnotify-devel.x86_64 upower-devel.x86_64 iceauth libICE-devel libSM-devel libXpresent-devel libyaml-devel vte291-devel gtk3-devel xorg-x11-xinit xlibre-xf86-input-libinput-devel xlibre-xf86-input-libinput \ - libXScrnSaver-devel libxklavier-devel pam-devel gcc-c++ dbus-glib-devel libtool gettext-devel gstreamer1-devel sqlite-devel pavucontrol pulseaudio-libs-devel weston cage network-manager-applet redshift blueman -y +RUN dnf install xorg-x11-xinit xkbcomp xinput xlibre-xserver-Xorg xlibre-xf86-input-libinput cage weston redshift -y RUN dnf install ananicy-cpp cachyos-ananicy-rules cachyos-settings -y \ && systemctl enable ananicy-cpp From 6e4b7c66f8a835e69ffec7bac36876b6ee003b41 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Thu, 2 Apr 2026 10:04:06 -0300 Subject: [PATCH 06/10] Install alsa-sof-firmware --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9a31c12..cb2ea0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,9 @@ RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion- RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/andersrh/sonicDE/repo/rhel+epel-10/andersrh-sonicDE-rhel+epel-10.repo -y RUN dnf config-manager --add-repo https://copr.fedorainfracloud.org/coprs/g/xlibre/xlibre-xserver/repo/rhel+epel-10/group_xlibre-xlibre-xserver-rhel+epel-10.repo -y +# This may be necessary for the speakers and internal microphone +RUN dnf install -y alsa-sof-firmware + RUN dnf install sonic-workspace-x11 sonic-win sonic-interface-libraries sonic-workspace --allowerasing -y RUN dnf install -y fish distrobox nvtop intel-media-driver libva-intel-driver htop From 16db2aedfbe7426e6aa3718a43dd3cc8f0d4055e Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 3 Apr 2026 13:04:12 -0300 Subject: [PATCH 07/10] No touchpad scaling anymore --- etc/X11/xorg.conf.d/90-touchpad-scaling.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/X11/xorg.conf.d/90-touchpad-scaling.conf b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf index b8d951a..d42f5f4 100644 --- a/etc/X11/xorg.conf.d/90-touchpad-scaling.conf +++ b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf @@ -6,7 +6,7 @@ Section "InputClass" Driver "libinput" # Korrigerer hastigheden til 2x (til 4K / 200% skalering) - Option "TransformationMatrix" "5 0 0 0 5 0 0 0 2" + #Option "TransformationMatrix" "5 0 0 0 5 0 0 0 2" # Bruger den ergonomiske 'adaptive' profil (1 0 er Adaptive) #Option "AccelProfile" "adaptive" From 7a5beb9382c134c11411b67872fe0693641d7d23 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Fri, 3 Apr 2026 13:05:29 -0300 Subject: [PATCH 08/10] use newest nvidia driver --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb2ea0f..8fb7ab7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY bin/set_next_version.sh /tmp RUN /tmp/set_next_version.sh COPY repo/*.repo /etc/yum.repos.d/ -RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia-580.repo -y +RUN dnf config-manager --add-repo=https://negativo17.org/repos/epel-nvidia.repo -y RUN dnf install --nogpgcheck -y https://mirrors.rpmfusion.org/free/el/rpmfusion-free-release-$(rpm -E %rhel).noarch.rpm https://mirrors.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-$(rpm -E %rhel).noarch.rpm From e9b70d1edc0187ca9bd2d42edf2f364e464c6e40 Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Sat, 4 Apr 2026 15:05:43 -0300 Subject: [PATCH 09/10] set Touchpad scaling to x1.3 --- etc/X11/xorg.conf.d/90-touchpad-scaling.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etc/X11/xorg.conf.d/90-touchpad-scaling.conf b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf index d42f5f4..55467d0 100644 --- a/etc/X11/xorg.conf.d/90-touchpad-scaling.conf +++ b/etc/X11/xorg.conf.d/90-touchpad-scaling.conf @@ -5,8 +5,7 @@ Section "InputClass" MatchDevicePath "/dev/input/event*" Driver "libinput" - # Korrigerer hastigheden til 2x (til 4K / 200% skalering) - #Option "TransformationMatrix" "5 0 0 0 5 0 0 0 2" + Option "TransformationMatrix" "130 0 0 0 130 0 0 0 100" # Bruger den ergonomiske 'adaptive' profil (1 0 er Adaptive) #Option "AccelProfile" "adaptive" From 85a8a9ba22db64d1a65ea4f7d7efe6ee27f1021c Mon Sep 17 00:00:00 2001 From: Anders da Silva Rytter Hansen Date: Tue, 21 Apr 2026 00:07:58 -0300 Subject: [PATCH 10/10] Install Brave browser and remove Thorium. --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8fb7ab7..1e61e87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -72,9 +72,6 @@ RUN dnf install firefox thunderbird -y RUN rm -f /usr/lib64/libopenh264.so.2.4.1 /usr/lib64/libopenh264.so.7 RUN rpm -Uvh --nodeps https://codecs.fedoraproject.org/openh264/42/x86_64/Packages/o/openh264-2.5.1-1.fc42.x86_64.rpm https://codecs.fedoraproject.org/openh264/42/x86_64/Packages/m/mozilla-openh264-2.5.1-1.fc42.x86_64.rpm -# Install Thorium -RUN dnf install -y https://github.com/Alex313031/thorium/releases/download/M138.0.7204.303/thorium-browser_138.0.7204.303_AVX2.rpm - RUN dnf install xorg-x11-xinit xkbcomp xinput xlibre-xserver-Xorg xlibre-xf86-input-libinput cage weston redshift -y RUN dnf install ananicy-cpp cachyos-ananicy-rules cachyos-settings -y \ @@ -83,6 +80,10 @@ RUN dnf install ananicy-cpp cachyos-ananicy-rules cachyos-settings -y \ # Install VLC RUN dnf install vlc vlc-plugins-freeworld vlc-plugin-pipewire -y +# Install Brave browser +RUN dnf config-manager --add-repo https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo -y +RUN dnf install brave-browser -y + RUN systemctl enable docker RUN systemctl enable scx_loader