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 2012-06-04 13:11:01 +0000

Michael gravatar image

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

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
1

answered 2012-06-04 13:12:06 +0000

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.

edit flag offensive delete link more

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 ( 2015-01-25 20:59:04 +0000 )edit
2

answered 2012-06-05 12:58:45 +0000

Benoitt gravatar image

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

edit flag offensive delete link more

Comments

That is totally awesome. Thanks a bunch.

majkinetor gravatar imagemajkinetor ( 2014-06-14 21:08:18 +0000 )edit
1

answered 2012-06-05 23:18:43 +0000

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.

edit flag offensive delete link more

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 ( 2012-06-06 04:27:46 +0000 )edit

Seems to be corrected already, but not yet upstream.

bruno.braga gravatar imagebruno.braga ( 2012-06-06 08:43:54 +0000 )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 ( 2012-08-03 01:17:54 +0000 )edit
0

answered 2014-06-26 21:28:03 +0000

smlb gravatar image

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

edit flag offensive delete link more

Comments

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

bonidydy gravatar imagebonidydy ( 2014-06-27 07:49:19 +0000 )edit

Question Tools

2 followers

Stats

Asked: 2012-06-04 13:11:01 +0000

Seen: 28,300 times

Last updated: Jun 26 '14