You are not logged in.
I have created a new package which replaces the current openbox-logout script. The script has additional buttons for "Hibernate" and "Suspend". I have done some limited testing on the script and while it invokes both hibernation and suspend, I have had mixed results with actually using these features. For example, my Acer notebook will successfully hibernate and suspend, but on resume I lose network connectivity. I will experiment some more on my own system, but it would be good if we could get some more general testing done.
The new script can be installed with the following terminal command:
sudo apt-get update && sudo apt-get install openbox-logout-scriptI will keep this topic sticky for while, please feel free to test the new script and report back with your own results. Thanks 
Update: I have created another package featuring the original script, just in case anyone would like to switch back! Use the command below to revert to the original:
sudo apt-get remove openbox-logout-script && sudo apt-get update && sudo apt-get install openbox-logout-script-basicOnline
Corenominal --
I've installed the package and tested both the suspend and hibernate functions. They both work PERFECTLY for me, with WiFi immediately reconnecting after wake-up. It might be nice for you to hear that I've never been able to get either suspend or hibernate to work properly on an ubuntu machine before, so bravo.
I'll report any idiosyncrasies that I encounter with these in the future, but it seems well and good for the time being. Cheers!
Offline
I will definitely try this on my Lenovo T61 when I get a chance. :)
Offline
I've installed the package and tested both the suspend and hibernate functions. They both work PERFECTLY for me, with WiFi immediately reconnecting after wake-up.
w00t! It is good to read it is working for someone, thank you for testing it out.
I will definitely try this on my Lenovo T61 when I get a chance.
Thanks swj, look forward to reading about it.
Online
I've never had much success with Hibernate on any of my systems but I'll give Suspend a work out and report back.
Offline
I'll try on my Lenovo X200 as well.
Offline
OK, tested this on my Travelmate and the suspend function worked well
Hibernate closed down okay and looked like it was going to wake ok but then suddenly started going in reverse and shutdown completely
Still that's further than anything else has got on this laptop before 
Offline
OK, tested this on my Travelmate and the suspend function worked well Hibernate closed down okay and looked like it was going to wake ok but then suddenly started going in reverse and shutdown completely Still that's further than anything else has got on this laptop before
Hey omns
Thanks for testing it out. Sorry to hear it is not working for you. I have always had mixed results with these features myself, which probably explains why I omitted them when I first wrote the script. Still, I know some people have been requesting this, so hopefully it will prove to be useful for some.
Online
Ok, tested the new script out on my Lenovo X200. Hibernate seemed to shutdown fine, but when it was restoring.. it froze (at the splash screen).
Standby wasn't much better, it seemed to go in standby fine, however when I powered back up, it "seemed" to be working, and then the laptop powered down completely.
Now my question to you, how can I downgrade back to the original logout script?
sudo apt-get remove openbox-logout-script
should that do the trick?
Offline
Hello marf 
We must think along the same lines. I have just updated the original post with details about how to revert to the old script 
Online
Doesn't seem to work for me either on a Dell E1405 laptop (Core 1 Solo, Intel MB)...
mlweber@mattsbox:/$ openbox-logout
Suspending
Error org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 0
Failed
/usr/bin/openbox-logout: no process killed
Terminated
Simply running pm-suspend works just fine. It comes back with networking, video, and all working. Perhaps it has something to do with all of my "customizations". I will try again when I do a reinstall later, which I plan on doing as soon as the lite installer is ready (prod). The error message is the same for hibernate.
Offline
On a second test, the same machine I tested before did come out of hibernation ok. The only problem was that I'd moved from home to work and wicd flipped out with the sudden change of network.
Offline
just tested on my eee 701sd.
hibernate just sends me to the locked screen login.
but suspend works perfectly! wifi connected back straight away.
first distro this has worked for me.... yet another reason to lose my heart to #!
Offline
just tested on my eee 701sd.
hibernate just sends me to the locked screen login.
but suspend works perfectly! wifi connected back straight away.
first distro this has worked for me.... yet another reason to lose my heart to #!
Do you have a swap partition? (I ask because I know a lot of eee users don't have one.)
/hugged
Offline
maxDuck wrote:just tested on my eee 701sd.
hibernate just sends me to the locked screen login.
but suspend works perfectly! wifi connected back straight away.
first distro this has worked for me.... yet another reason to lose my heart to #!
Do you have a swap partition? (I ask because I know a lot of eee users don't have one.)
yup. I have a swap. However even when i have on other distros it hasn't worked for me...
Offline
HIbernate works ok
Suspend is no good, it only turned of my hard drives, but forgot to do the rest =s
Offline
I tried to install the script but received the following error. Is there an additional repository that I need to enable?
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package openbox-logout-script
EDIT: I didn't realize, but it appears that I was trying to load this for an earlier version of CrunchBang (8.04.01). I will try this again now that I have installed the current version.
Last edited by rasmith3530 (2009-01-14 03:51:12)
Rob Smith
"Linux, because software, like people, should be allowed to exist in an open, sharing community, and not kept contained by corporate greed!"
Offline
Just tested this on my 4GB SSD Eee PC 701 with 1 GB RAM. Suspend worked perfectly, but Hibernate gave me a "Not enough swap space" error. I did install with a swap partition, but maybe I'll get rid of it if hibernation isn't going to work anyway (and suspend is fine with me).
Offline
Since posting previously, I installed #!CrunchBang 8.10.01 to my IBM Thinkpad X40. I installed the new script and the machine suspends normally. However, on resume from suspend, I don't have network and must reboot to get that functionality back.
Rob Smith
"Linux, because software, like people, should be allowed to exist in an open, sharing community, and not kept contained by corporate greed!"
Offline
Thx for the menu script!
#! 10 “Statler” r20110207 32-bit & Openbox
Offline
I am doing something stupid here.
I have installed the openbox-logout-script (and checked that openbox-logout-script-basic is not installed). Firing the exit command (through the menu, super+x, or just oblogout) shows five options - cancel, logout, restart, shutdown, lock. Firing the openbox-logout command, on the other hand, gives me - cancel, hibernate, suspend, logout, reboot, shutdown. No lock option and also, this shows as a modal window with the theme's decorations, unlike oblogout.
How do I make oblogout command show the seven options - cancel, hibernate, suspend, logout, reboot, shutdown, lock?
Offline
How do I make oblogout command show the seven options - cancel, hibernate, suspend, logout, reboot, shutdown, lock?
Hello rho 
You can edit the configuration file to include the extra options. Enter the following command to edit the file:
gksudo leafpad /etc/oblogout.conf &Here is the original file with all options:
[looks]
opacity = 70
bgcolor = black
buttontheme = foom
buttons = cancel, logout, restart, shutdown, suspend, lock
[shortcuts]
cancel = Escape
shutdown = S
restart = R
suspend = U
logout = L
lock = K
hibernate = HHope this helps. 
Online
Hello,
I'm on a Dell Latitude D430 with a crunchbang lite install. I tried the new script, and I get an error message having to do with the graphics driver:
"5946. something something: iwlagn cant stop RX DMA..." as best I can recall it's something like that. The laptop shuts down. When I restart, after the kernel boots, it takes a moment to wake up, and then I am presented with the login prompt as if it were coming out of hibernation.
My var/log/debug has this to say:
Mar 6 00:29:23 tiny kernel: [ 5960.272665] iwlagn 0000:0c:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
It might just be that the wlagn driver isn't properly configured. I am new to linux, and not sure about a lot of things on my system. Here's what lshw says:
display:0 UNCLAIMED
description: VGA compatible controller
product: Mobile 945GM/GMS, 943/940GML Express Integrated Graphics C
ontroller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
*-display:1 UNCLAIMED
description: Display controller
product: Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphi
cs Controller
Offline
Hello rho
You can edit the configuration file to include the extra options. Enter the following command to edit the file:
Thanks corenominal! That did the trick. I have been using Ubuntu for so long that I have almost lost the feel of looking in /etc for config files to fiddle with
I should have checked out oblogout's files before posting.
And hibernate and suspend works correctly. When I come back after a suspend, the screen is locked and the wi-fi resumes as soon as I unlock the desktop.
Last edited by rho (2009-03-06 01:21:50)
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.