NetworkManager icon gone from panel

Using XFCE. The icon no longer shows in my panel although NetworkManager and NetworkManager Applet are both activated in Session and Startup>Application Autostart. I am connected and need to change connections.

ion@desk:~> sudo NetworkManager
[sudo] password for root:
ion@desk:~>

Hi

Hope this helps, but I suspect you are already know all this…

NM

NM is shown in system tray. Is system tray added to the panel?

nm-connection-editor, nmtui, nmcli

What do you want to show with it?

Yes I have a running system tray. I managed to change connections via CLI, but it would be easier to change using the tray icon, otherwise I have to go looking for the CLI command. In any case I am trying to correct something that should be there. It was before.

So, let’s start from the beginning. Is nm-applet running (I assume, that is what you miss)?

Well it looks like it’s running.

ion@desk:~> nm-applet

(nm-applet:15168): dbind-WARNING **: 10:50:32.300: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
ion@desk:~> sudo nm-applet
[sudo] password for root: 

(nm-applet:15231): Gtk-WARNING **: 10:50:59.581: cannot open display: 
ion@desk:~>

You check if a program is running by looking into the list of active processes with e.g.

ps -ef | grep nm-applet

Could be you enabled the

XembedSniProxy
in the aplication autostart
Try disabling it and logout and login

It appears to be running.

on@desk:~> ps -ef | grep nm-applet
ion       1865  1627  0 19:38 ?        00:00:00 nm-applet --indicator
ion       6741  6388  0 19:45 pts/1    00:00:00 grep --color=auto nm-applet
ion@desk:~>

This is what my autostart/NetworkManager.desktop file looks like. Nothing unusual I can see.

[Desktop Entry]
Encoding=UTF-8
Version=0.9.4
Type=Application
Name=NetworkManager
Comment=
Exec=NetworkManager
OnlyShowIn=XFCE;
RunHook=0
StartupNotify=false
Terminal=false
Hidden=false

See image of the autostart:
Screenshot_20241212_215741

NetworkManager activated.

Check if the XembedSniProxy is enabled, you have to disable it. Then logout
login to see if the applet will show in the status tray plugin in your panel.

Where would I find XembedSniProxy? Which file?

Please see the image I posted. You will see it. Find it on your’s also at the bottom.
If it has a check uncheck it. Are you sure you have your status tray plugin in your xfce4-panel?

How do you know?

ps -efww | grep -i tray

No XembedSniProxy is definitely not enabled in Session and Startup>Application Autostart

This is what I get.

ion@desk:~> ps -efww | grep -i tray
ion 3440 3401 0 15:55 pts/1 00:00:00 grep --color=auto -i tray
ion@desk:~>

So, systray is not running even if you claimed it was.

I apologise. I thought it was running because I see a Volume icon in my panel. So how do I add it to start on boot up?