How to display network manager icon on the Xfce panel?
Sebastian Wright I installed Xfce in Ubuntu 14.04, but the network manager icon disappeared. When I run sudo nm-applet, the icon shows. Not only the network manager but also the power manager and fcitx icon disappeared. fcitx is a Chinese input method.
5 Answers
For the benefit of further readers having the same problem I would like to note that I managed to get the indicators to show up in the xfce4 indicator area without using the indicator plugin.
I fiddled with the settings, but I think the key point was to deactivate the gnome indicators that I marked with red in the screen shot. I reckon these are gnomish programs that might indeed need the indicator-plugin. As can be seen at the top right of the screen shot, at least the network manager and the power indicator appear. Whether there is something special for bluetooth in xfce4, I don't know.
3Make sure you have both Notification Area and Indicator Plugin on your panel.
Test this:
Edit /etc/xdg/autostart/nm-applet.desktop:
sudo su
nano /etc/xdg/autostart/nm-applet.desktopGo down to the Exec line.
Change the entry:
nm-applet
to
dbus-launch nm-appletSave the file -- Control + O
Close nano -- Control + X
Reboot.
Login and you will see that the n-m icon is now back.
6you can also make the network-manager applet show up with systemd, just make sure you have a notification area set
- make a file
~/.config/systemd/user/nm-applet.servicewith the following content: [Unit] Description=Network Manager Applet [Service] ExecStart=/usr/bin/nm-applet [Install] WantedBy=graphical-session.target- start it with
systemctl --user start nm-applet
In my case, I needed to install network-manager, and network-manager-gnome, despite the fact that I use using xfce4.
sudo apt install network-manager
sudo apt install network-manager-gnome
sudo systemctl enable NetworkManager.serviceI rebooted the system, and the network manager plugin appeared in XFCE4's tray.