[remaster/kforensic] fix default DE for Kforensic
This commit is contained in:
parent
b35af44f0c
commit
ae96553369
@ -40,7 +40,7 @@ inner_chroot_script: /sabayon/scripts/remaster_generic_inner_chroot_script.sh
|
||||
|
||||
# Inner chroot script command, to be executed inside destination chroot after
|
||||
# packages installation and removal
|
||||
inner_chroot_script_after: /sabayon/scripts/remaster_generic_inner_chroot_script_after.sh gforensic
|
||||
inner_chroot_script_after: /sabayon/scripts/remaster_generic_inner_chroot_script_after.sh kforensic
|
||||
|
||||
# Outer chroot script command, to be executed outside destination chroot before
|
||||
# before entering it (and AFTER inner_chroot_script)
|
||||
|
@ -98,7 +98,7 @@ gforensic_remove_skel_stuff() {
|
||||
rm -r /etc/skel/.config/Thunar
|
||||
rm -r /etc/skel/.config/xfce4
|
||||
rm -r /etc/skel/.gconf/apps/compiz
|
||||
rm -r /etc/skel/.gconf/apps/gset-compiz
|
||||
rm -r /etc/skel/.gconf/apps/gset-compiz
|
||||
}
|
||||
|
||||
setup_oss_gfx_drivers() {
|
||||
@ -199,6 +199,17 @@ elif [ "$1" = "gforensic" ]; then
|
||||
setup_sabayon_mce
|
||||
gforensic_remove_skel_stuff
|
||||
setup_proprietary_gfx_drivers
|
||||
elif [ "$1" = "kforensic" ]; then
|
||||
setup_networkmanager
|
||||
# Fix ~/.dmrc to have it load KDE
|
||||
echo "[Desktop]" > /etc/skel/.dmrc
|
||||
echo "Session=KDE-4" >> /etc/skel/.dmrc
|
||||
rc-update del system-tools-backends boot
|
||||
rc-update add system-tools-backends default
|
||||
setup_displaymanager
|
||||
setup_sabayon_mce
|
||||
gforensic_remove_skel_stuff
|
||||
setup_proprietary_gfx_drivers
|
||||
elif [ "$1" = "kde" ]; then
|
||||
setup_networkmanager
|
||||
# Fix ~/.dmrc to have it load KDE
|
||||
|
Loading…
Reference in New Issue
Block a user