How can I use NetworkManager with i3?
When running i3, how can I use NetworkManager to configure wireless/wired connections?
When running i3, how can I use NetworkManager to configure wireless/wired connections?
answered 2012-06-04 13:12:06 +0000
This post is a wiki. Anyone with karma >100 is welcome to improve it.
Just start nm-applet
when launching i3. So, in your i3 configuration file ~/.i3/config
, add a line saying:
exec --no-startup-id nm-applet
Also note that you need to have a proper ConsoleKit session running to be authorized to use NetworkManager. You can verify that using ck-list-sessions | grep is-local
which should print is-local = TRUE
. In case you see FALSE there, use a display manager like gdm to login and start i3. It will not work with xdm currently (as of 2012-06-04), unless you use a patched version.
You can also use Wicd-ncurses who is a cli software for network management.
Another caveat is that nm-applet's tray icon is too big to the i3bar, so it shows a blank space (even though is there). I preferred wicd-client, which has more controls over the networking and the tray icon shows up correctly.
Just noticed that the icon for mobile broadband does not show up in Network Manager, not even with VERY BIG fonts, so I guess for that icon specifically there might be something more to it.
The latest Network Manager update has a nice curses interface, btw I prefer wicd-curses
as said before.
Asked: 2012-06-04 13:11:01 +0000
Seen: 28,300 times
Last updated: Jun 26 '14