Notices


Reply
Thread Tools
Venemo's Avatar
Posts: 1,296 | Thanked: 1,773 times | Joined on Aug 2009 @ Budapest, Hungary
#31
There is an app called Powatool that can do this.
 

The Following User Says Thank You to Venemo For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Jan 2011
#32
Originally Posted by dr_frost_dk View Post
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's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#33
Originally Posted by Rhino View Post
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
Attached Images
  
Attached Files
File Type: txt status-menu.plugins.txt (3.0 KB, 113 views)
 
dr_frost_dk's Avatar
Posts: 1,503 | Thanked: 2,688 times | Joined on Oct 2010 @ Denmark
#34
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
 
Posts: 2 | Thanked: 0 times | Joined on Jan 2011
#35
Originally Posted by dr_frost_dk View Post
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's Avatar
Posts: 334 | Thanked: 118 times | Joined on Apr 2010 @ United Kingdom
#36
Originally Posted by MohammadAG View Post
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 ?
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#37
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.
 

The Following User Says Thank You to Mentalist Traceur For This Useful Post:
moepda's Avatar
Posts: 334 | Thanked: 118 times | Joined on Apr 2010 @ United Kingdom
#38
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 .
 
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#39
would it be possable to add the temp of phone up there on that bar ??
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks

Last edited by stevomanu; 2011-02-12 at 23:20.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#40
Originally Posted by stevomanu View Post
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.
 
Reply

Thread Tools

 
Forum Jump


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