![]() |
[Announce] Extended Power Menu for Harmattan
Inception or open mode required!
Longing for Android? Probably not... :p In any case, this is inspired from Android's power menu. http://i.imgur.com/oRgGC.png You can install easily if you have my repository installed: http://talk.maemo.org/showthread.php?t=85438 Code:
devel-su #enter pass or you can either use the direct deb and incept it (no support in installation problems!) Code:
wget http://mohammadag.xceleo.org/n9inceptedrepo/pool/free/h/harmattan-power-menu/harmattan-power-menu_0.1_armel.deb Code:
devel-su #enter pass This will auto-start 2 minutes after boot-up, a limitation in Harmattan's upstart (I'll see if it can be bypassed). Source on Github: https://github.com/harmattan/extended-power-menu Thanks to _JKay_ from xda-developers for the profile icons (borrowed them from JKay Framework) Donate: https://www.paypalobjects.com/en_US/...onateCC_LG.gif |
Re: [Announce] Extended Power Menu for Harmattan
Thank you so much for this.. for this.. awesomeness =)
|
Re: [Announce] Extended Power Menu for Harmattan
Is there any reason one would want to restart the homescreen?
(Not trolling, I really don't know :)) |
Re: [Announce] Extended Power Menu for Harmattan
Quote:
|
Re: [Announce] Extended Power Menu for Harmattan
What defines the maximum time between clicks in a double click?
|
Re: [Announce] Extended Power Menu for Harmattan
Thanks MAG for this awesomeness :)
|
Re: [Announce] Extended Power Menu for Harmattan
Quote:
Restart mce after changing the value. Restarting MeeGoTouchHome is similar to Hot boot in Android. Most apps are bootstrapped to MeeGoTouchHome, so killing it will kill those apps, and of course, as mentioned, it's a quick way to reload resources. |
Re: [Announce] Extended Power Menu for Harmattan
...this is awesome.... thx a lot!
|
Re: [Announce] Extended Power Menu for Harmattan
Add the possibility of navigating through the volume buttons and the phone app!
|
Re: [Announce] Extended Power Menu for Harmattan
Nice job MAG and...welcome back !! ;)
|
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 |
Re: [Announce] Extended Power Menu for Harmattan
Code:
PowerKeyDoubleAction=dbus-signal-powerkey_double_ind I'll add unlocking the device in the next version. |
Re: [Announce] Extended Power Menu for Harmattan
don't you think it is easyer have
Code:
PowerKeyLongAction=dbus-signal-powerkey_double_ind |
Re: [Announce] Extended Power Menu for Harmattan
Pure Sweet Holy Love <3 - <3
|
Re: [Announce] Extended Power Menu for Harmattan
Quote:
|
Re: [Announce] Extended Power Menu for Harmattan
just place .conf in /etc/init and add it to group-mce.conf
|
Re: [Announce] Extended Power Menu for Harmattan
and a "killall mce" after boot can't be a solution?
|
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. |
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? |
Re: [Announce] Extended Power Menu for Harmattan
Double click the power button, this will change to long press in 0.2
|
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?
|
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 Code:
sed -e "/^ start extended-power-menu/d" /etc/init/group-mce.conf > /etc/init/group-mce.conf @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 |
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 |
Re: [Announce] Extended Power Menu for Harmattan
Quote:
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 |
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. |
Re: [Announce] Extended Power Menu for Harmattan
Quote:
group-mce.conf seems to be in refhashlist, meaning it might cause a MALF if edited |
Re: [Announce] Extended Power Menu for Harmattan
If possible, could you please add the "Beep" profile? Thank you in advance.
|
Re: [Announce] Extended Power Menu for Harmattan
@MohammadAG you can use refhashlist.pl or my shell script:
Code:
#!/bin/sh |
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. |
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 |
Re: [Announce] Extended Power Menu for Harmattan
2 Attachment(s)
Quote:
/usr/share/extended-power-menu/icons |
Re: [Announce] Extended Power Menu for Harmattan
Hello ! Thank you for the very good work !
Unfortunately I can't install it without errors. When I try to install it as you say I get a the end of the process, just after "updating desktop entries... Done" : Code:
Duplicate sources.list entry http://repo.apps.formeego.org ./ Packages (/var/lib/apt/lists/repo.apps.formeego.org_harmattan_apps_._Packages) |
Re: [Announce] Extended Power Menu for Harmattan
bouznak,
If you get the "updating desktop entries... Done" message after doing the installation it means it has already been installed. Or do you mean you get this after doing apt-get update? It would be better to post full logs... Anyway you seem to have duplicate entries which can be deleted from /etc/apt/sources.list.d/ while these errors shouldn't affect the update of MAG's repo and installation of harmattan-power-menu... |
Re: [Announce] Extended Power Menu for Harmattan
Thank you thedead.
I've these errors at the end of the installation process, not by doing apt-get update. I was thinking that they didn't affect the installation but Harmattan Power Menu don't work on my device. I try to press the power key two times but nothing happen. I don't have any mod on this key... :( |
Re: [Announce] Extended Power Menu for Harmattan
Quote:
Maybe there is an error there that is preventing it from working... Also did you try it after a reboot; although the postinst script restarts mce maybe it didn't for you so a reboot should prove it too... |
Re: [Announce] Extended Power Menu for Harmattan
Check PowerKeyDoubleAction in /etc/mce/mce.ini, it should be dbus-signal-powerkey_double_ind. If not, change it.
0.2 won't be soon, I MALFd my N9 trying to make /etc/init work, and so far I can't fix it (reflashing is a last resort). |
Re: [Announce] Extended Power Menu for Harmattan
Thank you for your help guys.
It works now but I don't know what tip has done something. I've deleted repos and I've edited mce.ini but this one had already the line dbus-signal-powerkey_double_ind for PowerKeyDoubleAction. But there was a line just below with "PowerKeyDoubleAction=" so I've written again after the "=" dbus-signal-powerkey_double_ind. Then I've tried to uninstall and reinstall the app, rebooted the phone and finally it works. Thank you again ! :) |
Re: [Announce] Extended Power Menu for Harmattan
first line commented with # and not active
|
Re: [Announce] Extended Power Menu for Harmattan
Hi all,
I've just installed this great apps, and when I double tap on power button the menu arrives. So changing sound and vibration work but clicking on reboot or power off etc ...don't work. Any clues why it doesn't work as expected? |
Re: [Announce] Extended Power Menu for Harmattan
inception?
|
All times are GMT. The time now is 08:08. |
vBulletin® Version 3.8.8