maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!! (https://talk.maemo.org/showthread.php?t=51147)

No!No!No!Yes! 2010-04-30 11:29

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
Quote:

Originally Posted by IceJunior (Post 634821)
http://img52.imageshack.us/img52/192...0043012414.png

I just changed the Widget size to the n900.png's size and the Widgettype to Snipet.

EDIT: ... And I pastet the n900.png in the two default directories.

IceJunior

You didn't follow the INSTANCE IMPORT PROCEDURE, did you?

IceJunior 2010-04-30 12:21

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
Hmpf... Now i get CheckSumError... Sorry, but it's the first time I use this widget ;-)

I read that there is a magic word to bypass checksum protection? :-)


IceJunior

No!No!No!Yes! 2010-04-30 12:30

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
Uhm... if there is a checksum violation maybe you didn't correctly copy the instance data again from the first post of the thread and don't modify nothing.

I discourage you from using the magic word unless you really know what you are doing.

IceJunior 2010-04-30 12:41

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
It works :-), looks nice but the content is not centered like on your image.. Anything missed again?

I think the checksumerror happend because I used some of the code posted after the first post.

IceJunior, thanking..

No!No!No!Yes! 2010-04-30 12:53

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
WARNING!!! There was an issue with the "uptime" command which caused the third line to grow longer than expected, in case of uptime greater than 1 day, and mess up the whole beacon graphic and formatting... first post has been updated with corrected instance data which will prevent "Avg:" string from showing.

http://i43.tinypic.com/20sfmw.jpg

IceJunior 2010-04-30 13:02

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
Okay, now its centered but the Batterystuff is one line under the right position (where your CPUfreq is).

IceJunior

No!No!No!Yes! 2010-04-30 13:14

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
Quote:

Originally Posted by IceJunior (Post 634983)
Okay, now its centered but the Batterystuff is one line under the right position (where your CPUfreq is).

IceJunior

I believe you don't have a microSD card inside your phone ... that could be the culprit for misalignment as widget is customized to be center aligned both vertically and horizontally and the line with microSD capacity is missing

So goto settings and "Edit Cmd"
Goto the very end of the command:

Code:

..."/" $4)}'
and try and stick an extra newline echo:

Code:

..."/" $4)}'; echo ""
Crossfingers...

mrl0n3ly714 2010-05-21 03:16

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
would you fix this? i copy and paste from the battery codes above.

hal-device bme | awk '/l.p/ {perc = $3}; /g.c/ {curr = $3}; /g.la/ {last = $3}; /s_c/ {isch = $3} END if (isch == "false") {print curr"/"last"<span font=\"11\">mAh</span>(%"perc")"} else {print "Charging"}';

output only show the current mah/0 ...isnt it should show current mah/last mah ? try to test code above, thanks alot

goetz 2010-05-21 05:23

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
0 -- that's what the N900 reports for last full battery capacity in some cases, so you would have to fix the N900 ;)

It seems that this value is 0 when the last charging took place before the last reboot.

sb10ck 2010-07-15 13:39

Re: [Announce] Queen BeeCon Widget - N900 Mini Monitor (Extras Admission Celebration Edition)!!!
 
on my device is in the list of filesystems the /opt-dir, too. its the same free space of /home-dir. Of this reason there are two lines to much in the monitor. the battery info begins one line above and the sd-card one line under the graphic. is it possible to delete the opt entry?

sorry my bad english.

sblock.tel


All times are GMT. The time now is 23:04.

vBulletin® Version 3.8.8