Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-05-11 18:56:04

Digger
Member
Registered: 2012-01-18
Posts: 26
Website

Can't Suspend to RAM from the Logout Page Using a Script

Hello all,

I'm trying to write a script that can be invoked by the "sleep" button on my keyboard that will, in turn, log me out and THEN suspend the computer to RAM.

Here is what I've got so far:

#!/bin/sh

xfce4-session-logout --logout
/usr/sbin/pm-suspend

I get to the logout screen, but I then need to suspend manually, as the script does not do it.

Any ideas?

TIA!


Xfce 4.6.2; Debian Squeeze

Offline

#2 2012-06-19 03:25:54

Digger
Member
Registered: 2012-01-18
Posts: 26
Website

Re: Can't Suspend to RAM from the Logout Page Using a Script

In case someone is trying to reference this problem, I came up with a sort of primitive (but effective) solution here:

http://forums.debian.net/viewtopic.php?f=6&t=79507

IHTH someone!


Xfce 4.6.2; Debian Squeeze

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 516.96 KiB (Peak: 529.73 KiB) ]