Re: suspend/hibernate in gnome-lenny

2008-09-10 Thread Moisés Redondo
El Wednesday 10 September 2008 02:51:42 Cassiano Leal escribió:
 Did you check that your user is in the powerdev group?

 $ groups username

 Check that powerdev is in the list of groups. If not,

 $ sudo adduser username powerdev

 Log out and in again, and retry.

 Cheers,
 Cassiano Leal

Thank you for your answers,

I'm on the powerdev group and I've already tweak visudo to run s2ram/s2disk 
without propmpting for a password...

I'm figuring what is called when performing an action through 
gnome-power-manager (i.e., when clicking the shutdown button and selecting 
suspend or hibernate in the gnome window that appears). I'll keep 
searching...

Regards


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



suspend/hibernate in gnome-lenny

2008-09-09 Thread Moisés Redondo
Hello, I'm trying to make my laptop (Dell Precision M65) suspend and hibernate 
in gnome.

The problem is that I can't make gnome to use s2ram/s2disk commands 
automatically. I can suspend and hibernate from a terminal but I can't do it 
through gnome applets or the shutdown button (when it asks you if you want to 
suspend,hibernate,reboot,cancel or shutdown).

I' ve read that tweaking the scripts in /usr/lib/hal/scripts/linux could do 
the trick, but it doesn't work. I've changed hal-system-power-suspend-linux 
to use a custom script using s2ram but it simply ignores it. 

The only thing I can get is a nice popup error message.

I remember having done this before in other installations of lenny/etch and 
being able to suspend/hibernate but now it is imposible. Is it that 
gnome-power-manager doesn't uses hal-scripts anymore?

Any ideas?

fray diógenes

PD: excuses for my English...


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]