I'm using Slackware 13 on my notebook, and I'm using pm-suspend to have a faster boot up. I'd like to have it run xlock after bringing it back from suspend, is it possible?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
Try placing an executable script in #!/bin/sh DISPLAY=":0" su -c your-user-name xlock Also, you can try creating a script in |
|||||||||
|
|
You can also try a script like this that you call for suspend:
|
||||
|
|