Update: Added in a XFCE Light DM Conf approach

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-09-27 15:05:13 +09:00
parent 756fbbef19
commit 3bc4d4adf0
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,2 @@
[Seat:*]
user-session=xfce

View File

@ -41,7 +41,7 @@ def set_fusato_structure():
'etc/skel/Desktop', 'etc/skel/Desktop',
'etc/skel/.local/share', 'etc/skel/.local/share',
'etc/skel/.config/autostart/', 'etc/skel/.config/autostart/',
'/etc/apt/trusted.gpg.d/', 'etc/lightdm/lightdm.conf.d/',
] ]
os.chdir(HOME_FOLDER + '/fusato') os.chdir(HOME_FOLDER + '/fusato')
if os.path.exists('config'): if os.path.exists('config'):

View File

@ -439,6 +439,14 @@ def xfce_configs():
dirs_exist_ok = True dirs_exist_ok = True
) )
logger.info(MSG_FIN + HOME_FOLDER + WPCHROOT + des_thunar) 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(): def gnome_flahsbak_configs():