anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#1
Need to get this working for antiX-12 release.

We now have pm-utils and upower that should get suspend and hibernate working. Now it might just work using the laptops suspend/hibernate keys so no need to use the options on exit.

This is from arch wiki.


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Pm-utils"
linktext was:"https://wiki.archlinux.org/index.php/Pm-utils"
====================================


Any ideas much appreciated.
Posts: 609
dark-D
Joined: 02 Jun 2008
#2
i use pm-utils with lines added to sudoers for suspend and hibernate. suspend is easy but hibernate it needs the location for the swap in the boot line. also i didn't managed the make the suspend button work on my thinkpad (fn+F4), xev doesn't recognize the combo so i can't put them in the fluxbox keys menu, but i use the exit button. also i have a cool script from arch, that makes the laptop wake up in screen lock after suspend.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Pm-utils#Locking_the_screen_saver_on_hibernate_or_suspend"
linktext was:"https://wiki.archlinux.org/index.php/Pm ... or_suspend"
====================================
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
Suspend works ok on my EEEPC 900 install.

Code: Select all

 Host: Biker Kernel: 2.6.36-1-mepis-smp i686 (32 bit) 
           Desktop: IceWM 1.3.7 Distro: antiX-M11-686 Jayaben Desai 01 May 2011
I don't mess with hibernate. Or suspend for that matter. I just lock the screen when I walk away.

in case you need /usr/local/bin/antixsuspend script again from AntiX 11 this time.

Code: Select all

# Filename:      antixsuspend.sh
# Purpose:       suspend from exit menu
# Authors:       OU812 for antiX
# Latest change: 02 january 2009
# Thanks to Gullible Jones
################################################################################

#!/bin/sh

dbus-send --system --print-reply --dest=org.freedesktop.Hal \
/org/freedesktop/Hal/devices/computer \
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend \
int32:0