You are not logged in.
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?
Offline
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)
Offline
https://wiki.archlinux.org/index.php/LXDM#Sessionlist
Just add a "suspend.desktop" to that folder with an exec line to run your preferred suspend command.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
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.
[Edit]
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)
Offline
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.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online