LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-10-2002, 07:52 PM   #1
Mackan
Member
 
Registered: Feb 2002
Location: Far north Sweden
Distribution: Mandrake 9
Posts: 36

Rep: Reputation: 15
Can I use the power button like in Windows?


When I want to finish of my session in WindowsME I set it up so that I just press the power button once to log out, terminate everything and turn the power off. Is there a setting in Linux so I can get it to act the same way when pressing the button? And how do I do that?
 
Old 03-10-2002, 08:24 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
I am sure you could probably write a script or something maybe.. unlikely.. but whenever you shutdown linux, you always want to shutdown properly.. so you don't corrupt your filesystem.

-trickykid
 
Old 03-16-2002, 03:43 AM   #3
chrislip
LQ Newbie
 
Registered: Sep 2001
Location: Notts, UK
Distribution: Red Hat
Posts: 10

Rep: Reputation: 0
If you recompile your kernel with APM bios support and select the option to 'APM BIOS calls power off' (or something like that), when you issue the shutdown command with the -h option you should be able to walk away and it'll power down for you after the shutdown process is complete
 
  


Reply



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
How to Power-Off with Button? win32sux Linux - Hardware 6 07-01-2006 01:19 PM
How to control the power button in redhat 7.3 like windows XP - please helps ! kikkubey Linux - Hardware 2 10-05-2004 12:48 AM
Disable Use of Power Button mooreted Mandriva 4 12-26-2003 04:18 PM
Needs to push power button to power off? danpin Linux - Newbie 5 10-21-2003 08:08 PM
Power Button under linux aaa Slackware 18 07-11-2003 11:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:12 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