Every time i login i get 6 or so nm-applet (from NetworkManager) running. The same happens if i logout without any of them running. No differences with "Launch Gnome services on startup" set or not.
FIY the same bug in ubuntu launchpad: https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/47825
Created attachment 1609 session file from ~/.cache/sessions This is where the multiple nm-applet come from, HTH
Do you have nm-applet in your autostart list as well as in the session?
(In reply to comment #3) > Do you have nm-applet in your autostart list as well as in the session? no i don't.
I really don't think this is an xfce4-session bug, but a problem with nm-applet. It seems to be one of the few apps that misbehave, so I'd be more inclined to pin it on nm-applet. Have you tried the troubleshooting steps listed in the launchpad bug?
(In reply to comment #5) > I really don't think this is an xfce4-session bug, but a problem with > nm-applet. It seems to be one of the few apps that misbehave, so I'd be more > inclined to pin it on nm-applet. Have you tried the troubleshooting steps > listed in the launchpad bug? I fixed that by hand long time ago and stopped to use network manager more or less at the same time. Now I've removed my session file and i've tried to replicate the multiple nm-applet entries in it. Unfortunately I can't reproduce that anymore, since this is what the issue is about feel free to close. Thank you anyway.
Ok, I think I know what's happening, but I don't think it's fixable. At some point, gtk (maybe as of 2.12, maybe earlier or later, not sure) started setting the WM_COMMAND property on all toplevel gtk windows to the command used to start the application that created the window. xfce4-session supports legacy X11R5 session management, which considers any app with WM_COMMAND set to be savable in the session. So, if your xfce4-session is compiled with legacy session management enabled (it should be by default), *any* gtk app can get saved in the session. And since nm-applet is also in autostart, it'll get started as a part of the session, and as a part of autostart. Unfortunately, there's really no way to fix this right now. Currently xfce4-session has no way of knowing if an app started via autostart is the same as an app started in the session. So basically you're going to have to start up Xfce with nm-applet in autostart, then remove it from autostart, and then logout, saving your session with nm-applet still running. Then the next time you start Xfce, it should load nm-applet out of the session only. If this works, please let me know, so we can confirm that I'm correct as to what's happening here.
Reassign to xfce-bugs@xfce.org.
*** Bug 5296 has been marked as a duplicate of this bug. ***
Bug 5123 has more feedback about this, let's merge everything. *** This bug has been marked as a duplicate of bug 5123 ***