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)

mousse04 2012-12-19 08:18

Re: [Announce] Extended Power Menu for Harmattan
 
Yes, inception is installed. I used the repo installation version

Garp 2012-12-19 13:56

Re: [Announce] Extended Power Menu for Harmattan
 
Please help!
I can't install the harmattan power menu.

Have installed repository from MohammandAG ending with
Password for 'root':
Package incepted-repo-enabler has package signature (origin 'com.nokia.maemo/local')
(Læser database ... 124247 filer og kataloger installeret i øjeblikket.)
Gør klar til at erstatte incepted-repo-enabler0.2 (med /var/tmp/inception/pkg_rxbRkh)...
Please update your repo lists with apt-get update!
Udpakker erstatning for incepted-repo-enabler...
aegis-installing incepted-repo-enabler (from 'com.nokia.maemo/local')
apt-key: OK
Sætter incepted-repo-enabler (0.2) op...
Please update your repo lists with apt-get update!

~ # apt-get update
Henter:1 exec:////usr/bin/osa --packages
Havde https://downloads.maemo.nokia.com ./ Release.gpg
Havde http://mohammadag.xceleo.org harmattan-incepted Release.gpg
Ignorerer http://mohammadag.xceleo.org harmattan-incepted/free Translation-da
Ignorerer http://mohammadag.xceleo.org harmattan-incepted/non-free Translation-da
Havde http://repo.apps.formeego.org ./ Release.gpg
....................................
...................................
Havde http://mohammadag.xceleo.org harmattan-incepted/free Packages
Ignorerer https://downloads.maemo.nokia.com ./Packages
Havde http://mohammadag.xceleo.org harmattan-incepted/non-free Packages
Havde http://repo.apps.formeego.org ./ Packages
Havde http://harmattan-dev.nokia.com harmattan/sdk/free Packages
Havde http://harmattan-dev.nokia.com harmattan/sdk/non-free Packages
Havde http://repo.apps.formeego.org ./ Packages
Ignorerer https://downloads.maemo.nokia.com ./Packages
Havde http://repo.pub.meego.com ./ Packages
Havde http://repo.pub.meego.com ./ Packages
Fejl http://repo.pub.meego.com ./ Packages
404 Not Found
Ignorerer https://downloads.maemo.nokia.com ./Packages
Ignorerer https://downloads.maemo.nokia.com ./Packages
Havde https://downloads.maemo.nokia.com ./ Packages
Havde https://downloads.maemo.nokia.com ./ Packages
Havde https://downloads.maemo.nokia.com ./ Packages
Hentede 419kB på 9s (46.5kB/s)
W: Kunne ikke hente (could not get) http://repo.pub.meego.com/home:/code...Packages.gz404 Not Found

E: Nogle indeksfiler kunne ikke hentes, de er blevet ignoreret eller de gamle bruges i stedet. (Some indexfiles couln't be received, they were ignored or the old files are used instead)

~ # apt-get install harmattan-power-menu
Indlæser pakkelisterne
Opbygger afhængighedstræ
Læser tilstandsoplysninger... Færdig
Opbygger afhængighedstræ
Læser tilstandsoplysninger... Færdig
harmattan-power-menu er i forvejen den nyeste version. (harmattan-power-menu is already the newest version)
0 opgraderes, 0 nyinstalleres, 0 afinstalleresog 14 opgraderes ikke.
W: Duplicate sources.list entry http://repo.apps.formeego.org ./ Packages (/var/lib/apt/lists/repo.apps.formeego.org_harmattan_apps_._Packages)
W: Duplicate sources.list entry http://harmattan-dev.nokia.com harmattan/sdk/free Packages (/var/lib/apt/lists/harmattan-dev.nokia.com_dists_harmattan_sdk_free_binary-armel_Packages)
W: Duplicate sources.list entry http://harmattan-dev.nokia.com harmattan/sdk/non-free Packages (/var/lib/apt/lists/harmattan-dev.nokia.com_dists_harmattan_sdk_non-free_binary-armel_Packages)
W: Ignoring Provides line with DepCompareOp for package liblablgl-ocaml-dev
W: Ignoring Provides line with DepCompareOp for package librsvg2-bin
W: Ignoring Provides line with DepCompareOp for package libboost-date-time-dev
W: Ignoring Provides line with DepCompareOp for package libboost-dev
W: Ignoring Provides line with DepCompareOp for package libboost-filesystem-dev
W: Ignoring Provides line with DepCompareOp for package libboost-math-dev
W: Ignoring Provides line with DepCompareOp for package libboost-program-options-dev
W: Ignoring Provides line with DepCompareOp for package libboost-regex-dev
W: Ignoring Provides line with DepCompareOp for package libboost-serialization-dev
W: Duplicate sources.list entry http://repo.pub.meego.com ./ Packages (/var/lib/apt/lists/repo.pub.meego.com_home:_rzr:_harmattan_MeeGo%5f1. 2%5fHarmattan%5fMaemo.org%5fMeeGo%5f1.2%5fHarmatta n%5fstandard_._Packages)
W: Du kan muligvis rette problemet ved at køre'apt-get update' (possible you can correct the problem by running apt-get update)
~ #

I tried running apt-get update once more and reinstall the power-menu again but same result ??:confused:

thedead1440 2012-12-19 14:24

Re: [Announce] Extended Power Menu for Harmattan
 
Garp,

try disabling Rzr's shared repo, apt-get update then apt-get install harmattan-power-menu...

coderus 2012-12-19 14:50

Re: [Announce] Extended Power Menu for Harmattan
 
@Garp but your log says:
harmattan-power-menu er i forvejen den nyeste version. (harmattan-power-menu is already the newest version)
just reboot and enjoy app.
@mousse04 and you incepted repo enabler? download package and incept it then.

Garp 2012-12-19 15:17

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

Originally Posted by thedead1440 (Post 1306074)
Garp,

try disabling Rzr's shared repo, apt-get update then apt-get install harmattan-power-menu...

Thanks! Tried to remove rzr repo by N9 QTweak II and then tried to remove all exstra repo - but it didn't help:confused:

Oh .... had already MohammandAG repo installed by N9 QTweak and now removed - will add again!

thedead1440 2012-12-19 15:21

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

Originally Posted by Garp (Post 1306085)
Thanks! Tried to remove rzr repo by N9 QTweak II and then tried to remove all exstra repo - but it didn't help:confused:

Oh .... had already MohammandAG repo installed by N9 QTweak and now removed - will add again!

Did you see coderus' post? You already have it installed so do a reboot and it'll work...

mousse04 2012-12-19 15:24

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

Originally Posted by coderus (Post 1306082)
@Garp but your log says:
harmattan-power-menu er i forvejen den nyeste version. (harmattan-power-menu is already the newest version)
just reboot and enjoy app.
@mousse04 and you incepted repo enabler? download package and incept it then.

I finally download the .deb file and incept it. But let me understand, how to install via MohammadAG repo? Because I'v just done what he said and as I said earlier it doesn't work

Garp 2012-12-19 15:40

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

Originally Posted by coderus (Post 1306082)
@Garp but your log says:
harmattan-power-menu er i forvejen den nyeste version. (harmattan-power-menu is already the newest version)
just reboot and enjoy app.
@mousse04 and you incepted repo enabler? download package and incept it then.

Thanks! Have reebooted. Yes you are right I can see it in setting>app>adm.app as Extended power menu (looked for Harmattan!) - saying Double click power button for more options!, but it does not work?:confused:

thedead1440 2012-12-19 16:02

Re: [Announce] Extended Power Menu for Harmattan
 
Garp you mean double-clicking the power button doesn't bring the menu? o.O It has a 500ms delay so maybe you are slightly slow in the double-clicking if it only locks the screen instead of the menu appearing...

Garp 2012-12-19 16:57

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

Originally Posted by thedead1440 (Post 1306100)
Garp you mean double-clicking the power button doesn't bring the menu? o.O It has a 500ms delay so maybe you are slightly slow in the double-clicking if it only locks the screen instead of the menu appearing...

Sorry no matter what I do nothing happens by the double click (only boot if too slow!):(

Double click from the Standby screen however makes the next (wallpaper/background) screen which normally only last a few (5-10) seconds (before going back to the standby screen) now standing as long as the (3) homescreens meaning 1minute or so.

coderus 2012-12-19 17:29

Re: [Announce] Extended Power Menu for Harmattan
 
@Garp you should read topic from first post to the end and found solution for manual fixing this problem.

lorenzo 2012-12-19 18:52

Re: [Announce] Extended Power Menu for Harmattan
 
5 Attachment(s)
new images!! hope you like it :D
i added the one for beep profile if mag will add this option ;)

nbedford 2012-12-19 19:12

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

Originally Posted by lorenzo (Post 1306141)
new images!! hope you like it :D
i added the one for beep profile if mag will add this option ;)

I dont like the red X on the silent icon, I think it would be better with just grey colour and remove the sound bars coming out of speaker...

Just my thoughts

lorenzo 2012-12-19 19:12

Re: [Announce] Extended Power Menu for Harmattan
 
2 Attachment(s)
maybe it's better green too the other one

evujumenuk 2012-12-19 19:17

Re: [Announce] Extended Power Menu for Harmattan
 
You could get rid of the red cross-out and insert a speech bubble saying "..." ;)

It's a common visual idiom in East Asia (China, Japan, Korea)

Regarding the extended power menu itself: with a PSM switcher this would be damn near perfect, only a flight mode toggle could even improve on that... :)

Garp 2012-12-19 20:45

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

Originally Posted by coderus (Post 1306120)
@Garp you should read topic from first post to the end and found solution for manual fixing this problem.

OK I have done and I have tried to make both changes:
1) in /etc/mce/mce.ini change PowerKeyDoubleAction=dbus-signal-powerkey_double_ind
2) in terminal devel-su pass
sed -i -e "s/end script/ start extended-power-menu\nend script/" /etc/init/group-mce.conf

And it seems to work.:)
Only problem is that I do'nt know eactly what I'm doing!:o
But 1) wasn't enough then I made 2) too - and now I don't know if 2) was enough?
And really it works so maybe I shouldn't care!
Thanks for helping!

thedead1440 2012-12-20 02:42

Re: [Announce] Extended Power Menu for Harmattan
 
Garp,

You did the edit of group-mce.conf? Now whatever happens DON'T REBOOT your phone!

If you are not in open mode the change in sha1sums has made the refhashlist conflict and your phone won't work after a reboot...

You need to resign refhashlist; however before you do so post here with the following 2 commands from terminal as root:

Code:

sha1sum /etc/init/group-mce.conf
cat /var/lib/aegis/refhashlist | grep group-mce.conf

If both the sha1sum values don't match you would need to re-sign usig coderus' method 2 pages ago...

shawnfd 2012-12-20 04:06

Re: [Announce] Extended Power Menu for Harmattan
 
I've a small suggestion: adding a screenshot function to this software would make it perfect.

coderus 2012-12-20 05:45

Re: [Announce] Extended Power Menu for Harmattan
 
@shawnfd app likes to screenshot self? lol =)

Garp 2012-12-20 08:17

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

Originally Posted by thedead1440 (Post 1306218)
Garp,

You did the edit of group-mce.conf? Now whatever happens DON'T REBOOT your phone!

If you are not in open mode the change in sha1sums has made the refhashlist conflict and your phone won't work after a reboot...

You need to resign refhashlist; however before you do so post here with the following 2 commands from terminal as root:

Code:

sha1sum /etc/init/group-mce.conf
cat /var/lib/aegis/refhashlist | grep group-mce.conf

If both the sha1sum values don't match you would need to re-sign usig coderus' method 2 pages ago...

Thank you for your help and warning!:)
I'm in open mode (installed NITdroid) and as well Incept.
I have reebooted at least once last evening!
Do I then still need to do the above commands?
Or can I do it without problem just to make sure?

thedead1440 2012-12-20 08:18

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

Originally Posted by Garp (Post 1306269)
Thank you for your help and warning!:)
I'm in open mode (installed NITdroid) and as well Incept.
I have reebooted at least once last night!
Do I then still need to do the above commands?
Or can I do it without problem just to make sure?

Ah open mode then you are safe ;) You won't have issues as long as you are in open mode :D

Garp 2012-12-20 08:27

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

Originally Posted by thedead1440 (Post 1306270)
Ah open mode then you are safe ;) You won't have issues as long as you are in open mode :D

Pyh then I will mop my brow and go eating my breakfast!
Thanks for the warning again!:)

praveenchand 2012-12-20 08:40

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

Originally Posted by mousse04 (Post 1306090)
I finally download the .deb file and incept it. But let me understand, how to install via MohammadAG repo? Because I'v just done what he said and as I said earlier it doesn't work

Same question....i tried to install via repo, successfully installed but power and rebood didnt work. Repo is incepted too.....Now i downloaded .deb file and incept it. Worked!

shawnfd 2012-12-20 16:22

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

Originally Posted by coderus (Post 1306239)
@shawnfd app likes to screenshot self? lol =)

hey coderus, the screenshot function I suggested seems to be similiar with the long press pop-up menu in Android 4.0, with several options.

Dont tell me you think its not convenient...:D

coderus 2012-12-20 17:19

Re: [Announce] Extended Power Menu for Harmattan
 
i never saw screenshot feature in android power menu. maybe it specific for some firmwares?

munozferna 2012-12-20 19:55

Re: [Announce] Extended Power Menu for Harmattan
 
I think he means the Home buttom + Power menu combo on Android and IOS to take screenshots. But we don't have a Home Button here :P

shawnfd 2012-12-21 05:10

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

Originally Posted by coderus (Post 1306417)
i never saw screenshot feature in android power menu. maybe it specific for some firmwares?

Guys your are right, my android device's ROM is customed.

Obviously, it's awesome without press 'home'

coderus 2012-12-21 07:07

Re: [Announce] Extended Power Menu for Harmattan
 
Sorry, i just can't realize how it works then. Explain, please.

shawnfd 2012-12-21 08:01

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

Originally Posted by coderus (Post 1306520)
Sorry, i just can't realize how it works then. Explain, please.

Forgive my poor English..... I hope this app works so simply that one long press(instead of double press) of power button will pop-up the menu.

And the menu has a screenshot option. You know, common android device use key PowerButton+HomeButton combo to achieve that.

As far as I could see, the Extended Power Menu could add a icon on the pop-up menu, when user press the icon, it will save the screen content the user want into the photo gallery.

I'm not sure whether I made myself clear, forgive my poor english again....:D

coderus 2012-12-23 04:13

Re: [Announce] Extended Power Menu for Harmattan
 
@MohammadAG i finished refhasllist patcher shell script
Code:

#!/bin/sh
#refhashlist patcher

cp /var/lib/aegis/refhashlist /var/lib/aegis/refhashlist.backup

pathname=$1
if [ "$pathname" == "" ];then exit 1; fi

line=$(grep "${pathname}" /var/lib/aegis/refhashlist)
#oldsha1=$(for ii in $(sha1sum /${pathname}); do echo $ii; break; done) #тут был реальный sha1 текущего файла
oldsha1=$(i=0; for ii in $line; do i=$((i+1)); if [ $i -eq 6 ]; then echo $ii; break; fi; done;) #но лучше брать sha1 из refhashlist, чтобы не накосячить наверняка
newsha1=$(for ii in $(sha1sum "/${pathname}"); 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

usage:
Code:

#do something with something (with /etc/init/group-mce.conf)
refhashlist.sh etc/init/group-mce.conf #without first slash!


lebanez 2013-01-04 12:06

Re: [Announce] Extended Power Menu for Harmattan
 
Fetched 986kB in 24s (39.9kB/s)
Updating desktop entries... Done
Reading package lists... Done
~ # apt-get install harmattan-power-menu
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package harmattan-power-menu
~ #

what i can do to solve this ????

lebanez 2013-01-04 12:08

Re: [Announce] Extended Power Menu for Harmattan
 
aegis rejecting harmattan-power-menu_0.1_armel.deb: Could not open debian archive
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
~ #


whyyy !!

coderus 2013-01-04 14:25

Re: [Announce] Extended Power Menu for Harmattan
 
where your logs starts? why you posting only ends? :D

lebanez 2013-01-04 16:07

Re: [Announce] Extended Power Menu for Harmattan
 
BusyBox v1.20.0.git (MeeGo 3:1.20-0.2+0m8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ # wget http://mohammadag.xceleo.org/n9incepte
drepo/pool/free/h/harmattan-power-menu/harmatta
n-power-menu_0.1_armel.deb
sh: wget: not found
~ # export AEGIS_FIXED_ORIGIN=com.nokia.maemo
~ # dpkg -i harmattan-power-menu_0.1_armel.deb
Aegis rejecting harmattan-power-menu_0.1_armel.deb: Could not open debian archive
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
~ #

coderus 2013-01-04 16:15

Re: [Announce] Extended Power Menu for Harmattan
 
wget: not found
install wget first

lebanez 2013-01-04 16:32

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

Originally Posted by coderus (Post 1310893)
wget: Not found
install wget first

how !!!!!!!!!!!!!!!

lorenzo 2013-01-04 16:45

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

Originally Posted by lebanez (Post 1310900)
how !!!!!!!!!!!!!!!

http://maemo-archive.wedrop.it/downl...sso3_armel.deb

bnwg 2013-01-04 16:50

Re: [Announce] Extended Power Menu for Harmattan
 
Could screenshot be possible in the selection from the power menu as well?

coderus 2013-01-04 17:35

Re: [Announce] Extended Power Menu for Harmattan
 
@lebanez settings-security-developer mode-utilities

Kroll 2013-01-06 20:11

Re: [Announce] Extended Power Menu for Harmattan
 
Hello MohammadAG
Nice application, thank you.

left icon is for turning off vibrating?

Bug:
If I press one time power button to light up the screen and then press this button again two times it will sometimes open up a menu and sometimes not.

Why it opens a menu if device was not unlocked by swiping image from the side to the side?


All times are GMT. The time now is 21:21.

vBulletin® Version 3.8.8