maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [MOD] lpsmagic 1.4.1 - Add useful info to low power screen (https://talk.maemo.org/showthread.php?t=81923)

diegus68 2012-08-29 15:25

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
by mistake I installed <PR1.2 version :mad:
Do I need to uninstall it? :confused:
Can I install the newest version over this? :rolleyes:

diegus68 2012-08-29 16:44

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
I couldnt wait. I reinstalled the new version over the <PR1.2 version and everything seems to be ok.
One question, the app overrides my weather meecast icon
Is there any way to combine both applications?

abuli 2012-08-29 21:51

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Quote:

Originally Posted by diegus68 (Post 1257329)
I couldnt wait. I reinstalled the new version over the <PR1.2 version and everything seems to be ok.
One question, the app overrides my weather meecast icon
Is there any way to combine both applications?

:confused:

is there a 1.3 version?

wolke 2012-08-29 21:59

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Quote:

Originally Posted by abuli (Post 1257584)
:confused:

is there a 1.3 version?

no, although there could easily be one. id compile and post it if i could test it; the current version works fine for me on pr1.3.

the poster above installed the version that was for 'less than pr1.2', and then installed the most recent version.

wolke 2012-09-04 01:30

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
in case anyones interested, the deb im using is here:
https://github.com/teleshoes/n9-conf...1.81_armel.deb

and heres my ~/.lpsmagic:
https://github.com/teleshoes/n9-conf...er%25.lpsmagic
{klomp-lps is a script for my music player}

this includes a lot of extremely pre-alpha 2.0 stuff that im sure will be removed or largely changed, so id suggest not using it. i also have NO idea if it works on closed mode pr1.3.

i hacked in bad versions of 2 features:
1) "lpsmagic -once" to paint the image, update the gconf key, and exit. this should be done with signals or dbus, but that sort of stuff is for 2.0.

2) i also added a %cmd{} shell command thing for printing the first line of shell command STDOUTs

{EDIT: source for my changes: https://github.com/teleshoes/lpsmagic }

kibet85 2012-09-04 06:59

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Quote:

Originally Posted by wolke (Post 1260608)
in case anyones interested, the deb im using is here:
https://github.com/teleshoes/n9-conf...1.81_armel.deb

and heres my ~/.lpsmagic:
https://github.com/teleshoes/n9-conf...er%25.lpsmagic
{klomp-lps is a script for my music player}

this includes a lot of extremely pre-alpha 2.0 stuff that im sure will be removed or largely changed, so id suggest not using it. i also have NO idea if it works on closed mode pr1.3.

i hacked in bad versions of 2 features:
1) "lpsmagic -once" to paint the image, update the gconf key, and exit. this should be done with signals or dbus, but that sort of stuff is for 2.0.

2) i also added a %cmd{} shell command thing for printing the first line of shell command STDOUTs

{EDIT: source for my changes: https://github.com/teleshoes/lpsmagic }


installed ths version bt no display,,,,i hv nitdroid,,,,,,,installed,,,,could it be an issue,,,

wolke 2012-09-04 18:00

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
you need an lpsmagic config file at
/home/user/.lpsmagic

e.g.:
Code:

[General]
DefaultBackground=@Variant(\0\0\0\x43\x1\0\0\0\0\0\0\0\0\0\0)
DefaultFont=@Variant(\0\0\0@\0\0\0\x16\0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s@8\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\0\x10)
DefaultForeground=@Variant(\0\0\0\x43\x1\xff\xff\x00\x00\xff\xff\x00\x00\0\0)
HorizontalSpacing=2
Tickless=false
VerticalSpacing=1
formatString=\
  %batIcon{} %batPercent{%} %icon{gear.png} %batCurrent{mA} %icon{calendar.png} %date{MM/dd} %newline{}\
  %cmd{top -n1 | grep CPU:} %newline{}\
minWaitTime=0
maxWaitTime=30
heartbeatDelta=5

[LowPowerScreen]
ImageHeight=110
ImageWidth=450


kibet85 2012-09-04 21:31

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
hi wolke...kindly show me how to create the config file...

wolke 2012-09-04 21:52

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
put that file in MyDocs, call it lpsmagic.txt
open a terminal and run

mv MyDocs/lpsmagic.txt .lpsmagic

type it carefully..

ALSO: i strongly suspect you should wait until 2.0. this piece of hack is just what im doing in the meantime, so i thought id share; its unsupported by admiral0 or by me, and i wouldnt recommend it to anyone who wouldnt feel perfectly comfortable with modifying a config text file routinely, or to anyone at all, really.

admiral0 2012-09-05 08:26

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
My N9 is still MIA somewhere in Milan...

wolke's deb is based on my prealpha code with some fixes.


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

vBulletin® Version 3.8.8