maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Extended Power Menu for Harmattan (https://talk.maemo.org/showthread.php?t=88280)

lorenzo 2012-12-16 17:40

Re: [Announce] Extended Power Menu for Harmattan
 
i have a problem: the double action of powerkey was assigned to unlock the device and now the string is empty (and if i duoble press it the phone goes in powersaving mode)
what should be written after PowerKeyDoubleAction=?
and is it possible to unlock the device when locked and have powermenu when unlocked
many thanks

MohammadAG 2012-12-16 17:43

Re: [Announce] Extended Power Menu for Harmattan
 
Code:

PowerKeyDoubleAction=dbus-signal-powerkey_double_ind
Same as in Maemo 5 :)

I'll add unlocking the device in the next version.

lorenzo 2012-12-16 18:01

Re: [Announce] Extended Power Menu for Harmattan
 
don't you think it is easyer have
Code:

PowerKeyLongAction=dbus-signal-powerkey_double_ind
PowerKeyDoubleAction=tklock-unlock


MeeNu 2012-12-16 21:33

Re: [Announce] Extended Power Menu for Harmattan
 
Pure Sweet Holy Love <3 - <3

MohammadAG 2012-12-16 22:25

Re: [Announce] Extended Power Menu for Harmattan
 
Quote:

Originally Posted by lorenzo (Post 1305157)
don't you think it is easyer have
Code:

PowerKeyLongAction=dbus-signal-powerkey_double_ind
PowerKeyDoubleAction=tklock-unlock


I actually did that at first (see code), but the fact it starts 2 minutes after bootup means the long press won't do anything for 2 minutes, which might be annoying if the user wishes to power off quickly for some reason.

coderus 2012-12-16 23:49

Re: [Announce] Extended Power Menu for Harmattan
 
just place .conf in /etc/init and add it to group-mce.conf

lorenzo 2012-12-17 06:14

Re: [Announce] Extended Power Menu for Harmattan
 
and a "killall mce" after boot can't be a solution?

MohammadAG 2012-12-17 10:30

Re: [Announce] Extended Power Menu for Harmattan
 
No, mce just sends a signal, /usr/bin/harmattan-power-menu shows the menu and handles the dbus signal.

What coderus posted is a good solution, just need to do a quick script to safely edit mce.ini and group-mce.conf. sed can't cover all possibilities.

F2thaK 2012-12-17 10:48

Re: [Announce] Extended Power Menu for Harmattan
 
I'll post for once and say one thing. Thanks!

Edit: Wait, it didnt work for me after restart even. It comes up exactly how? Pressing power button how many times?

MohammadAG 2012-12-17 11:31

Re: [Announce] Extended Power Menu for Harmattan
 
Double click the power button, this will change to long press in 0.2


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

vBulletin® Version 3.8.8