Re: Better handling of AUX and POWER buttons

2009-06-17 Thread Nicola Mfb
On Fri, Jun 12, 2009 at 3:20 PM, Nicola Mfb wrote: [...] > About my experiments I just discovered that some applications simply > refuse to process XSendEvents for security reasons. This is bad, as > using X you may differentiate virtual injected keys events based on > the destination applications,

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Sebastian Krzyszkowiak
On Fri, Jun 12, 2009 at 14:20, Michal Brzozowski wrote: > > > 2009/6/12 Paul Fertser >> >> > Thanks! Is there a daemon that I can -HUP or do I need to restart >> > for the changes to take effect? >> >> Restart frameworkd. > > r...@om-gta02:~# ps -A | grep frameworkd > r...@om-gta02:~# It's python

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Nicola Mfb
On Fri, Jun 12, 2009 at 2:20 PM, Michal Brzozowski wrote: [...] >> That's called E keybinding configuration. > > Does it have actions like show/hide keyboard? Does it detect double, triple, > etc keypresses? The actual problem is that if you use E keybinding for example to "simple lock" the screen

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Michal Brzozowski
2009/6/12 Paul Fertser > > Thanks! Is there a daemon that I can -HUP or do I need to restart > > for the changes to take effect? > > Restart frameworkd. r...@om-gta02:~# ps -A | grep frameworkd r...@om-gta02:~# > > > > Going back to the original point. It would be best if there was a > > con

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Paul Fertser
Michal Brzozowski writes: > But have another question though :-), is it possible to create > custom actions, for example run a script? It would be nice if you > could add some vibration or led flash to some actions. There's already an example in rules.yaml: actions: Command('amixer -d sset "Amp

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Michal Brzozowski
2009/6/12 Michal Brzozowski > > Thanks! Is there a daemon that I can -HUP or do I need to restart for the > changes to take effect? > I will answer this myself, it's dbus-daemon. But have another question though :-), is it possible to create custom actions, for example run a script? It would be

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Paul Fertser
Michal Brzozowski writes: > 2009/6/12 Paul Fertser > Michal Brzozowski writes: > > Speaking about this, how to change the default behavior of the > > buttons in Om2009? I know that both of them come as X events and can > > be observed using xev, but the power button suspends the

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Michal Brzozowski
2009/6/12 Paul Fertser > Michal Brzozowski writes: > > Speaking about this, how to change the default behavior of the > > buttons in Om2009? I know that both of them come as X events and can > > be observed using xev, but the power button suspends the device even > > if you're not running X, so

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Paul Fertser
Michal Brzozowski writes: > Speaking about this, how to change the default behavior of the > buttons in Om2009? I know that both of them come as X events and can > be observed using xev, but the power button suspends the device even > if you're not running X, so its action is probably controlled b

Re: Better handling of AUX and POWER buttons

2009-06-12 Thread Michal Brzozowski
Speaking about this, how to change the default behavior of the buttons in Om2009? I know that both of them come as X events and can be observed using xev, but the power button suspends the device even if you're not running X, so its action is probably controlled by power management. But APM doesn't

Better handling of AUX and POWER buttons

2009-06-11 Thread Nicola Mfb
Hi! I apologize if this is an old topic and was discussed many time before. I tried hackable:1 some days ago, and I found that AUX/POWER buttons is handled very nice. I suppose that it cames from 2007.2 neod, but I was aware of it as I flashed my freerunner with ASU ASAP when it arrived in my hands