Page 1 of 1

Hibernate - LXPanel-> Logout-> Hibernate button

Posted: Wed Aug 26, 2009 6:46 pm
by pingu
Is there any way to change default hibernate behaviour of Hibernate button in LXPanel? I mean, where is config file for - Shutdown , Suspend, Reboot, Hibernate and Logout buttons?
I want that, when I press Hibernate button, to run sudo s2disk command.
I don't have ~/.config/lxsession/<Profile Name> in my home directory, also in /usr/share/lxsession/<Profile name> I only found images for gnome-session functions (hibernate, halt etc.).

Re: Hibernate - LXPanel-> Logout-> Hibernate button

Posted: Wed Jun 16, 2010 10:00 am
by sreyaxy
How do you hibernate a hermanns tortoise? Do you let the tortoise begin hibernation naturally (stopping eating naturally) or do you have to take away their food to make them stop eating? And what do you do when you hibernate them? And how long for?
____________________
external keyword tool ~ keyworddiscovery.com ~ keycompete.com ~ compete.com ~ webmasterworld.com

Re: Hibernate - LXPanel-> Logout-> Hibernate button

Posted: Wed Jun 16, 2010 11:38 am
by Marty Jack
This is controlled by either HAL or UPower depending on what release of lxsession you are running. We make the request of these other components and they do whatever they are configured to do.
You would have to do the configuration there. If you need help, ask your distro, because they control how these other components are set up.

Once again, it would be really nice if when people ask questions or post bugs they would mention what their distro is and what release of things they are running. It is not possible to give a reliable answer otherwise.