1 Answer
1

You want to change one of these settings in /etc/lightdm/lightdm.conf:

# session-wrapper = Wrapper script to run session with
# display-setup-script = Script to run when starting a greeter session (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)

I think that display-setup-script is what you want to modify. Just set it to your script. Turn that xset command into an executable shell script and stick it into /usr/bin. Then the config file will be: