maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   [UPDATE] System Info and date on standby screen - V1.1 IS OUT NOW! (https://talk.maemo.org/showthread.php?t=81798)

admiral0 2012-01-24 15:37

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by aRTee (Post 1154992)
Thanks a lot guys!!

just a few quick comments:
please correct the first post, for the filename section to change, it says ...operatorlo go with a space too many

I can't touch first post :P
Quote:

Originally Posted by aRTee (Post 1154992)
reboot, why? That can be done with a command, which I can't find just now... same can be used to get the system to accept the font colour change of the digital clock.

Code:

/sbin/reboot
Rebooting from a deb is not nice. Simply application won't autostart until next boot.

Quote:

Originally Posted by aRTee (Post 1154992)
The .deb should probably have that command as prerm:
gconftool-2 --unset /desktop/meego/screen_lock/low_power_mode/operator_logo

Will add in next version, but after a reboot the thingie disappears.

Quote:

Originally Posted by aRTee (Post 1154992)
As I mentioned elsewhere on this forum about the pentile screen, green has full resolution (i.e. you can go the smallest on fonts and graphic details), red the lowest power consumption. Just something to be aware of.

Hmm. Will probably use that in c++ version
Quote:

Originally Posted by aRTee (Post 1154992)
I'm looking forward to seeing a combined app with options for quotes, system info, whatnot. And please don't forget battery level dependent text colour! :P

Yes, that was already in the plans, but python-imaging fails to colorize image.

damaltor 2012-01-24 15:39

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
You do NOT have to uninstall the manually installed version first.


Quote:

Originally Posted by aRTee (Post 1154992)
Thanks a lot guys!!

just a few quick comments:
please correct the first post, for the filename section to change, it says ...operatorlo go with a space too many
Will do. *see comment below this quote box
reboot, why? That can be done with a command, which I can't find just now... same can be used to get the system to accept the font colour change of the digital clock.
Cant find it either. Reboot simply does work :D

The .deb should probably have that command as prerm:
gconftool-2 --unset /desktop/meego/screen_lock/low_power_mode/operator_logo
YES.

As I mentioned elsewhere on this forum about the pentile screen, green has full resolution (i.e. you can go the smallest on fonts and graphic details), red the lowest power consumption. Just something to be aware of.
This is a tradeoff. Get more info on screen, by using a bit more energy. admiral0 and I agreed that white would look best. As a live recoloring of the icons is not that easy, we left it at one color. User selectable color is something that would be nice though.

I'm looking forward to seeing a combined app with options for quotes, system info, whatnot. And please don't forget battery level dependent text colour! :P
We want to have the battery icon recolored, because changing the whole text color seems awkward for only telling you that your battery is low.

*i have no idea why there is a space. There is no space when i edit the post. i even tried to delete the whole line and retype it by hand. for some reason, tmo makes a space there. sorry :(

mousse04 2012-01-24 16:03

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by damaltor (Post 1154864)
Battery consumption is a bit higher due to more OLEDs glowing in standby mode.

You would have to resize the image in the css file mentioned in the first post, shat should already be all I guess. try 45mm and 25mm.

Thanks a lot for your help but I tried with values you gave me nothing changed. I also tried with 45mm 45mm, but nothing changed :( !!!!!

thanks for the .deb very easier

Schturman 2012-01-24 16:42

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Hi
I understand this take a place of operator logo image and if i have oplogo image activated on the screen I can't to adding you tweak ?
thanks

admiral0 2012-01-24 16:48

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
It will simply replace your operator's logo in that case.

kingpin 2012-01-24 19:38

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by admiral0 (Post 1155033)
It will simply replace your operator's logo in that case.

So this means either the operator logo or this info...

Aww man, cant we have both :(

Arie 2012-01-24 19:52

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by admiral0 (Post 1154998)
Will add in next version, but after a reboot the thingie disappears.

No it does not, after a reboot it doesn't automatically refresh from my experiences... After removing the files from my N9 it didn't disappear with a reboot.


Quote:

Originally Posted by admiral0 (Post 1154998)
Yes, that was already in the plans, but python-imaging fails to colorize image.

I have colored the icons... I can send them to you if you'd like...

Quote:

Originally Posted by kingpin (Post 1155148)
So this means either the operator logo or this info...

Aww man, cant we have both :(

How much space do you think we have on the standby screen?!?! You might as well fill every pixel of it while you're at it... ;)

admiral0 2012-01-24 20:20

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by Arie (Post 1155152)
No it does not, after a reboot it doesn't automatically refresh from my experiences... After removing the files from my N9 it didn't disappear with a reboot.

You haven't installed with the deb ;)


Quote:

Originally Posted by Arie (Post 1155152)
I have colored the icons... I can send them to you if you'd like...

For now i'm focusing on possibility to permit user to customize icons

Arie 2012-01-24 20:23

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by admiral0 (Post 1155170)
You haven't installed with the deb ;)

You are right if you were saying with the .deb that's the case then I am in the wrong here as I've never used it...



Quote:

Originally Posted by admiral0 (Post 1155170)
For now i'm focusing on possibility to permit user to customize icons

Ah ok... Good luck, pm me if you need any help with that...

admiral0 2012-01-24 20:40

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Well, i'm actually rewriting the whole thing in C++/Qt to go easy on RAM. So while i'm at it, i'll add a gui for configuration.

mousse04 2012-01-24 20:47

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
good news :)

jaripi 2012-01-24 21:05

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
This is really great idea ... there is few things that I am looking very often, 1. Date, 2. Battery state and 3. Idle state power consumption (as mA, by Battery Usage apps) ... well, is it possible to add idle power consumption too ? - that's because I really like to be on 8-12 mA level constantly ... well, RAM and used spaces are not in my interest, it is rare that I check them (just me) ...

admiral0 2012-01-24 21:29

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
The C++ version will be totally format-string based, and i plan adding networking info and power usage info from hal.

admiral0 2012-01-25 10:05

Done project skeleton in c++, buildsystem works.

jaripi 2012-01-25 13:41

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Hmmmm, it does not appear on my stand-by screen and there is no any icon (and no GUI either) .. so what I did wrong - I just downloaded your deb and run it ... should I install it through terminal ? ... I had LPMC (I tried both, with pic and with no pic), and then I uninstalled too (to check does it make any problem for your apps) ...

jaripi 2012-01-25 18:41

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Just add for my previous message (just on the above of this message) ... hope that it help you to improve your apps, as I think still that it is a great idea ... well, after uninstalling your apps, because it did not work - my screen clock is back to original (it was red) and the pic that I used under clock, is a little left now - at least, I think so (I reinstalled LPMCustomizer after removing your app and I put a pic back under that clock and i think that position is not the same any longer) ...

Btw, I tried to install your apps through terminal too (it did not work on that way either) ...

Well, I am a volunteer to test your apps again (I prefer deb), if you think that you have made some changes that might make it work properly ...

I wish to have your apps in my phone ... so keep smiling there ...

wolke 2012-01-25 21:06

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
root@n9:/etc/init/apps$ lpsmagic
Traceback (most recent call last):
File "/usr/bin/lpsmagic", line 14, in <module>
import gconf
ImportError: No module named gconf

this is probably your problem, too, jaripi.

you need to add python-gconf as a prereq to the deb. for now, you can do:
Code:

apt-get install python-gconf

admiral0 2012-01-25 21:07

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Strange, hmm maybe i did some stupid thing in the deb :)

Anyway your modifications are backed up during install and restored during uninstall.

wolke 2012-01-25 21:08

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by aRTee (Post 1154992)
Thanks a lot guys!!
...
reboot, why? That can be done with a command, which I can't find just now... same can be used to get the system to accept the font colour change of the digital clock.
...

initctl start apps/lpsmagic

{instead of rebooting}

admiral0 2012-01-25 21:08

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by wolke (Post 1155726)
root@n9:/etc/init/apps$ lpsmagic
Traceback (most recent call last):
File "/usr/bin/lpsmagic", line 14, in <module>
import gconf
ImportError: No module named gconf

this is probably your problem, too, jaripi.

you need to add python-gconf as a prereq to the deb. for now, you can do:
Code:

apt-get install python-gconf


FUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
Will fix asap

jaripi 2012-01-25 21:47

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by wolke (Post 1155726)
root@n9:/etc/init/apps$ lpsmagic
Traceback (most recent call last):
File "/usr/bin/lpsmagic", line 14, in <module>
import gconf
ImportError: No module named gconf

this is probably your problem, too, jaripi.

you need to add python-gconf as a prereq to the deb. for now, you can do:
Code:

apt-get install python-gconf

Thanks ... it pops up now :) ... well, it would not first time that it is my problem - I might even forget to read clear installation instructions (laugh) ...

accountvip 2012-01-26 03:38

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
What is the refresh command guys?

damaltor 2012-01-26 08:22

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
the image will refresh by itself once per minute. if you want to refresh manually, go into /home/user/ls-magic and type "python ls-magic.py".

admiral0 2012-01-26 09:14

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
actually in the deb, file is a python daemon, so you cannot force it to refresh. It uses more RAM, but uses very little CPU.

VladNistor 2012-01-26 11:53

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
I'm sad to say that it does not work. I downloaded the .deb, installes (it got dependencies automatically), rebooted twice.

Have I missee something?

Vlad

admiral0 2012-01-26 13:34

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Vlad: wait for it. It takes a while to show up as it's set lowest priority.

if you are having trouble open up terminal and type

Code:

lpsmagic
Tell me the error. I'll look into it.

VladNistor 2012-01-26 14:28

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Nevermind did not install the dependency, thought it was added to deb.

Works after I installed python-gconf. Maybe it should be added to dependencies?

Thanks!

jaripi 2012-01-26 15:01

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
I was making testing for other reasons today ... and I disabled developer mode (restarted too) for a moment, then re-enbled it and restarted again, but your apps did not pop up any longer - is it a normal behaviour ? - do I need to reinstall it every time after I disable Developer mode (there is a real reason why I make it occasionally, for testing purpose ... nothing to do with your apps) ...

Btw, if I write in terminal now: "lpsmagic" ... it will answer: "sh: lpsmagic: not found" ..

Well, a positive side is that my clock is red again ... (laugh)

jaripi 2012-01-26 15:28

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Well, I just reinstalled it and it works again ... this time I installed it through "Filebox" ... a last time I did it through terminal (because I was trying to find out how I can get it work) ... btw, it seems that can not use any pic by LPMCustomizer on the same time or it will NOT pop up ...

admiral0 2012-01-26 15:54

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
@jaripi, because lpm customizer uses the same way we do for displaying image..

ejasmudar 2012-01-26 16:26

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by admiral0 (Post 1156088)
@jaripi, because lpm customizer uses the same way we do for displaying image..

why dont u use PIL to edit the lpmc image dynamically and add the required info to it?

admiral0 2012-01-26 16:51

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
umm, because it may look like anything? I don't feel comfortable with pil anyways. I'm rewriting in C++/Qt -> QPainter

jaripi 2012-01-27 06:53

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by admiral0 (Post 1156088)
@jaripi, because lpm customizer uses the same way we do for displaying image..

Well, it seems that your apps will pop up later (over a pic of LPM Customizer), but it takes awhile ... maybe because of low priority of your apps ... anyway, you have done great work - it seems that power consumption of your apps is VERY LOW - it is really great ... yes, I prefer your apps over any pic on my standby screen now ... thanks for your great work and sorry that I was meshing up with your apps on the beginning ...

Btw, you should consider to have a space between all icons and characters - I feel that the first characters after each icon would be more clear on that way ... and also the load numbers are too close each other ...

Further: did you update your deb ? ... if not, you should add installation instruction what was instructed by "wolke" (add first Python-gconf through terminal by "apt-get install python-gconf") ...

wolke 2012-01-27 07:01

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
im gonna spread out my image, but have the same amount of white.

as long as the same number of pixels are fired up, power usage should be precisely the same, right? i.e.: there arent pixels that are more expensive than others, and no advantage to having contiguous-pixels lit up as opposed to spread-out-pixels.

slarti 2012-01-27 08:00

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Nice work! I was wondering if it would be possible to add next active alarm time as one of the things shown?

admiral0 2012-01-27 10:28

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
You could create a wiki page somewhere to ask for info to be available. The infos i plan for right now are:
- the ones displayed now
- ip on any interface
- power consumption

Next version will be fully configurable via configfile, and maybe next one scriptable via js (i'll export QPainter and some other utility functions). That means you will be able to fully customize your lps image.

Next version will also consume less CPU & RAM because it's in C++.

If you are excited and want me to code like a valkyrie on acid (?!) donate and support my need of red-bull and/or beer
http://admiral0.it/donate.html

PS I've updated deb to 1.1, no more dependency problems-> install, reboot and wait.

admiral0 2012-01-27 10:41

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by jaripi (Post 1156391)
Well, it seems that your apps will pop up later (over a pic of LPM Customizer), but it takes awhile ... maybe because of low priority of your apps ... anyway, you have done great work - it seems that power consumption of your apps is VERY LOW - it is really great ... yes, I prefer your apps over any pic on my standby screen now ... thanks for your great work and sorry that I was meshing up with your apps on the beginning ...

Next version will consume even less, and should start up faster(python is really slow to load with that niceness)
Quote:

Originally Posted by jaripi (Post 1156391)
Btw, you should consider to have a space between all icons and characters - I feel that the first characters after each icon would be more clear on that way ... and also the load numbers are too close each other ...

Yes, that's a issue i've been looking at..
Quote:

Originally Posted by jaripi (Post 1156391)
Further: did you update your deb ? ... if not, you should add installation instruction what was instructed by "wolke" (add first Python-gconf through terminal by "apt-get install python-gconf") ...

Done

admiral0 2012-01-27 10:44

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
@wolke be careful, modifying an executable in aegis normal mode will trigger malf. I've learnt it the hard way.
Will put sources on github asap.
@slarti
If there is a way to get it in a non expensive way yes.

aRTee 2012-01-27 10:49

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Wolke, yes, you are right, same amount of pixels turned on = same power consumption, so spreading out is a good way to have a bigger image with same low power consumption.

aRTee 2012-01-27 11:15

Re: [ANNOUNCE] System Info and date on standby screen - MOD - ls-magic
 
Quote:

Originally Posted by wolke (Post 1155728)
initctl start apps/lpsmagic

{instead of rebooting}


I think you also need to do:
Code:

/sbin/initctl restart xsession/sysuid


All times are GMT. The time now is 18:24.

vBulletin® Version 3.8.8