LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-22-2012, 07:01 PM   #1
qweasd
Member
 
Registered: May 2010
Posts: 439

Rep: Reputation: Disabled
Power button action


I put Slackware on Zareason's Alto and started playing with power options. Trying to make power button to hibernate or bring up menu, but it just ain't happening. Regardless of settings in KDE it seems to instantly run shutdown.

Kind of off-topic, but should I expect all of the Fn- things to work? Brightness and sound level, for example, work great, while sleep and wifi do nothing. Looks like may be half of them work.
 
Old 06-22-2012, 07:08 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
I had a similar problem with my netbook. I set up the XFCE power manager to hibernate the netbook when the power-button is pressed. This worked, but when waking up the netbook it shutted of the system after the wake-up finished. This was caused by the settings in /etc/acpi, the power-button was set up to shut down the system there.
 
Old 06-22-2012, 07:21 PM   #3
qweasd
Member
 
Registered: May 2010
Posts: 439

Original Poster
Rep: Reputation: Disabled
Thanks! /etc/acpi was everything I needed.
 
Old 06-22-2012, 08:49 PM   #4
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 437

Rep: Reputation: Disabled
/etc/acpi/acpi_handler.sh is all you need. Just edit that script and set a different function for "power" under 'case "$2"'.

As for the Fn keys, check to make sure Action Keys, or Function Keys (different names on different motherboards) is set to <Enabled> in your BIOS too.
 
  


Reply

Tags
power management


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looping action while button is pushed in Glade HaydenLovett Programming 1 12-18-2008 01:23 AM
Does default middle button action in Firefox 1.5 annoy you? KimVette Linux - Software 2 12-08-2005 02:30 PM
Middle mouse button action TheJkWhoSaysNi Linux - Software 1 03-25-2005 08:38 PM
Needs to push power button to power off? danpin Linux - Newbie 5 10-21-2003 08:08 PM


All times are GMT -5. The time now is 03:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration