Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-09-2002, 05:05 PM   #1
LQ Newbie
Registered: Sep 2002
Posts: 1

Rep: Reputation: 0
Question Shutdown routine with power button

Is there a way start a shutdown routine when the power button is pressed once?
Old 09-09-2002, 05:24 PM   #2
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Probably not. On most machines, the power button directly interacts with the flow of electricity .

What you can do, usually, is configure the control/alt/delete keyin to do a "shutdown -h now" command which will gracefully bring your Linux system to a state where it can be interrupted from the power supply.

What distro do you have and do you use a GUI or a window manager?
Old 09-09-2002, 07:23 PM   #3
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Some time ago, in a galaxy far far away, on a planet known as Microhard, I was able to do that in another well known OS. I think there must be a way, this would be of course on an ATX case, not AT. I will poke around and see if I can find anything, that may have been a feature of the BIOS though.



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
Power Button for Shutdown gokul Linux - Hardware 4 01-24-2004 01:40 PM
ACPI: shutdown computer by pushing power button... elluva Mandriva 10 12-15-2003 04:57 AM
RH 9 orderly shutdown by power button? geezjan Red Hat 1 09-19-2003 11:01 AM
Automatic shutdown when power button pressed.. mr_smidge Linux - General 9 09-08-2003 03:16 AM
Shutdown with power button hriosm Linux - Hardware 4 06-06-2003 03:43 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:40 AM.

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