[Pkg-utopia-maintainers] Bug#782455: Bug#782455: network-manager-gnome: autostarted but not needed by gnome-shell ?

Dan Williams dcbw at redhat.com
Mon Apr 27 20:00:42 UTC 2015


On Mon, 2015-04-27 at 18:35 +0200, Michael Biebl wrote:
> Am 12.04.2015 um 15:15 schrieb Jérémy Lal:
> > Package: network-manager-gnome
> > Version: 0.9.10.0-2
> > Severity: normal
> > 
> > Dear Maintainer,
> > 
> > In a gnome-shell session, i see that "nm-applet" is automatically
> > started, indeed by the fact network-manager-gnome installs
> > /etc/xdg/autostart/nm-applet.desktop.
> > However, this program is apparently not used at all by gnome-shell,
> > and not even accessible when started.
> > 
> > So i question two things here:
> > 
> > * why it is a dependency of gnome though it is not needed in the
> >   default gnome-shell session ?
> > * shouldn't network-connection-editor be in a separate package,
> >   allowing one to install it without autostarting nm-applet ?
> 
> Afair, nm-applet was still autostarted for by gnome-shell to provide the
> VPN auth dialogs/secrets. I don't think this is the case anymore today,
> but I'm not totally sure. [1] indicates that it is no longer necessary.

GNOME autostart was disabled by d6ffe34dc092926fb949449c182e8f27722b6b8b
(2013-07-29) and then the shell watcher code was reworked and autostart
was re-enabled by e192e83c1aa136512a9d4f026f81677799af8127 (2013-10-10).

So yeah, it's re-autostarted now, and I guess that should be disabled.
GNOME Shell has handled VPN auth dialogs since version 3.4 or something
like that (almost 3 years old).  I've committed a change to the applet's
git master to disable autostart again.

On the subject of splitting nm-connection-manager from nm-applet in
packages, yes, I'd recommend that.  I would have 3 packages generated
from the network-manager-applet git repo:

nm-applet
nm-connection-editor
libnm-gtk
libnma (replacement for libnm-gtk for NM 1.1+, no dbus-glib deps)

Dan

> The commit message also says, that nm-applet is no longer autostarted
> under GNOME Shell, which apparently is false.
> 
> So maybe this an oversight by upstream.
> 
> CCing Dan and Pavel for their input.
> 
> Michael
> 
> [1]
> https://git.gnome.org/browse/network-manager-applet/commit/?id=4473e6a48fcfda1d87d4a4bc9f5c0589235dcfe0



More information about the Pkg-utopia-maintainers mailing list