Power Button not working - Lubuntu

Leszek Lesner leszek.lesner at web.de
Wed Sep 5 12:20:53 UTC 2012


One thing I forgot to mention. 
Make sure to have the package 
acpid
installed. If you running on an thinkpad like me the power button needs 3 
seconds to be recognized (as standby button as far as I know). 

Am Mittwoch, 5. September 2012, 14:15:34 schrieb Leszek Lesner:
> Am Mittwoch, 5. September 2012, 21:56:54 schrieb hiro case:
> > Hi does anyone have any ideas about this?
> 
> If XF86PowerOff is not correctly recognized you could try to map it manually
> to your keycode.
> Just create a .Xmodmap file in your home directory and type in:
> keycode <keycode> = XF86PowerOff
> 
> But from your output I don't see any keycode to replace <keycode> with.
> So my guess. It might be a an acpi issue here.
> What computer / laptop do you test this on ?
> 
> > On Fri, Aug 31, 2012 at 7:33 AM, Jean-Pierre Vidal Piesset
> > 
> > <jpxsat at gmail.com> wrote:
> > > 2012/8/30 hiro case <hirocase at gmail.com>
> > > 
> > >> Hello I am running Lubuntu 12.04 and on two seperate machines the
> > >> power button does not work after a clean install.
> > >> 
> > >> I have made sure that /.config/openbox/lubuntu-rc.xml contains the
> > >> 
> > >> correct keybinding:
> > >>     <keybind key="XF86PowerOff">
> > >>     
> > >>       <action name="Execute">
> > >>       
> > >>         <command>lubuntu-logout</command>
> > >>       
> > >>       </action>
> > >>     
> > >>     </keybind>
> > >> 
> > >> I have also tried installing acpid.
> > >> 
> > >> the output of the command xev is:
> > >> 
> > >> hiro at hiro-laptop:~$ xev | grep "keycode"
> > >> 
> > >>    request MappingKeyboard, first_keycode 8, count 248
> > >> 
> > >> there's no mention of XF86poweroff. All other special keys give their
> > >> keycode output! for example my volume up button:
> > >> 
> > >> hiro at hiro-laptop:~$ xev | grep "keycode"
> > >> 
> > >>    state 0x0, keycode 123 (keysym 0x1008ff13, XF86AudioRaiseVolume),
> > >>    same_screen YES,
> > >> 
> > >> So it's not bound to xf86poweroff somehow? In fact the whole format
> > >> looks wrong. My power button works in gnome 3 though.
> > >> 
> > >> How do I get my power button(s) working under lubuntu again?
> > > 
> > > Does not work on my Compaq Presario 1700 with Lubuntu 12.04 neither.
> > > 
> > > -- jpxsat



More information about the Lubuntu-users mailing list