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)

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...


All times are GMT. The time now is 00:39.

vBulletin® Version 3.8.8