Re: Display the network manager applet by command line

On 08/09/2011 19:39, Dan Williams wrote:
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.


thanks for your answer but it is not what I looked for.
Actually the nm-applet is running and I can see its icon in the notification area (of gnome). What I want to do is to see the panel with all the networks available and all the options.
When I do type :

nm-applet &

, it ouputs:

 an instance of nm-applet is already running


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]