diff options
author | Holger Paradies <retabell@gmx.de> | 2025-05-10 11:30:30 +0200 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2025-05-10 17:57:27 +0200 |
commit | 3e371b67abd413f478b7c9c6a2c5c29c8c5c74d2 (patch) | |
tree | e12a20b2e48985580b782b1196019bec814aca2e /config | |
parent | 7d784c80d842da7aebc778751876ce51af7eabd3 (diff) | |
download | kanotix-3e371b67abd413f478b7c9c6a2c5c29c8c5c74d2.zip kanotix-3e371b67abd413f478b7c9c6a2c5c29c8c5c74d2.tar.gz |
Include kanotix sddm config
Remove debian live sddm config
Provide config in kde_settings.conf
Session is handled by sddm itself
Diffstat (limited to 'config')
-rw-r--r-- | config/chroot_local-includes/etc/sddm.conf.d/kde_settings.conf | 15 | ||||
-rwxr-xr-x | config/chroot_local-includes/lib/live/config/0086-sddm | 38 |
2 files changed, 53 insertions, 0 deletions
diff --git a/config/chroot_local-includes/etc/sddm.conf.d/kde_settings.conf b/config/chroot_local-includes/etc/sddm.conf.d/kde_settings.conf new file mode 100644 index 0000000..a0b06b2 --- /dev/null +++ b/config/chroot_local-includes/etc/sddm.conf.d/kde_settings.conf @@ -0,0 +1,15 @@ +[Autologin] +Relogin=false +Session=plasmax11 +User=kanotix + +[General] +HaltCommand= +RebootCommand= + +[Theme] +Current=kanotix + +[Users] +MaximumUid=60000 +MinimumUid=1000 diff --git a/config/chroot_local-includes/lib/live/config/0086-sddm b/config/chroot_local-includes/lib/live/config/0086-sddm new file mode 100755 index 0000000..98da070 --- /dev/null +++ b/config/chroot_local-includes/lib/live/config/0086-sddm @@ -0,0 +1,38 @@ +#!/bin/sh + +. /usr/lib/live/config.sh + +## live-config(7) - System Configuration Components +## Copyright (C) 2016-2020 The Debian Live team +## Copyright (C) 2006-2015 Daniel Baumann <mail@daniel-baumann.ch> +## +## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING. +## This is free software, and you are welcome to redistribute it +## under certain conditions; see COPYING for details. + + +#set -e + +Init () +{ + # Checking if package is installed or already configured + if ! pkg_is_installed "sddm" || \ + component_was_executed "sddm_kanotix" + then + exit 0 + fi + + echo -n " sddm_kanotix" +} + +Config () +{ + # remove file created by 0085-sddm + rm -f /etc/sddm.conf + + # Creating state file + touch /var/lib/live/config/sddm_kanotix +} + +Init +Config |