maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   SImple QT Desktop Widget to display battery level and percentage in Extras-devel now (https://talk.maemo.org/showthread.php?t=38749)

krk969 2009-12-29 22:15

SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Folks, here it is a deskop widget to display the battery level as a percentage.

Its in the desktop section as batlevel.
You need t enable extras-devel repository.

One thing I havent figured out completely is how to add it to the desktop add widgets menu, currenly it will appear in add shortcut as an app but when started it will open as a desktop widget.
It seems deskop widgets need to be libraries and mine is a binary, while i figure out the technicalities related to this feel free to play with this and discuss any bugs/improvements.

This is a very simple display, I will try adding more functional/eye-candy stuff if I dont get busy with some other projects. But Id like to hear your ideas.
just to let you know Im currently working on making it look more like a battery than a progress bar :D

Three ways to start it.

1. from X terminal run the command
run_batlevel

2. from the desktop , click add a shortcut , choose batlevel, and then click on the shortcut ( the shortcut can be deleted later as the widget will appear on the desktop )


3. The usual way, go to the applications menu and run the installed app.

Last but not the least, maemo fellow members have been most helpful in helping create this app . Hope the maemo spirit lives on and grows stronger , ok enough of the emotions now :p Ill let you guys develop more on this.

cheers,

krk969 2009-12-29 22:21

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
I guess I posted this in the wrong thread nstead of applications.
Mods pls feel free to move if not appropriate, but the app is specifically for N900 so maybe its ok to be here .
Sorry I couldnt find an option to move it.:p

reycat 2009-12-29 23:04

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Just tried it, it seems to work. 8 MB, I guess it's optified, isn't it? :)

Thank you very much, I was looking forward to something like this.

OrangeBox 2009-12-29 23:06

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
8 MB for this??? To see the battery level on the desktop that I see already in the status area? Another useless widget.

krk969 2009-12-29 23:08

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Quote:

Originally Posted by reycat (Post 445907)
Just tried it, it seems to work. 8 MB, I guess it's optified, isn't it? :)

Thank you very much, I was looking forward to something like this.

8 MB did you say ?

anyways the app itself is abt 17K only, maybe you had to download a list of other dependencies that werent on your N900.
Yes the app behaved well so far on my N900 past couple of days, doesnt use too much memory or cpu.
rest we will know soon when the others also try ;)

to know the dependencies you can run this command on your N900

apt-cache showpkg batlevel


alternatively you can also see it when you are about to download the app from the application manager, it lists the dependencies in the details tab.

cheers

pr0xyfl00d3r 2009-12-29 23:23

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Not workin for me, just get a black screen, and at top the loading icon

krk969 2009-12-29 23:29

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Quote:

Originally Posted by pr0xyfl00d3r (Post 445931)
Not workin for me, just get a black screen, and at top the loading icon


just minimize that screen( clicking on the top left hand corner ), you will see the widget on your desktop and that window just closes on its own immediately.
not sure why that window pops up and stays though I run the app int he background.
will be working on it :).

gabbre 2009-12-29 23:38

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Nice widget!I hope there will be an improvement of the interface in future:)
Good luck for future releases!
PS sorry for my bad english:)

maxximuscool 2009-12-29 23:43

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
7.59MB wtf...

Crashdamage 2009-12-29 23:52

Re: SImple QT Desktop Widget to display battery level and percentage in Extras-devel now
 
Quote:

Originally Posted by OrangeBox (Post 445909)
8 MB for this??? To see the battery level on the desktop that I see already in the status area? Another useless widget.

krk969 deserves thanks for sharing his efforts with everyone - for FREE! If you don't want/like it, don't use it. But don't ***** about it. He doesn't deserve taking your crap for his work.


All times are GMT. The time now is 14:40.

vBulletin® Version 3.8.8