Announcement

Collapse
No announcement yet.

[SOLVED] What file contains the pointer to this icon?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] What file contains the pointer to this icon?

    KDE 4.5.1
    Wicd Version: 1.7.0+ds1-2

    The icon for a wired connection isn't displaying - a ? mark shows instead - when I display the Wicd Network Manager (see image below). Not a big deal really, but it bugs me that the proper icon isn't displayed. This tells me that a controlling file is referencing an icon 'by name' that is incorrect, or that the actual icon for it isn't named as expected.

    Does anyone know what file controls/points to the icons that are used when Wicd Network Manager is opened?
    Attached Files
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    #2
    Re: What file contains the pointer to this icon?

    The icon theme for the wicd gtk client should be in /usr/share/pixmaps/wicd/. That particular icon is probably /usr/share/pixmaps/wicd/wired.png (can't be 100% on that, I don't have the gtk client installed anymore...so it might be using the oxygen icon)

    Comment


      #3
      Re: What file contains the pointer to this icon?

      I've got the icon, and yes, it's in that folder. But, it doesn't get used in the application - just the question mark.
      Windows no longer obstructs my view.
      Using Kubuntu Linux since March 23, 2007.
      "It is a capital mistake to theorize before one has data." - Sherlock Holmes

      Comment


        #4
        Re: What file contains the pointer to this icon?

        Originally posted by Snowhog
        I've got the icon, and yes, it's in that folder. But, it doesn't get used in the application - just the question mark.
        That's odd. Just to make sure, my entry looks as follows:

        Code:
        -rw-r--r-- 1 root root 1.3K Jan 15 2010 wired.png
        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

        Comment


          #5
          Re: What file contains the pointer to this icon?

          Originally posted by Snowhog
          I've got the icon, and yes, it's in that folder. But, it doesn't get used in the application - just the question mark.
          I installed the gtk-client (temporarily) to see what's going on, and noticed the same issue. Looking at the code, it seems the gui uses a svg file (/usr/share/pixmaps/wicd/wired-gui.svg) for the icon (wired.png is only used as a tray icon), so it could be a problem with rendering svg in the libraries wicd-gtk uses.

          Changing the icon used to "wired.png" (in /usr/share/wicd/gtk/netentry.py) works (although the icon is small as it is meant for the tray), so you could create your own .png in /usr/share/pixmaps/wicd/ (or convert the svg to png) and edit /usr/share/wicd/gtk/netentry.py accordingly.

          ---

          BTW, have you noticed there is a KDE client available for wicd (with better KDE integration), more info here: http://kubuntuforums.net/forums/index.php?topic=3113604

          Comment


            #6
            Re: What file contains the pointer to this icon?

            The KDE client is the way to go, Snowhog. It is working GREAT for me!
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: What file contains the pointer to this icon?

              Originally posted by GreyGeek
              The KDE client is the way to go, Snowhog. It is working GREAT for me!
              +1

              http://kde-apps.org/content/show.php...content=132366
              Most important laptop specs (this is my main computer, with Kubuntu on it):<br /><br />4096MB RAM (DDR2)<br />500GB Hard Disk<br />ATI Mobility Radeon 4570HD Videocard with 512MB GDDR3 RAM, up to 2280MB VRAM<br />Intel® Core™ 2 Duo-processor T6600<br /><br />OS: Kubuntu 10.10

              Comment


                #8
                Re: What file contains the pointer to this icon?

                Yes, I'm aware of Wicd Client KDE. Until I find that Wicd doesn't serve me as well as it does - I really like it - I'll stick with it.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  Re: What file contains the pointer to this icon?

                  Originally posted by Snowhog
                  Yes, I'm aware of Wicd Client KDE. Until I find that Wicd doesn't serve me as well as it does - I really like it - I'll stick with it.
                  Well, the KDE client is just another front-end (like the gtk, curses and cli front-end that are in the repos) to wicd-daemon (the backend), so it uses the same wicd for the actual network management (you don't have to redo your settings either, it's a drop-in replacement for the gtk front-end).

                  But of course you're free to use whichever you prefer.

                  Comment


                    #10
                    Re: What file contains the pointer to this icon?

                    Originally posted by kubicle
                    I installed the gtk-client (temporarily) to see what's going on, and noticed the same issue. Looking at the code, it seems the gui uses a svg file (/usr/share/pixmaps/wicd/wired-gui.svg) for the icon (wired.png is only used as a tray icon), so it could be a problem with rendering svg in the libraries wicd-gtk uses.

                    Changing the icon used to "wired.png" (in /usr/share/wicd/gtk/netentry.py) works (although the icon is small as it is meant for the tray), so you could create your own .png in /usr/share/pixmaps/wicd/ (or convert the svg to png) and edit /usr/share/wicd/gtk/netentry.py accordingly.
                    Should have read this more closely when you posted it. I edit the /usr/share/wicd/gtk/netentry.py (as root) and changed the reference from wired-gui.svg to wired.png. Save, and logged out of KDM and logged back in. Now the icon shows in Wicd when I click on the system tray icon, and it is sized just fine (the wired.png icon is 48x48 pixels).

                    Thank you kubicle.
                    Attached Files
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment

                    Working...
                    X