From 3bc4d4adf03aa1617a616ce4563aa3c10d77d4c4 Mon Sep 17 00:00:00 2001 From: debianpepper Date: Wed, 27 Sep 2023 15:05:13 +0900 Subject: [PATCH] Update: Added in a XFCE Light DM Conf approach Signed-off-by: debianpepper --- iso_configs/lightdm/50-xfce.conf | 2 ++ python_modules/inflate_bubble.py | 2 +- python_modules/infra.py | 8 ++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 iso_configs/lightdm/50-xfce.conf diff --git a/iso_configs/lightdm/50-xfce.conf b/iso_configs/lightdm/50-xfce.conf new file mode 100644 index 00000000..d5ceab53 --- /dev/null +++ b/iso_configs/lightdm/50-xfce.conf @@ -0,0 +1,2 @@ +[Seat:*] +user-session=xfce diff --git a/python_modules/inflate_bubble.py b/python_modules/inflate_bubble.py index ccad8efa..95b28841 100644 --- a/python_modules/inflate_bubble.py +++ b/python_modules/inflate_bubble.py @@ -41,7 +41,7 @@ def set_fusato_structure(): 'etc/skel/Desktop', 'etc/skel/.local/share', 'etc/skel/.config/autostart/', - '/etc/apt/trusted.gpg.d/', + 'etc/lightdm/lightdm.conf.d/', ] os.chdir(HOME_FOLDER + '/fusato') if os.path.exists('config'): diff --git a/python_modules/infra.py b/python_modules/infra.py index 376ed600..57b3e0de 100644 --- a/python_modules/infra.py +++ b/python_modules/infra.py @@ -439,6 +439,14 @@ def xfce_configs(): dirs_exist_ok = True ) logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des_thunar) + # Copy the XFCE Light DM files + src_light_dm = '/lightdm/50-xfce.conf' + des_light_dm = '/etc/lightdm/lightdm.conf.d/50-xfce.conf' + logger.info(MSG_COPY+ HOME_FOLDER + src_thunar) + shutil.copy(HOME_FOLDER + src_light_dm, + HOME_FOLDER + WPCHROOT + des_light_dm + ) + logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des_thunar) def gnome_flahsbak_configs():