Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How to display network manager icon on the Xfce panel?

Writer 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.

2

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.

screenshot showing the indicator and startup sequence

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.

3

Make sure you have both Notification Area and Indicator Plugin on your panel.

enter image description here

1

Test this:

Edit /etc/xdg/autostart/nm-applet.desktop:

sudo su
nano /etc/xdg/autostart/nm-applet.desktop

Go down to the Exec line.

Change the entry:

nm-applet
to
dbus-launch nm-applet

Save the file -- Control + O

Close nano -- Control + X

Reboot.

Login and you will see that the n-m icon is now back.

6

you 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.service with 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.service

I rebooted the system, and the network manager plugin appeared in XFCE4's tray.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy