Page 1 of 1

LightDM config options

Posted: 13. Feb 2024, 20:13
by notspecial
Does LightDM support similar functions to the RebootCommand and HaltCommand options provided in sddm (and the predecessor KDM)?

I scoured the web but found nothing or my search terms are not in sync with what I seek.

Thanks.

Re: LightDM config options

Posted: 16. Feb 2024, 08:36
by gapan
I don't think so. Closest are probably these:

Code: Select all

$ grep script /etc/lightdm/lightdm.conf
# guest-account-script = Script to be run to setup guest account
#guest-account-script=guest-account
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=