maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Proposal for an applet (https://talk.maemo.org/showthread.php?t=4491)

Karel Jansens 2007-02-02 16:12

Proposal for an applet
 
The power button on the N800 appears to be of the "intelligent" type, i.e.: it knows about short and long presses.

At the moment the short press brings up a menu with different options, while the long press shuts down the device directly.

Here's the thing: I never got completely comfortable with the N800 not having the slider-sleep of the 770, and two presses to put NaB00 to sleep is just one too many. Also, I hardly ever shut down NaB00 (and Nokia keeps claiming it is an "always-on" device anyway), so the long keypress remains unused under my roof, and shutdown is an option in the power menu anyway. Besides, it's Linux, right? The One Thou Never Shalt Shut Down? :rolleyes:

Would it not be possible to write a small applet for the power button so that the short keypress will perform a (preferrably user-selected; in a pinch an editable config file should be sufficient) action, while the long keypress brings up the power menu? That way I (and hopefully many many others) could set the short press to perform a "lock keys and screen" action immediately, or maybe "go offline", or -- who knows (I really don't know if that option would be possible) -- "start Bluetooth", to solve another pet peeve of mine.

It would turn the power button into a sort of one-macro button.

Any takers?

Milhouse 2007-02-02 17:05

Re: Proposal for an applet
 
Karel - you might want to check bug #943 which covers some of this.

Karel Jansens 2007-02-02 17:30

Re: Proposal for an applet
 
Quote:

Originally Posted by Milhouse (Post 33033)
Karel - you might want to check bug #943 which covers some of this.

I like the Tealhacks suggestion, but I fear it would be a massive project and would certainly need a GUI frontend to be useful for the normal user (i.e.: me).

aleksandyr 2007-02-02 17:51

Re: Proposal for an applet
 
Some digging is necessary, but I imagine what we'd like is a global hotkeys daemon that deals with non-intercepted button presses, sitting in between the HAF and whatever application has focus. Reconfigure the presses we want to, and let the rest fall through.

Karel Jansens 2007-02-02 19:12

Re: Proposal for an applet
 
Quote:

Originally Posted by aleksandyr (Post 33043)
Some digging is necessary, but I imagine what we'd like is a global hotkeys daemon that deals with non-intercepted button presses, sitting in between the HAF and whatever application has focus. Reconfigure the presses we want to, and let the rest fall through.

Hey you! stay away from this and get back to coding Abiword for the N800! Right now, mister!

Don't make me come over there... :D :D :D :D :D

aleksandyr 2007-02-02 19:44

Re: Proposal for an applet
 
My laptop was stolen the day I stayed home to wait for my N800 (ironic, eh?) so give me a little time here :P

Karel Jansens 2007-02-02 20:40

Re: Proposal for an applet
 
Quote:

Originally Posted by aleksandyr (Post 33063)
My laptop was stolen the day I stayed home to wait for my N800 (ironic, eh?) so give me a little time here :P

Aren't you glad now I proposed a financial support system for Meamo developers? :D

Seriously: Sorry to hear that.

aleksandyr 2007-02-02 21:13

Re: Proposal for an applet
 
I'm mostly annoyed about the vanished source ;) it was a work laptop and as such is just a speed bump.

AbiWord 2.5.0 without hildonization is currently working (obviously you'll need a BT keyboard for this one) and I am in the process of tracking down the fabled word import bug.


All times are GMT. The time now is 09:28.

vBulletin® Version 3.8.8