Correção simples
(Sem baixar nada, use o ícone 16px)-
Remover links antigos
sudo rm /usr/share/icons/elementary/panel/22/nm-device-wired.svg sudo rm /usr/share/icons/elementary/panel/22/nm-device-wired-autoip.svg
-
Crie novos links para o ícone 16px
sudo ln -s /usr/share/icons/elementary/panel/16/nm-device-wired.svg /usr/share/icons/elementary/panel/22/nm-device-wired-autoip.svg sudo ln -s /usr/share/icons/elementary/panel/16/nm-device-wired.svg /usr/share/icons/elementary/panel/22/nm-device-wired.svg
Correção de boa aparência
(baixe o mesmo conjunto de ícones do tema)-
Remover links antigos
sudo rm /usr/share/icons/elementary/panel/22/nm-device-wired.svg sudo rm /usr/share/icons/elementary/panel/22/nm-device-wired-autoip.svg
-
Download
lubuntu-icon-theme
binary (Ubuntu 14.04, de link ) & amp; extraí-lowget http://launchpadlibrarian.net/156931592/lubuntu-icon-theme_0.42_all.deb dpkg-deb -x lubuntu-icon-theme_0.42_all.deb lubuntu-icon-theme/
-
Copie apenas o ícone com fio para a pasta de temas elementar
sudo cp lubuntu-icon-theme/usr/share/icons/lubuntu/panel/22/nm-device-wired.svg /usr/share/icons/elementary/panel/22/nm-device-wired.svg sudo ln -s /usr/share/icons/elementary/panel/22/nm-device-wired.svg /usr/share/icons/elementary/panel/22/nm-device-wired-autoip.svg
Como consegui isso?
-
Rastreie a abertura do arquivo de
nm-applet
enquanto altero o status. (...
ou seja, linhas removidas)$ pkill nm-applet $ strace -e trace=open nm-applet ... open("/usr/share/icons/elementary/panel/22/nm-no-connection.svg", O_RDONLY|O_LARGEFILE) = 13 open("/usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so", O_RDONLY|O_CLOEXEC) = 14 open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 14 open("/usr/lib/i386-linux-gnu/librsvg-2.so.2", O_RDONLY|O_CLOEXEC) = 14 open("/usr/lib/i386-linux-gnu/libcroco-0.6.so.3", O_RDONLY|O_CLOEXEC) = 14 open("/usr/lib/i386-linux-gnu/libxml2.so.2", O_RDONLY|O_CLOEXEC) = 14 ** Message: using fallback from indicator to GtkStatusIcon open("/usr/share/icons/elementary/panel/22/nm-no-connection.svg", O_RDONLY|O_LARGEFILE) = 13 ** Message: applet now embedded in the notification area open("/usr/share/icons/elementary/panel/22/nm-no-connection.svg", O_RDONLY|O_LARGEFILE) = 13 open("/usr/share/icons/elementary/animations/22/nm-stage01-connecting01.svg", O_RDONLY|O_LARGEFILE) = 13 open("/usr/share/icons/elementary/animations/22/nm-stage01-connecting02.svg", O_RDONLY|O_LARGEFILE) = 13 ... open("/usr/share/icons/elementary/animations/22/nm-stage03-connecting10.svg", O_RDONLY|O_LARGEFILE) = 13 open("/usr/share/icons/elementary/animations/22/nm-stage03-connecting11.svg", O_RDONLY|O_LARGEFILE) = 13 open("/usr/share/icons/elementary/panel/22/nm-device-wired.svg", O_RDONLY|O_LARGEFILE) = 13 ...
-
Observe o último, quando conectei a rede com fio. Então eu verifico se é um arquivo.
$ ls -l /usr/share/icons/elementary/panel/22/nm-device-wired.svg lrwxrwxrwx 1 root root 20 Sep 25 2011 /usr/share/icons/elementary/panel/22/nm-device-wired.svg -> nm-no-connection.svg $ ls -l /usr/share/icons/elementary/panel/22/*wired* lrwxrwxrwx 1 root root 20 Sep 25 2011 /usr/share/icons/elementary/panel/22/nm-device-wired-autoip.svg -> nm-no-connection.svg lrwxrwxrwx 1 root root 20 Sep 25 2011 /usr/share/icons/elementary/panel/22/nm-device-wired.svg -> nm-no-connection.svg
Era um link para nm-no-connection.svg
igual a /usr/share/icons/elementary/panel/22/nm-device-wired-autoip.svg
. Esse foi o problema.