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)

MyopicWorm 2012-07-24 03:01

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Yup, It doesn't work on PR1.3

wolke 2012-07-24 03:03

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
it works fine for me on openkernel pr1.3

Burlone 2012-07-28 12:02

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
I 've installed but I do not work, what are the reasons?thanks

abuli 2012-07-30 21:22

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Any progress?

DeeGee 2012-08-06 05:48

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

Originally Posted by admiral0 (Post 1195751)
Well, i know what probably happened. You had lpsmagic installed when upgrading to PR1.2 and probably done somw funky stuff when upgrading to 1.4.1.

So now your backup is from pr 1.1

Replace /usr/share/themes/base/meegotouch/libsysuid-screenlock-nokia/style/libsysuid-screenlock-nokia.css with contents of http://pastebin.com/PKGZrTDB after uninstalling lpsmagic.

Restart and enjoy. hopefully 2.0 will solve this issue forever.

So that pastebin link is dead and anyway i'm running 1.3... So could some kind soul upload their libsysuid-screenlock-nokia.css (from pr1.3) here or pastebin. Had the alarm broken and tried removing the file from the base folder and that of course is bad idea. Then tried reinstalling lpsmagic 1.4.1 and the phone booted while installing. Would like to avoid reflashing or something as extreme...

[edit] Installed backup for pr1.2 from here, that fixed the lock screen at least. But I think there was something different on the 1.3 version, so it would be nice if someone uploaded that.

Jaracz 2012-08-09 19:13

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Is there any chance for a working version of lpsmagic for PR 1.3?

Many thanks in advance!

Best Regards,

Jaracz

wolke 2012-08-09 19:22

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

Originally Posted by Jaracz (Post 1249735)
Is there any chance for a working version of lpsmagic for PR 1.3?

Many thanks in advance!

Best Regards,

Jaracz

my deb works completely fine on pr1.3 with openmode; maybe you should go to openmode while you wait

razcampagne 2012-08-12 03:09

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

After a clean install of PR1.3, lpsmagic wasn't working.
I did a bit of investigations (namely, running lpsmagic from the terminal), and I got a font error.

The program is looking for a font named "NokiaPureTextRegEuro.ttf", but the one in my system is named "NokiaPureTextTRegEuro.ttf" (notice the T between Text and Reg?)

I just needed to edit /usr/bin/lpsmagic to look for the right font, and it is now working.

admiral0 2012-08-12 09:21

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Be careful as editing it can put your device in MALF

aglio 2012-08-18 22:06

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

Originally Posted by MyopicWorm (Post 1241970)
Yup, It doesn't work on PR1.3


same thing here. i upgraded to pr1.3 and lpsmagic does not work. screen so empty now.
hope there ll be a fix soon

Hacker 2012-08-18 22:34

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

Originally Posted by razcampagne (Post 1250711)
Hi,

After a clean install of PR1.3, lpsmagic wasn't working.
I did a bit of investigations (namely, running lpsmagic from the terminal), and I got a font error.

The program is looking for a font named "NokiaPureTextRegEuro.ttf", but the one in my system is named "NokiaPureTextTRegEuro.ttf" (notice the T between Text and Reg?)

I just needed to edit /usr/bin/lpsmagic to look for the right font, and it is now working.

Are you saying that you are running PR 1.3 in normal mode (NOT Safe Mode) and lpsmagic is running fine because you changed the font? Please confirm how you found which font was in your system after you updated to PR1.3. What command did you run? Did you use nano to edit the /usr/bin/lpsmagic file? Do you remember about how many places the file had to have the font named changed?

Have you had any trouble since making the changes you made?

admiral0 2012-08-19 13:18

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
As soon as i get my n9 (it's @ nokia care atm) i'll update. If anyone makes a deb/patch whatever i'll update.

n9(00) 2012-08-19 14:30

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
I've managed to upset Aegis, but recovered.
An alternative is to duplicate the required font and give it the wanted name ie.:
prompt>cd /usr/share/fonts/nokia/Nokia%20Pure/Tabular/
prompt>cp NokiaPureTextTRegEuro.ttf NokiaPureTextRegEuro.ttf

Cheers

noetus 2012-08-19 15:31

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Good, I got it working on PR 1.3 with that hint, thanks.

However:

(1) Why are the date formats hardcoded in, with only two options? Why not respect the device settings for date format?

(2) Could you add a way to change the colour of the text/icons? I changed my clock to cyan, and all my other icons to match, but it doesn't match the white text/icons of ipsmagic, so I had to changeeverything back to white.

jjaone 2012-08-20 19:00

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

Originally Posted by n9(00) (Post 1253514)
I'
An alternative is to duplicate the required font and give it the wanted name ie.:
prompt>cd /usr/share/fonts/nokia/Nokia%20Pure/Tabular/
prompt>cp NokiaPureTextTRegEuro.ttf NokiaPureTextRegEuro.ttf

Cheers

Thanks for the work-around, now I have a very userful info on the lp-screen, once again. :cool:

Cheers, while waiting for a real update of the software with some of the here proposed enhancements etc..

Jaracz 2012-08-21 04:40

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

Originally Posted by n9(00) (Post 1253514)
I've managed to upset Aegis, but recovered.
An alternative is to duplicate the required font and give it the wanted name ie.:
prompt>cd /usr/share/fonts/nokia/Nokia%20Pure/Tabular/
prompt>cp NokiaPureTextTRegEuro.ttf NokiaPureTextRegEuro.ttf

Cheers

Thanx! It works like a charm :)

Best Regards,

Jaracz

aglio 2012-08-21 22:00

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

Originally Posted by n9(00) (Post 1253514)
I've managed to upset Aegis, but recovered.
An alternative is to duplicate the required font and give it the wanted name ie.:
prompt>cd /usr/share/fonts/nokia/Nokia%20Pure/Tabular/
prompt>cp NokiaPureTextTRegEuro.ttf NokiaPureTextRegEuro.ttf

Cheers

excellent job. Works great and my screen is normal again.

thanks a lot.

kskoda 2012-08-22 07:20

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

Originally Posted by n9(00) (Post 1253514)
I've managed to upset Aegis, but recovered.
An alternative is to duplicate the required font and give it the wanted name ie.:
prompt>cd /usr/share/fonts/nokia/Nokia%20Pure/Tabular/
prompt>cp NokiaPureTextTRegEuro.ttf NokiaPureTextRegEuro.ttf

Cheers

Works even with:
prompt>ln -s NokiaPureTextTRegEuro.ttf NokiaPureTextRegEuro.ttf

But anyway, thanks! :)

noetus 2012-08-26 11:13

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
It's very nice, but I want to change the colours (e.g. from white to cyan). I thought all I'd need to do is edit this file:

Code:

/opt/Ipsmagic/magiccss
and change all the color declarations, plus edit the icons in /opt/Ipsmagic/icons.

However editing magiccss didn't work to change any of the text colours, although editing the icons did change their colours.

Any ideas?

admiral0 2012-08-26 13:15

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
be careful. Deb makes a backup of the stock css.

Text is generated in the code, so wait for 2.0 to achieve that...

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.

admiral0 2012-09-05 15:58

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Oh, look just posted and my N9 is back from the dead. Tommorrow i'll fetch it from Nokia Care :D

jonnyl 2012-09-06 01:19

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

Originally Posted by admiral0 (Post 1261631)
Oh, look just posted and my N9 is back from the dead. Tommorrow i'll fetch it from Nokia Care :D

Yay :D

This app is the only thing holding me back from PR1.3

God I love a good standby screen. Hell, our screen is off 90% of the time, it might as well be useful!

abuli 2012-09-30 11:44

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
od I love a good standby screen. Hell, our screen is off 90% of the time, it might as well be useful!

admiral0 2012-09-30 18:18

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Solved nasty bug that made me drop lpsmagic in the closet. YAY!

Hacker 2012-10-25 08:22

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
Any word on version 2.0?

lorenzo 2012-11-11 14:05

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
doesn't wrk for me... could it be cause i don't use default theme?

Fallenzone 2012-11-11 14:57

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
is that you are using pr1.2 ?

lorenzo 2012-11-11 15:19

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
i have pr 1.3 and i tried 1.4.1 and 1.81 from wolke

Fallenzone 2012-11-12 09:04

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
lpsmagic only works on pr1.2

wolke 2012-11-12 16:11

Re: [MOD] lpsmagic 1.4.1 - Add useful info to low power screen
 
my 1.81 deb works on pr1.3.
also, 1.4.1 worked for me on an open kernel


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

vBulletin® Version 3.8.8