In trusty two network settings indicators come up in system tray

Bug #1256434 reported by Lyn Perrine
This bug affects 17 people
Affects Status Importance Assigned to Milestone
lxpanel (Ubuntu)

Bug Description is hardware info This is on the trusty i386 and was installed with alternate installer. Also trying to remove the system tray and add it back agian doesn't fix it.

I expected there to be one network indicator applet in virtualbox instead there were two of them.

Using lxpanel 0.6.1-ubuntu1

Tags: iso-testing
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lxpanel (Ubuntu):
status: New → Confirmed
Revision history for this message
Lars Noodén (larsnooden) wrote :

This is also present in the PPC Desktop image during the Live session.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

I found what I think is a workaround for this problem Launch default applications for LXSeisson Go to the entry for network manager Gui and select no in the drop down box of options log out and log back in. Then only one network manager show up in network applets. Although this workaround doesn't work when logging into openbox and then starting lxpanel it will still show two network manager applets.

Revision history for this message
Phill Whiteside (phillw) wrote :

Hi, I've spent some time with melodie to sort this out. Sadly, we do not have a fix. But, it is an alive bug and ianorlin will get in touch, we may be able to progress it.

Revision history for this message
Mélodie (meets) wrote :
Download full text (3.9 KiB)


I have done the research by myself later and found out that the guilty is precisely what ianorlin pointed to: the program "Default Applications for LXSession" which is in the "Menu > Preferences" menus. Or rather should I say, the default choices done there, and the default choices done times before it exists.

Here are the explanations:
What I already knew, is that nm-applet is usually started from a desktop file which is located under /etc/xdg/autostart : all desktop files located in that directory contain the "Exec=" line which is executed at the start of a session using Openbox (it can be lxde-openbox, gnome-openbox, or kde-openbox), provided that python-xdg is installed, and provided that another script, located in Ubuntu under /usr/lib/i386-linux-gnu/, the openbox-xdg-autostart python script is called (from another file located nearby or somewhere else in the system, I spare you this part).

So what we have in Lubuntu Trusty is simply a nm-applet which is started once by openbox-xdg-autostart, and once again by "/usr/bin/lxsession -s Lubuntu -e LXDE" (seen, not in the TV, but inside htop started in the console).

Maybe you wonder what that is about? I have done in console "lxsession --help" and found that the option '-s' is for the name of the session, and the '-e' is for the desktop environment.

What else was missing my dear Watson? :p

The name of the guilty file of course. To find it, I went into Synaptic, sought for all lubuntu packages name and descriptions and thought oh, a lubuntu-default-settings package! What's in there? I had a look at the list of files and from there, found the file which is under /home/melodie/.config/lxsession/Lubuntu, opened the file "desktop.conf" in Leafpad, and I could admire all the entries especially the ones default configured to be started at same time as the user session.

I did a copy of the file, removed the line related to nm-applet, did a logout/login: only one icon left. Then I remember what ianorlin found about the "Default Applications for LXSession" gui, and I changed from "nothing" to "nm-applet", the nm-applet line re appeared in the ~/.config/lxsession/Lubuntu/desktop.conf file.

The last thing I retried which phillw had already tried while we were talking about this on IRC, was removing the python-xdg package which is supposed to be what is needed for openbox-xdg-autostart to work: but well, removing it does not prevent the 2 icons from appearing, if the nm-applet.desktop file is still in the $PATH, and if the Lubuntu desktop.conf file still has instructions to start it. But if I remove nm-applet.desktop from the way, and leave just the one configured by the "Default Applications for LXSession" gui, then the icon appears once only. One mystery is still there: who can tell me what is the process which starts the programs whose desktop files are in /etc/xdg/autostart? The winner will earn the right to test the next Lubuntu Trusty Beta! \o/ !

All this can also lead further to the applications default started with openbox-xdg-autostart : other desktop files can be found in /etc/xdg/autostart, such as gnome-polkit-authentication-agent-1.desktop. And indeed it is started. And also l...


Revision history for this message
stavros daliakopoulos (stavrosd) wrote :

This bug affects me in lubuntu 13.10 install when I removed the nm-applet by accident. When I re-added it, I had two icons in tha tray.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

One workaround if you are bothered by having two is lxtask can terminate one of them and then only oen appears.

Revision history for this message
purpleoptic (spacefighter209) wrote :

By killing it in lxtask it just loads another

Revision history for this message
Lyn Perrine (walterorlin) wrote :

On the latest daily image for 1-27 it only loaded one network manager.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

But is in the live seisson on what is now todays seisson wonder if it is only guest for some reason.

Revision history for this message
Lyn Perrine (walterorlin) wrote :

Fixed in latest trusty daily in live seisson wehn it wasn't before.

Revision history for this message
Markcortbass (markcortbass) wrote :

I have one network icon with a fresh daily build of ubuntu 14.04. But after installing unity8-desktop-session-mir for testing, there are again 2 icons.

Icon 1 :
Icon 2:

Revision history for this message
Michał Sawicz (saviq) wrote :

That's because unity8 is using the next-gen network-indicator, which did not yet replace nm-applet for the desktop. Removing network-indicator will get rid of the second icon.

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

@Michal Sawicz, the bug is reproducible *without* having unity8-desktop-session-mir installed as well. I get it on my Trusty with the Phablet and the Core apps PPA added to my system. It is confusing to have two network indicators show up.

Revision history for this message
Jb (jebsolutions) wrote :

I installed Lubuntu 17.04 Alpha 2017-January-25th version.

The bottom taskbar has two network applet icons.

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for reporting this bug to Ubuntu.

Ubuntu 14.04 (trusty) reached end-of-life on April 25, 2019.

See this document for currently supported Ubuntu releases:

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test. If you then find the bug is still present in the newer Ubuntu version, please add a comment here telling us which new version it is in.

Changed in lxpanel (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for lxpanel (Ubuntu) because there has been no activity for 60 days.]

Changed in lxpanel (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.