Re: [systemd-devel] hardware/system keys/buttons

2013-01-03 Thread Lennart Poettering
On Wed, 26.12.12 16:21, Tormen (quickh...@gmail.com) wrote: > Hi, > > I would like to trigger events on my notebook hardware keys and > independent of any X environment! > (very useful to do all sorts of things when something went south in > your graphical environment) > > (a) systemd is alr

Re: [systemd-devel] hardware/system keys/buttons

2012-12-30 Thread David Herrmann
Hi Tormen On Wed, Dec 26, 2012 at 5:57 PM, Tormen wrote: > Hi David, > > Thanks for the answer ! > > Ok... I see: The mechanism to handle keycodes is not necessary for the power > button I suppose ;) The power-button handler reacts on keycodes, not keysyms. That's actually one of very few exampl

Re: [systemd-devel] hardware/system keys/buttons

2012-12-26 Thread Tormen
Hi David, Thanks for the answer ! Ok... I see: The mechanism to handle keycodes is not necessary for the power button I suppose ;) But still it seems that not a lot would be missing in systemd to allow to react to keycodes ? As you mentioned: Auto assigning keysyms gets messy (different hard

Re: [systemd-devel] hardware/system keys/buttons

2012-12-26 Thread David Herrmann
Hi Tormen On Wed, Dec 26, 2012 at 4:25 PM, Tormen wrote: > Aargh! I tried to be clear ... and was not ;) > > >> I would like to trigger events on my notebook hardware keys and >> independent of any X environment! > > I would like to react to input events [triggered by hardware keys] on my > noteb

Re: [systemd-devel] hardware/system keys/buttons

2012-12-26 Thread Tormen
Aargh! I tried to be clear ... and was not ;) > I would like to trigger events on my notebook hardware keys and independent of any X environment! I would like to react to input events [triggered by hardware keys] on my notebook and this independent of any X environment. On 26/12/12 16:21,

[systemd-devel] hardware/system keys/buttons

2012-12-26 Thread Tormen
Hi, I would like to trigger events on my notebook hardware keys and independent of any X environment! (very useful to do all sorts of things when something went south in your graphical environment) (a) systemd is already reacting to the power button and lid switch (!) (b) part logind