Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: suspend2ram doesn't turn off the screen anymore on Thinkpad X31 after lenny upgrade

From: Damjan Vrencur <damjan.vrencur(at)gmail.com>
Date: Mon Jan 21 2008 - 04:53:28 EST


Hi,

>
> I can't find susp2mem anywhere in Debian, any version:

Sorry, this was typo on my side.
I'm suspending to ram with /usr/sbin/s2ram which comes with uswsusp package.

>
> I noticed that hibernate-ram *does* work, but:
>
> a) it doesn't lock the screen in Gnome
> b) Gnome doesn't invoke hibernate-ram for some reason, but some hack
> around my "echo mem > /sys/power/state" (the effect is the same, ie.
> the screen remains lit when sleeping)
>
> So as a workaround I can type "hibernate-ram" in a terminal, but it's a
> really bad workaround since anyone that pops my laptop open get my full
> active session.

I'm using quite a different window manager (dwm) and don't know how to configure Gnome corectly for suspending. I have a little script in my $PATH which says:



#!/bin/sh

sudo s2ram
exec slock;



and I run it when I want to suspend. Similary for hibernate (just replace s2ram -> s2disk).

slock locks the screen after wakening-up.

Gnome doesn't suspend or hibernate for me "by clicking", but using s2ram and s2disk work without problems.

Do you need help?X

Problably someone knows how to make Gnome suspend in a "user-friendly" way. I would be interested to know, but I have no time (and no need) to investigate furher in Gnome configuration.

Regards,

-- 
 Damjan Vrenčur <~> 
http://lmmri.fri.uni-lj.si/damjan/ <~> GPG key: C6A3146F
Received on Mon Jan 21 03:53:58 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:49:50 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library