maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   How to Configure Status Bar (https://talk.maemo.org/showthread.php?t=66251)

Venemo 2010-12-31 21:52

Re: How to Configure Status Bar
 
There is an app called Powatool that can do this.

Rhino 2011-01-09 08:38

Re: How to Configure Status Bar
 
Quote:

Originally Posted by dr_frost_dk (Post 895156)
anybody got an idea on how to move the icons to take the space of the now removed battery icon on the desktop??

Open up the 'etc/hildon-desktop/status-menu.plugins' file again. Now the easiest way to fill up the space previously used by battery icon is to find the entry with the highest position-value (it's the number on the right of '=' in those lines: X-Status-Menu-Position=1 ) and replace it with a 1.

So, if you find that 12 is the highest position-value in that file (X-Status-Menu-Position=12), change the 12 to 1, like so: X-Status-Menu-Position=1.

Those are just indexes in the status menu, starting on 1. Since there are two columns the indexes are like:
1 2
3 4
5 6 ...

dr_frost_dk 2011-01-09 13:21

Re: How to Configure Status Bar
 
3 Attachment(s)
Quote:

Originally Posted by Rhino (Post 915564)
Open up the 'etc/hildon-desktop/status-menu.plugins' file again. Now the easiest way to fill up the space previously used by battery icon is to find the entry with the highest position-value (it's the number on the right of '=' in those lines: X-Status-Menu-Position=1 ) and replace it with a 1.

So, if you find that 12 is the highest position-value in that file (X-Status-Menu-Position=12), change the 12 to 1, like so: X-Status-Menu-Position=1.

Those are just indexes in the status menu, starting on 1. Since there are two columns the indexes are like:
1 2
3 4
5 6 ...

Thats cool and i have done that, what i want is to change X-Status-Area-Position so i don have that big hole where the battery meter used to be.
I also attached my status-menu.plugins file it has just been renamed with .txt

dr_frost_dk 2011-01-09 21:23

Re: How to Configure Status Bar
 
Another way to make this better would be to edit the battery meter system, but i don't know how to edit/use a .so file?????

the file for the battery meter/indicator is /usr/lib/hildon-desktop/status-area-applet-battery.so

i already have the RAW numbers after making a discharge test on one of the battery's from my battery test thread.
This way i could make it display the REAL battery state instead of now

Rhino 2011-01-10 06:00

Re: How to Configure Status Bar
 
Quote:

Originally Posted by dr_frost_dk (Post 915787)
Thats cool and i have done that, what i want is to change X-Status-Area-Position so i don have that big hole where the battery meter used to be.

Oh I see. Well, I haven't tried this, but what happens if you simply change the status-menu.plugins entry for, say, the green icon in your screenshot (or whichever icon you want to place where the battery used to be) to:
X-Status-Area-Permanent-Item=Special-Item-1
instead of whatever
X-Status-Area-Position=X it is now. So comment out (#) the Position-line and add the Permanent-line for the wanted icon.

I haven't tried it myself, but it "looks like" it should work. Of course that column would still look a bit odd since it has only 1 spot, but perhaps better than nothing?

moepda 2011-02-12 21:08

Re: How to Configure Status Bar
 
Quote:

Originally Posted by MohammadAG (Post 885049)
Keep the lens cover opened I guess

Edit: or use this http://mohammadag.xceleo.org/public/....4-4_armel.deb :)
It's edited to always show the applet, closing the cover will still turn off the flashlight.

sorry to bump oldish thread but been bugging me for ages now that i cant seem to pin this mohammadAG version of flashlight !
tried this :

Package: flashlight
Pin: release a=unstable
Pin-Priority: 1001

&

Package: Flashlight
Pin: release a=unstable
Pin-Priority: 1001

in etc/apt/preferences but still shows to update in HAM. used same with wifi switcher mod

Package: wifi-switcher
Pin: release a=unstable
Pin-Priority: 1001

and works 100% . used winscp and pc to do if relevant.could anyone correct me where im going wrong ?

Mentalist Traceur 2011-02-12 21:26

Re: How to Configure Status Bar
 
Use
Code:

dpkg -l | grep "flashlight"
to see what the actual package name is. dpkg -l lists all the packages the dpkg utility has installed (which means everything installed with the app managers, apt-get, or dpkg -i, etc), and grep then filters out all the lines except those which contain the string "flashlight". If that doesn't find it, try using just "light" instead of flashlight, or something.

Running this on my device, I get the package "flashlight-applet". So I think that's the proper name of the package. So try pinning that.

moepda 2011-02-12 22:40

Re: How to Configure Status Bar
 
:) that fixed it ! :) much appreciated Mentalist Traceur for helping me out and educating me some more too on xterm :) flashlight-applet was the correct name needed .

stevomanu 2011-02-12 23:13

Re: How to Configure Status Bar
 
would it be possable to add the temp of phone up there on that bar ??

Mentalist Traceur 2011-02-14 15:31

Re: How to Configure Status Bar
 
Quote:

Originally Posted by stevomanu (Post 944498)
would it be possable to add the temp of phone up there on that bar ??

Keep in mind the only sensor we have that we can access from the N900's software for temperature is next to the battery, and thus represents a temperature that is true for only a small part of the phone.

That said, you also need power kernel installed and the right modules loaded to be able to get reads from that sensor to begin with. If you've got all those things, you can package the entire thing inside a status menu applet, yes.


All times are GMT. The time now is 21:35.

vBulletin® Version 3.8.8