LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-29-2007, 04:05 PM   #1
otoomet
Member
 
Registered: Oct 2004
Location: Tartu, Ċrhus,Nürnberg, Europe
Distribution: Debian, Ubuntu, Puppy
Posts: 619

Rep: Reputation: 45
power button sleep/gnome


Hi!

I have an Asus M2400N laptop with debian etch. I have redefined the power button to put the computer to sleep using ACPI: I have changed /etc/acpi/events/powerbtn to have the last line as 'action=/etc/acpi/hibernate.sh'.

Everything works fine, except when I push the power button, gnome (2.14) asks me whether I want to shut down/reboot/logout. I have to hit cancel when I power the computer up again.

I have been unable to figure out how to explain gnome just to ignore the power button. Where are the corresponding gnome config files? How can I change the default actions, corresponding to the keys? Is there a better way to define a sleep button instead of tinkering with ACPI?

Thanks in advance.
 
  


Reply


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
Is it better to let computer power off and on later or put it to sleep mode ? pleasehelpme Linux - Newbie 1 12-10-2007 05:38 PM
Max Sleep Duration in Power Save Mode geek1234 Linux - Wireless Networking 0 04-13-2007 09:24 AM
require sleep wakeup button working in linux as they work on my windows XP cranium2004 Linux - Newbie 1 03-11-2005 07:17 PM
require sleep wakeup button working in linux as they work on my windows XP cranium2004 Linux - Software 1 03-11-2005 12:23 AM
Needs to push power button to power off? danpin Linux - Newbie 5 10-21-2003 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration