Hibernate - LXPanel-> Logout-> Hibernate button

The standard panel of LXDE - http://wiki.lxde.org/en/LXPanel
Locked
pingu
Posts: 6
Joined: Wed Aug 26, 2009 10:41 am

Hibernate - LXPanel-> Logout-> Hibernate button

Post 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.).
sreyaxy
Posts: 2
Joined: Sat Jun 12, 2010 6:00 am

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

Post 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
Last edited by sreyaxy on Sat Jun 19, 2010 7:47 am, edited 2 times in total.
Marty Jack
Posts: 381
Joined: Mon Mar 23, 2009 5:14 am

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

Post 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.
Locked