On Thu, 21 Aug 2008 23:03:31 +0200 "Stefan G. Weichinger" <[EMAIL PROTECTED]> wrote:
> > I am very impressed right now as I see my main workstation suspend to > RAM and resume within seconds, even with 4 gigs of RAM. it's nice huh? I don't know why everyone doesn't try it - people think suspending / hibernating is only for laptops! > The suspend to swap isn't fully working yet, but anyway, this machine > is on a UPS etc ... I am happy with S2R ... > > My question: > > I have a nice cherry-keyboard here which has a button labelled > "on/off" ... > > how could I make tuxonice suspend AND resume when I press that button? If you run gnome-power-manger (configure through gnome-power-preferences) you might find General > "When the suspend button is pressed" does something for that key. Otherwise, go to system preferences > keyboard shortcuts. From there you may be able to map the button to the "suspend" action. This all requires gnome. Don't know the kde way. Otherwise you can use X tools as well (xmodmap, setxkbmap or whatever the tools are, can't remember!) > That would make it even cooler, not having to crawl below the desk to > press the button on the box itself ... you could also make it a launcher on your panel / desktop. HTH, -- Iain Buchanan <[EMAIL PROTECTED]> Each man is his own prisoner, in solitary confinement for life.