LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux
User Name
Password
4MLinux This forum is for the discussion of 4MLinux.

Notices


Reply
  Search this Thread
Old 01-13-2016, 07:49 AM   #1
SansSg
LQ Newbie
 
Registered: Nov 2015
Posts: 10

Rep: Reputation: Disabled
How to poweroff directly?


Hi,

Is there a direct way to poweroff or reboot without the extra step of exiting JWM and then type exit?

Thank you.
 
Old 01-13-2016, 08:52 AM   #2
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,256

Rep: Reputation: 220Reputation: 220Reputation: 220
Just hit the PowerOff button :-)

By default, the /etc/acpi/button.cfg file looks as follows:
Code:
# Default action when PowerOff Button is pressed:
poweroff
This is safe (acpi daemon+init+shutdown script should cleanly power off your machine).
 
1 members found this post helpful.
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
poweroff in C kantu Programming 3 07-02-2009 10:12 PM
help:cannot poweroff VINSTAR Linux - Newbie 3 02-11-2008 09:49 AM
poweroff Poszukiwacz Ubuntu 2 08-17-2005 05:10 AM
how to poweroff ?? perdesiz Linux - Laptop and Netbook 5 12-29-2004 03:31 AM
poweroff praveen_2003 Linux - Software 1 07-13-2003 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > 4MLinux

All times are GMT -5. The time now is 03:23 PM.

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