Re: Display the network manager applet by command line
- From: Dan Williams <dcbw redhat com>
- To: Julien Briche <julien briche robopec com>
- Cc: networkmanager-list gnome org
- Subject: Re: Display the network manager applet by command line
- Date: Thu, 08 Sep 2011 12:39:18 -0500
On Wed, 2011-09-07 at 08:51 +0200, Julien Briche wrote:
> I am currently working on a ubuntu 10.10 and using NetworkManager APplet
> I would like to display the network manager applet by a command line but
> couldn't find any.
> Actually, if I click on the network-manager applet icon on the panel,
> the applet appears, but I want it to appear without clicking.
> I tried any soft provided by network manager, and also tried to
> dbus-monitor the appearance of the applet but nothing happens on
> dbus-monitor on click.
Two considerations here. First, if you're using the stock nm-applet,
you need to have a "notification area" applet on your panel, which is
what nm-applet embeds itself in. Most desktops (Gnome, KDE, XFCE, etc)
have a notification area.
However, if you're using Ubuntu 10.10 or later, Ubuntu-specific
modifications to nm-applet make the applet present itself using the
generic menu indicator system (libindicator) and thus you have to have
something that provides that indicator interface that nm-applet can talk
Assumign you have the pre-requisites, you can simply type:
and that will start nm-applet and return you to the command prompt. Or
use your favorite login/session manager to simply
spawn /usr/bin/nm-applet and it should show up.
] [Thread Prev