Page 1 of 1

Where is NetworkManager wifi signal icon config file?-PICS!!

Posted: Fri Mar 13, 2009 6:26 pm
by masterus
Hello,

As you know in ubuntu ,NetworkManager when shows WiFi signal use blue-bars.
I don't like that so have decided to change that blue-bars with something more nice for eyes.
Unfortunne,the PNGs I got shows max-signal in 5 levels not 4.
I'm not good with PNGs edit :(
Due to that have question:
Where is Network Manager wifi signal icon config file :?:
I believe it will be some text file which I could edit.
Would be very gratefull for all answers,

Thx&Rgds

Re: Where is NetworkManager wifi signal icon config file ?

Posted: Sun Mar 15, 2009 9:49 am
by Harryc
It's such a tiny icon...wow you are picky ;) j/k.

Image
Image
Image
Image
Image

Do a wildcard system search on 'nm-signal'. There are actually (5) files that allow the icon to display various signal strength states.
On my Mint 6.0 Felecia install they are in /proc/28426/cwd

Note: How did I find the file names? I downloaded the latest version of network-manager-applet from SVN and looked for the icon folder in the newly created /home/youruser/network-manager-applet folder...simple. You'll have to install subversion first if you do not have it.

Code: Select all

sudo apt-get install subversion

Code: Select all

svn co svn://svn.gnome.org/svn/network-manager-applet/trunk network-manager-applet
P.S> - all I ask in return is for you to share the new icon files if you create them :)

Re: Where is NetworkManager wifi signal icon config file ?

Posted: Sun Mar 15, 2009 1:38 pm
by masterus
hi Harry,

found that icons without any problems.
need to know name of file which is the config file for WiFi signal:
mean the file (probably that will be some text file like in Wicd) which would have something like that:

Code: Select all

strength:
0
1-24 : nm-....png
25-49: nm-...png
50-74: nm-...png
75-100: nm-...png
then would have a chance to edit that file by adding one more line and that's it
that's I need to know location of config file

about new icons...absolutely no problem to share that icons.

thx&rgds

Re: Where is NetworkManager wifi signal icon config file ?

Posted: Sun Mar 15, 2009 2:10 pm
by Harryc
I have no idea where it is, although I would not be surprised if it is buried in some Python code somewhere. My advice is to join the NetworkManager mailing list and ask a Developer. If you've never been on a developer list before, they usually tolerate limited novice questioning but zero noise if you know what I mean.
http://projects.gnome.org/NetworkManager/
http://mail.gnome.org/mailman/listinfo/ ... nager-list

Re: Where is NetworkManager wifi signal icon config file ?

Posted: Mon Mar 16, 2009 12:20 pm
by Volker
Harryc wrote:On my Mint 6.0 Felecia install they are in /proc/28426/cwd
Thats not really a directory, everything in /proc are "files" representing data about your os/computer and not stored physically on the harddisk. You currently run nm-applet as PID 28426 and you can find various info about this process in /proc/<PID>. Amongst other things, there is a link called "cwd" which points to the Current Working Directory of that process.

As for the original question, if you want to go from 5 steps to 4 steps then you'll have to edit the nm-applet source (written in C) and recompile/install. nm-applet has (as one of its design goals) no configuration files.

Re: Where is NetworkManager wifi signal icon config file ?

Posted: Tue May 19, 2009 4:03 am
by masterus
Hello Harry,

that new wifi icons I would like to use in Network Manager WiFi Signal :

ImageImageImageImageImageImageImage

of course will have to resize them :) what do you guys think about them :?:

rgds,

Re: Where is NetworkManager wifi signal icon config file?-PICS!!

Posted: Tue May 19, 2009 6:39 am
by Harryc
They look great. Good luck with the modification.

Re: Where is NetworkManager wifi signal icon config file?-PICS!!

Posted: Sat May 23, 2009 1:14 am
by CyberDude
So did you get the new icons working? Post details of how you managed it.