Software :: Keyboard Power Button To Shutdown Computer?

Jul 8, 2009

I have a Genius K627 Keyboard with Power, Sleep and Wake buttons. ACPI is unsupported on my computer, but it can turn off its power supply when the system halts (PM is ok). I would like to bind the Power key on the keyboard to execute the /sbin/halt command. What I already know is that I can specify an event in inittab (kbrequest) that would execute a command. What I don't know how I can make my system receive pressing Power button as a kbrequest. The scancodes of Power button on the keyboard (by showkey): 0x74 0xf4

This is the line I was talking about in my inittab:

Code:

ce:12345:kbrequest:/sbin/halt

I think I should edit /etc/console/boottime.kmap.gz but don't know how I could insert this scancode into it.

View 8 Replies


ADVERTISEMENT

OpenSUSE Install :: 11.2 Can't Shutdown Without Pushing Power Button

Mar 6, 2010

for some reason, my opensuse 11.2 can not shut down as normal. by pressing ctrl-alt-F1 and issuing "init 0", the console displays the following messages and then stops there. Segmentation fault Master Resource control: runlevel 0 has been reached skipped services in runlevel 0: SuSEfirewall2_setup I have to push power button to shut down it.

View 2 Replies View Related

Ubuntu :: Map Power Button To Shutdown Panel Applet Command?

May 18, 2010

technically, this is UNR with lxde installed after extended UNR use. i like being able to hit my power button in gnome, and getting a message asking what you want to do, or cancel if needed. well, in lxde, the shutdown button brings up a similar message. could i map the power button to show that popup in lxde?

View 1 Replies View Related

Ubuntu :: Change Shutdown Time When Power Button Pressed?

Jun 1, 2010

I am currently using a Ubuntu Netbook Remix 9.04
When I press the power button, I see a dialogue box which asks for confirmation and if nothing is confirmed system automatically shuts down in 60 seconds.
I want to change this time of 60 seconds to say 30 seconds. Is it possible? Also is there a way to hide that dialogue box...

View 1 Replies View Related

Ubuntu :: Power Management Shutdown / When Suspend Button Is Pressed?

Jun 25, 2010

I have a dell zino inspiron media pc with Ubuntu 10.04 installed. I am able to shutdown using the power button on machine i.e. System->Preferences->Power Management option 'when power button is pressed': choose 'Shutdown'.But for option 'when suspend button is pressed', I only get 'Suspend' or 'Hibernate' in the drop-down. Where is my 'Shutdown' option?I really want to be able to shutdown my machine from my wireless keyboard!

View 1 Replies View Related

Debian :: Power Button On Keyboard Not Functioning

Jun 27, 2015

I recently upgraded to Jessie and am using the LXDE desktop. I like using the keyboard power button to shutdown the system but it does not work. I looked at /etc/acpi and everything appears okay to my untrained eyes, but there is obviously something not working correctly. Do I need to edit some config file or install some code in order to use the power button for shutdown ? When I look at Services Settings I see that acpid power management is selected.

View 10 Replies View Related

Slackware :: Enable Keyboard Power Button?

May 21, 2011

Is it possible to turn off the computer (Slackware 13.37 Box) simply using the power button on the keyboard

View 7 Replies View Related

General :: Ubuntu Gnome Applet Panel Power Button Won't Shutdown Machine

Nov 3, 2010

I have Ubuntu 10.10 on e-machine T-1221 I can shut down the machine using :

sudo shutdown -h from terminal

I can shutdown using powerbutton on case. I can't use the applet indicator powerbutton in root account, but, I can use the command under "System-->-Shutdown" in root account, but I don't see "System-->-Shutdown" in users account. Is there a way to add it ? I installed Debian 6.0 Squeeze on my Acer Aspire 3620 Laptop it works just fine and has the same Gnome Desktop. The only thing different is that there is no powerbutton available thru Gnome applets, only the command on menu under" Sytem-->-Shutdown", which I'm fine with on this machine.

These are the things I tried on emachine T-1221

I tried "acpi=force"
I tried "noacpi"
I tried "noacpi nolapic"

I read the bug reports it stated that on live-cd there was only suspend and hibernate. There is no shutdown or reboot. I tried: "#start acpi", it closed with errors. It said that Ubuntu uses upstart. Is there a script which you can add to power button to add the shutdown.? Really I don't necessarily need powerbutton, I think the work around would be adding the command to "System-->-Menu.

View 3 Replies View Related

Ubuntu :: Fter A Shutdown The Computer Won't Power Down?

May 16, 2010

just recently I upgraded from 9.10 to 10.04. Now whenever I shut down computer gets stuck after umounting disks etc, so I have to shut down using power button, similar to this error[URL]

View 2 Replies View Related

CentOS 5 Hardware :: Shutdown Will Not Power Off Computer?

Dec 15, 2009

This OS is has been cloned from the drive of another computer. The motherboard is now an SIS730. I assume the hardware is sufficiently different to prevent the OS from shutting down the computer.How do I fix this? ---without installing, if possible.

View 2 Replies View Related

General :: Make LXDE Hibernate The Computer When The Power Button Is Being Pressed

Dec 31, 2010

How to setup LXDE (a linux desktop environment) to hibernate a PC after the power button on the computer is pressed?

View 1 Replies View Related

Debian Multimedia :: Xfce4-power-manager Doesn't React To Power Button / Fix It?

Jun 4, 2010

I use Squeeze with Xfce. My problem is that recently (after the xfce updates) the xfce power manager doesnt react to the power button - it is set to suspend. I dont have gnome-power manager or anything like it running.
If i reboot the computer, the power button will work but if i suspend and resume, it doesnt work again.
The computer is built on an Asus M3N78-VM mobo (2GB RAM/Athlon3200+ single core).

acpi_listen detects the button press.

Any thoughts?

View 2 Replies View Related

Ubuntu :: Shutdown Command Like Shutdown Button?

Dec 10, 2010

looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).

View 9 Replies View Related

Hardware :: No Power To Power Button?

Jun 18, 2010

My problem arises two days ago. Power button of my keyboard has stopped working,why?It works well when I use windows.

View 2 Replies View Related

Fedora :: Shutdown Policy Triggered By Vncserver - Computer Refuses To Shutdown Normally

Feb 5, 2011

Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.

[Code]....

View 2 Replies View Related

OpenSUSE Install :: OpenSUSE 11.4 Delayed Shutdown While Pressing The Shutdown Button?

Mar 12, 2011

I did a live upgrade from 11.3 KDE and observe a following issue.When I press the shutdown button on the laptop it initiates the shutdown and shuts down fine but after a significant delay of time (something like 30 seconds). When I click the shutdown button in KDE it initiates the shutdown instantly. This was not the case in 11.3 where the shutdown worked the same regardless of the method that triggered it

View 6 Replies View Related

Fedora :: Remap The Power Button?

Oct 20, 2009

I've got a F10 machine set up as a media center (with mythtv...mythdora to be precise) and I love that it's based on fedora since I'm most familiar with it..I would like to map the power button press to a command "pkill X" since sometimes the frontend freezes and running this command kills X (I'm running ratpoison for the speed and simplicity...it just gets the job done and doesn't get in the way).Any help in mapping a single button press to "pkill X" would be greatly appreciated. I also need some help adding this command to the sudo list so the regular "mythtv" user will be able to run it...no password can be entered since the machine has no keyboard. Currently I log in via ssh to get this done but it would be nice to not have to boot up a laptop just to do this.

View 3 Replies View Related

Ubuntu :: Power Button Does Not Shut Down?

Jun 25, 2010

We are planning the migration fro Karmic to Lucid for our systems, these systems are custom Ubuntu installations, we create them using debootstrap and then running a script that installs desired packages, mainly X server and (optionally) fluxbox.

I've set up a hard drive with our current scripts (the only modifications were the change of lucid instead of karmic for update servers and removing usplash from our scripts), but I've found that pushing the power button would not shut down the system (we have no GDM or similar), the system does not respond to this event as used to do under Karmic.

Do you know where I can check/enable the system to shutdown when pushing the power button?

View 6 Replies View Related

Ubuntu :: Power Off Button Missing?

Dec 6, 2010

Occasionally, the power off button on the panel goes missing on Ubuntu 10.10 installation. I can't seem to notice any pattern to it. I can shut down from the command line just fine, but how can I get the button back?

View 2 Replies View Related

Ubuntu :: Power Button Disappeared?

Apr 28, 2011

so im not sure what just happened but my power button at the top right just disappeared. thought it ok ill just add it back to the panel but the only thing is a power button that dose not give the option to log off or switch user. there is something for that but nether can be put back at the top right.now I am using Ubuntu 10.10 and I saw that 11.04 is out so then I thought that ill just update. but I this is my first update, and I dont know how it works. will all the stuff that I have done to this computer to make it work go away and I will have to do all that again. or will it be like the small updates where it just fixes things

View 7 Replies View Related

Server :: Use Power Off Button In Terminal?

Mar 25, 2011

I built this small server for a coworker that by nature of its purpose will get turned off and on often. I want it setup so that he can just press the power button to have it power off normally. Normally I can set that up in Gnome, but in this case I don't want to install a GUI. Is there software that can tie the button and the the poweroff/shutdown cmd together without needing a desktop environment

View 2 Replies View Related

Fedora :: Where Has Shutdown Button Gone?

Feb 10, 2010

I run fedora 11, on KDE recently after an update the option to shut-down or restart has disappeared, I have to log out and then shut down. Its things like this that make me think fedora is emulating Microsoft grrrrrr. How do I get it back? Why was it removed in the first place?

View 1 Replies View Related

Fedora :: No Shutdown Button

Jul 14, 2010

After the latest batch of updates on f13 I no longer have a shutdown button and have to log off before I can suspend my machine. Where has it gone?Pressing the suspend button on my keyboard does actually suspend the system whilst logged in.Ok, after a reboot it's come back, why?

View 2 Replies View Related

Ubuntu :: To Add Shutdown Button Again

Feb 1, 2011

The widget ,which comes in the right hand side corner of the panel in ubuntu for the shutdown and logoff, i have deleted it by mistake. I want it back.Can somebody guide me to get it back.I have attached the screenshot of which i am talking about. I have marked in Red.

View 9 Replies View Related

Fedora :: Using F12 With LXDE - Power Button Not Working

Nov 19, 2009

I'm using Fedora 12 with LXDE (sudo yum groupinstall LXDE if you want to try it), and while using LXDE rather than GNOME, the power button doesn't do anything. I found a possible solution here: [URL] but I have no /etc/acpi/ folder. Why is that? Package acpid is needed.

View 2 Replies View Related

OpenSUSE Hardware :: Power Off 11.1 From Case Button?

Jul 8, 2010

how to configure openSuSE 11.1 to automatically power off when I push the power button on the case? I have no monitor, so I need the system to power off normally when I push that button.

View 8 Replies View Related

Ubuntu :: Locked Screen And Power Button?

Jun 27, 2010

In Ubuntu 10.04: if the screen has been locked (automatically by the screensaver or user-activated using the top-right menu) pressing the power button doesn't initiate shutdown. Is this a bug or is it a configurable option?I would expect to either get the usual 60 second shutdown delay or a graceful shutdown right away.

View 3 Replies View Related

Ubuntu :: Power Button Not Working In Lubuntu?

Sep 25, 2010

Recently i've switched from ubuntu 8.04 to Lubuntu 10.04, since that time the powerbutton does not work anymore.I've tried to find out how powermanagement is implemented in ubuntu to be able to debug this problem. But most documentation about this topic seems dated.I've already tried a few thing, most important stuff I did is:

- tested the scripts in /etc/acpi/ and added a line to write something to a textfile when its called. But this file is not called when pressing the powerbutton.

- checked bios settings, seems alright (and these settings worked on 8.04 to).

View 3 Replies View Related

Ubuntu :: Power Button Missing In Lucid?

Jan 11, 2011

I've installed lucid on two computers now and have been using or a few months.Overall, it's pretty good and everything just works. However, every now and then (seemingly random), the power button in the indicator appletsion panel widget randomly disappears, so I'm unable to shut down my computer without re-adding the widget, or using the command line to shutdown the computer. Now this is acceptable for me, an advanced user. However, this is not acceptable for my parents and family, who also use ubuntu computers. Today, my mother called me to ask why she couldn't turn off her computer. I was dumbfounded, and had to walk her through turning it off "by hand."

Now this is not me accidentally removing the indicator applet session panel item. No, I can still see the user name bubble with availability information and I can still switch users. It's just that the power button is completely missing (sometimes the place where it used to be is occupied by a corrupt graphic). Additionally, if I login later, the power button magically returns without me having to do anything with regards to the panel. This is disappointing indeed.

Honestly, this is why ubuntu and linux in general still have the reputation they do of being non-user-friendly. At least in windows or mac, when I get fed-up I can turn it off. But not so in ubuntu. No ubuntu tortures me continuously and I marvel that such a simple thing has escaped the minds of such advanced programmers. I wish Canonical would focus on letting us TURN OFF the computer instead of adding crazy features that I'm not going to use. I mean how can a real operating system fail at such a simple task

View 4 Replies View Related

Ubuntu :: Use PC's Power Button While Screen Is Locked

Jan 18, 2011

I am building a small Ubuntu box made for our clients to listen to an audio stream. At startup, I have scripts that start the audio stream, then locks the screen so clients can't change any settings. It works flawlessly.

However, if a client has to shut down the box, they can't. Note this is a headless unit, no monitor, keyboard, or mouse. It will ONLY be used to play streaming audio. I need for the client to be able to safely shutdown the unit by pressing the power button. But, when the power button is pressed, ubuntu asks for the user password. Is there a way to just make the system shutdown without entering a password?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved