summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-towelfire-fixes
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/03-towelfire-fixes')
-rwxr-xr-xconfig/chroot_local-hooks/03-towelfire-fixes19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-towelfire-fixes b/config/chroot_local-hooks/03-towelfire-fixes
index e2337d8..29c4123 100755
--- a/config/chroot_local-hooks/03-towelfire-fixes
+++ b/config/chroot_local-hooks/03-towelfire-fixes
@@ -42,6 +42,25 @@ cat <<"EOF" >/etc/skel/.gtkrc-2.0
gtk-theme-name = "Clearlooks-Phenix"
EOF
+# disable apt pager
+echo 'Binary::apt::Pager "false";' > /etc/apt/apt.conf.d/98-nopager
+
+# pin bookworm security pin
+ if [ -x /var/lib/dpkg/info/linux-image-686-pae.preinst ]; then
+cat <<"EOF" >/etc/apt/preferences.d/pae
+Package: *
+Pin: release n=bookworm-security
+Pin-Priority: 100
+EOF
+ fi
+# add scale factor for qt defaults to 100%
+echo "QT_SCALE_FACTOR=1.0" >>/etc/environment
+
+# fix for sddm layout
+if [ -f /usr/share/sddm/scripts/Xsetup ]; then
+ echo "setxkbmap" >> /usr/share/sddm/scripts/Xsetup
+fi
+
# powermanager fix new values since buster
mkdir -p /etc/skel/.config/xfce4/xfconf/xfce-perchannel-xml