Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

nm-applet missing status icon [SOLVED]

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
blinker
n00b
n00b
User avatar
Posts: 25
Joined: Fri Aug 21, 2009 11:24 pm

nm-applet missing status icon [SOLVED]

  • Quote

Post by blinker » Sat Oct 10, 2009 9:52 am

Hi,
I am trying to change the look of gtk apps on a kde 4.3.1 system without gnome

I have emerged
gtk-engine
gtk-engines-qt
gtk-chtheme
and configured kde to use the gnome clearlooks theme.
The theme is used but I am unable to fix an icon issue with the NetworkManager nm-applet

When I left click on the nm-applet a menu pops up showing the available wireless networks
for each network i see a radio button, the name of the network, an icon and a progressbar

The icon is not what I see in other distros
I expect to see an icon like /usr/share/icons/gnome/16x16/status/network-wireless-encrypted.png
What I have displayed is a paper document with a red X in the middle (missing icon i guess)

I have seen this post http://forums.gentoo.org/viewtopic-t-796502.html and think it might be related.
I can't get firefox to use /usr/share/icons/gnome/24x24/actions/go-home.png either.

I am using
net-misc/networkmanager-0.7.1-r6
www-client/mozilla-firefox-3.5.3

does anybody know what icon nm-applet is looking for?
Last edited by blinker on Thu Oct 15, 2009 6:18 pm, edited 1 time in total.
Top
cweiske
n00b
n00b
Posts: 42
Joined: Thu Jun 17, 2004 12:22 pm

  • Quote

Post by cweiske » Sun Oct 11, 2009 7:51 am

You could run "strace networkmanager" and try to find the file in the output.
Top
blinker
n00b
n00b
User avatar
Posts: 25
Joined: Fri Aug 21, 2009 11:24 pm

  • Quote

Post by blinker » Sun Oct 11, 2009 10:33 am

I did not know this utility.
I killed nm-applet and ran

Code: Select all

$ strace -o strace.log nm-applet
On Gentoo with kde

Code: Select all

open("/usr/share/icons/hicolor/index.theme", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 16
On Fedora with gnome

Code: Select all

open("/usr/share/icons/Fedora/index.theme", O_RDONLY) = 15
open("/usr/share/icons/Fedora/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/Fedora/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/Fedora/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/Fedora/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/Mist/index.theme", O_RDONLY) = 15
open("/usr/share/icons/Mist/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/Mist/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/Mist/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/Mist/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/gnome/index.theme", O_RDONLY) = 15
open("/usr/share/icons/gnome/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/gnome/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/gnome/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/gnome/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/hicolor/index.theme", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 16
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 15
open("/usr/share/icons/hicolor/icon-theme.cache", O_RDONLY) = 16

I will try to figure out why the gnome theme is not used on gentoo
Thanks for the help
Top
blinker
n00b
n00b
User avatar
Posts: 25
Joined: Fri Aug 21, 2009 11:24 pm

  • Quote

Post by blinker » Thu Oct 15, 2009 6:16 pm

Turns out that this version of nm-applet uses icons that are not in the hicolor icon theme.
This theme is used when no other is specified

the solution for me was to tell kde to use the gnome icon theme

Code: Select all

$ echo "gtk-icon-theme-name=\"gnome\"" >> ~/.gtkrc-2.0-kde4
Thanks cweiske
Top
Jim6
Tux's lil' helper
Tux's lil' helper
Posts: 102
Joined: Fri Apr 08, 2005 12:59 am

  • Quote

Post by Jim6 » Mon Mar 01, 2010 6:17 pm

I just ran into this, here's a slightly more general solution;

Code: Select all

$ echo "gtk-icon-theme-name = \"gnome\"" >> ~/.gtkrc-2.0
I seem to have 9 different icon themes installed in /usr/share/icons/ , but in reality only the default and gnome are different (the rest are copies of either one or the other)
Top
Post Reply

5 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic