summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks')
-rwxr-xr-xconfig/chroot_local-hooks/03-distro2
-rwxr-xr-xconfig/chroot_local-hooks/03-lxde-fixes14
2 files changed, 15 insertions, 1 deletions
diff --git a/config/chroot_local-hooks/03-distro b/config/chroot_local-hooks/03-distro
index a26ee4f..12c3a01 100755
--- a/config/chroot_local-hooks/03-distro
+++ b/config/chroot_local-hooks/03-distro
@@ -12,7 +12,7 @@ rsync -Ha --ignore-existing /usr/share/kanotix/profile/ /etc/skel/
perl -pi -e 's/^(GRUB_DISTRIBUTOR)=.*/\1=`[ "\$\(uname -m\)" = "x86_64" ] && echo Kanotix64 || echo Kanotix`/' /etc/default/grub
perl -pi -e 's/.*(GRUB_DISABLE_LINUX_RECOVERY)=.*/\1="true"/' /etc/default/grub
perl -pi -e 's/.*(GRUB_DISABLE_RECOVERY)=.*/\1="true"/' /etc/default/grub
-perl -pi -e 's/^(GRUB_CMDLINE_LINUX_DEFAULT)=.*/\1="quiet splash"/' /etc/default/grub
+perl -pi -e 's/^(GRUB_CMDLINE_LINUX_DEFAULT)=.*/\1="quiet splash loglevel=3"/' /etc/default/grub
perl -pi -e 's/#GRUB_DISABLE_OS_PROBER=false/GRUB_DISABLE_OS_PROBER=false/g' /etc/default/grub
diff --git a/config/chroot_local-hooks/03-lxde-fixes b/config/chroot_local-hooks/03-lxde-fixes
index abdbaec..78143f7 100755
--- a/config/chroot_local-hooks/03-lxde-fixes
+++ b/config/chroot_local-hooks/03-lxde-fixes
@@ -45,6 +45,20 @@ cat <<"EOF" >/etc/skel/.config/lxsession/LXDE/autostart
@xfce4-power-manager-wrapper
EOF
+ # hotfix for key PRINT
+ if [ -e /etc/skel/.config/openbox/lxde-rc.xml ]; then
+ sed -i 's/gnome-screenshot --interactive/ksnip/' /etc/skel/.config/openbox/lxde-rc.xml
+ if [ -e /var/lib/dpkg/info/xfce4-screenshooter.list ]; then
+ sed -i 's/ksnip/xfce4-screenshooter/' /etc/skel/.config/openbox/lxde-rc.xml
+ fi
+ fi
+ if [ -e /etc/skel/.config/compiz/compizconfig/Default.ini ]; then
+ sed -i 's/gnome-screenshot -i -w/ksnip/' /etc/skel/.config/compiz/compizconfig/Default.ini
+ sed -i 's/gnome-screenshot -i/ksnip/' /etc/skel/.config/compiz/compizconfig/Default.ini
+ if [ -e /var/lib/dpkg/info/xfce4-screenshooter.list ]; then
+ sed -i 's/ksnip/xfce4-screenshooter/' /etc/skel/.config/compiz/compizconfig/Default.ini
+ fi
+ fi
# awesome in lightdm-menu
if [ -e /usr/share/xsessions/awesome.desktop ]; then
sed -i '/NoDisplay/d' /usr/share/xsessions/awesome.desktop