The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

How can I use NetworkManager with i3?

asked Jun 4 '12

Michael gravatar image

When running i3, how can I use NetworkManager to configure wireless/wired connections?

4 answers

Sort by » oldest newest most voted
1

answered Jun 4 '12

this post is marked as community wiki

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.

Comments

This works and has worked for me for a few years. However, I've had strange issues with mouse under-clicks after resume. I never known it's related to nm, but when I stopped using it, the issues stopped. I'm now using netctl.

yhager gravatar imageyhager (Jan 25 '15)edit
2

answered Jun 5 '12

Benoitt gravatar image

You can also use Wicd-ncurses who is a cli software for network management.

Comments

That is totally awesome. Thanks a bunch.

majkinetor gravatar imagemajkinetor (Jun 14 '14)edit
1

answered Jun 5 '12

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.

Comments

This is a GTK bug which will be fixed in the next release. It used to work before the current release.

Michael gravatar imageMichael (Jun 6 '12)edit

Seems to be corrected already, but not yet upstream.

bruno.braga gravatar imagebruno.braga (Jun 6 '12)edit

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.

bruno.braga gravatar imagebruno.braga (Aug 3 '12)edit
0

answered Jun 26 '14

smlb gravatar image

The latest Network Manager update has a nice curses interface, btw I prefer wicd-curses as said before.

Comments

Which version? I have the latest 0.9.8.10 from Debian sid but there is nothing like that.

bonidydy gravatar imagebonidydy (Jun 27 '14)edit

Question Tools

2 followers

Stats

Asked: Jun 4 '12

Seen: 28,300 times

Last updated: Jun 26 '14