Subject pretty much says it all. Anybody know how this might be accomplished? There's no mention of it on the wiki and no options in lxdm.conf that I'm aware of, and there's no lxdm man page. Is this just an upstream feature request?
Please search before posting. This includes the forums.
Edit: Nevermind, I saw the question as LXDE not LXDM. For this I have no idea.
Last edited by WonderWoofy (2013-01-01 06:04:53)
Just add a "suspend.desktop" to that folder with an exec line to run your preferred suspend command.
While I might be able to get something like that working, I'd prefer a more native solution instead of a kludge. Other people among my family and friends use my computer who are non-Linux people, and I'd like to make it user-friendly for them. As is, that solution requires picking Suspend out of a menu that is otherwise full of desktops to log into, then entering your password to make the computer go to sleep. There is a built-in menu right next to the session list housing the "Shutdown" and "Reboot" options. Ideally, this is where the Suspend option should reside as well.
I might add that I'm perfectly willing to look into adding this myself if the source code isn't over my head, and/or making it an upstream feature request. I just don't want to re-invent the wheel if someone more knowledgeable about LXDM knows a way to do this already.
Last edited by palintropos (2013-01-02 01:21:45)
I don't use lxdm, so I don't know if there is an option. But using the suspend.desktop file, you could have it set to suspend without a password - they would still need to pick it from the menu though.