You are not logged in.

#1 2023-04-06 10:14:29

Tadhg
Member
From: Éire
Registered: 2023-01-19
Posts: 18

Get LightDM to run .xprofile after coming back from sleep?

Is there a way to get LightDM to automatically run .xprofile immediately after coming back from sleep? I have been finding it annoying to have to a few commands every time I reopen my laptop to enable mouse tapping and change the keyboard layout. Thanks.


Is fuath liom fuinneoga

Offline

#2 2023-04-06 11:04:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: Get LightDM to run .xprofile after coming back from sleep?

Since lightdm is most likely not involved during recovery from sleep, likely no.

The best way to set these things up so that they are reapplied when devices (re-)appear is to add them to a xorg config: https://wiki.archlinux.org/title/Xorg/K … tion_files and https://wiki.archlinux.org/title/Libinp … ation_file

Offline

Board footer

Powered by FluxBB