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)

F2thaK 2012-12-17 11:38

Re: [Announce] Extended Power Menu for Harmattan
 
Crap. I forgot to mention I have double press to unlock, is this why its not working for me?

coderus 2012-12-17 11:43

Re: [Announce] Extended Power Menu for Harmattan
 
@MohammadAG i think
Code:

sed -i -e "s/end script/    start extended-power-menu\nend script/" /etc/init/group-mce.conf
can solve it ;)
Code:

sed -e "/^    start extended-power-menu/d" /etc/init/group-mce.conf > /etc/init/group-mce.conf
for restoring

@F2thaK it took some time to autostart. and defaul behaviour is double tap on power key. but if you modifyed mce.ini with tweaks you should restore PowerKey action

wout.martens 2012-12-17 12:12

Re: [Announce] Extended Power Menu for Harmattan
 
dont know why but it doesnt work for me.
Double press nor long press. looking forward to the update to 0.2

thedead1440 2012-12-17 12:38

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

Originally Posted by wout.martens (Post 1305341)
dont know why but it doesnt work for me.
Double press nor long press. looking forward to the update to 0.2


If you have anything that inhibits power button you can face the issue for example, n9-button-monitor if its set to monitor power button... Check your /etc/mce/mce.ini and see what's the values for power key double press; it should match as below:

Code:

PowerKeyDoubleAction=dbus-signal-powerkey_double_ind

koe 2012-12-17 14:37

Re: [Announce] Extended Power Menu for Harmattan
 
MohammadAG, thanks, man!
one thing: can you put menu's dialog text in config file, so everyone can change and localize it? it is not critically needed, off course, but it would be nice feature.

MohammadAG 2012-12-17 14:46

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

Originally Posted by coderus (Post 1305333)
@MohammadAG i think
Code:

sed -i -e "s/end script/    start extended-power-menu\nend script/" /etc/init/group-mce.conf
can solve it ;)
Code:

sed -e "/^    start extended-power-menu/d" /etc/init/group-mce.conf > /etc/init/group-mce.conf
for restoring

@F2thaK it took some time to autostart. and defaul behaviour is double tap on power key. but if you modifyed mce.ini with tweaks you should restore PowerKey action

S 15 com.nokia.maemo H 40 c7e50f2be6c5361377682c58e066269649be275b A 0 0 33188 P 15 system-services R 23 etc/init/group-mce.conf
group-mce.conf seems to be in refhashlist, meaning it might cause a MALF if edited

MaddogG 2012-12-17 16:06

Re: [Announce] Extended Power Menu for Harmattan
 
If possible, could you please add the "Beep" profile? Thank you in advance.

coderus 2012-12-17 16:07

Re: [Announce] Extended Power Menu for Harmattan
 
@MohammadAG you can use refhashlist.pl or my shell script:
Code:

#!/bin/sh

line=$(grep "etc/init/group-mce.conf" /var/lib/aegis/refhashlist)
oldsha1=$(for ii in $(sha1sum /etc/init/group-mce.conf); do echo $ii; break; done)
#MAKE ACTIONS WITH /etc/init/group-mce.conf
newsha1=$(for ii in $(sha1sum /etc/init/group-mce.conf); do echo $ii; break; done)
newline=$(echo ${line} | sed -e "s/${oldsha1}/${newsha1}/")
sed -i -e "s@${line}@${newline}@" /var/lib/aegis/refhashlist
accli -c tcb-sign -F /var/lib/aegis/refhashlist < /var/lib/aegis/refhashlist


kb61 2012-12-18 04:16

Re: [Announce] Extended Power Menu for Harmattan
 
How can i uninstall this mod?
it doesnt allow me to uninstall from program list, it tells me that it cant uninstall because applicatiin is still running.
but i really dont like the delay now when locking the device, takes a sec longer after hitting power button.

efion 2012-12-18 06:53

Re: [Announce] Extended Power Menu for Harmattan
 
just a cosmetic suggestion, would anyone made the icons match to the harmattan's icons?

superb job anyway


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

vBulletin® Version 3.8.8