[gpm] Exec a command before and after suspeding

Can g-p-m exec a custom command before and after suspend without root
If I use OnSuspend and OnResume in the hibernate configuration the
command will start with root privileges and it doesn't work as it should
(I want to interact with some applications using the DBus session of the
user that runs g-p-m).

Thanks in advance,

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]