But there is one thing that i love to use from the Gnome stack though, and it is Network Manager. Network Manager has improved so much, and the current version works well and is quite reliable. The downside to using Network Manager though is that it is tightly integrated with the Gnome Stack(viz. ConsoleKit, PolicyKit et.al), understandably so.
So with SLIM as my login manager and Xmonad as the window manager, there are some problems that i enounter from time to time. The latest one being not able to connect to any new wireless networks (debian/testing). Looking at /var/log/messages, i found:
** (nm-applet:1715): WARNING **: Failed to add/activate connection: (32) Insufficient privileges.
I figured that it must be a consolekit/policykit problem. I remember from when i was making the move to Xmonad, that i had to launch using 'ck-launch-session', so i modified the login_cmd entry /etc/slim.conf to:
login_cmd exec ck-launch-session /bin/bash -login /etc/X11/Xsession %sessionAnd in ~/.xsession file i run:
And after i logged out and logged back in, Network Manager is back in action again.
Alternatively, one could create a file /etc/polkit-1/localauthority/50-local.d/o
And make sure that the user you intend to provide access to is in the netdev group. The above file gives permission to everybody in the netdev group. Personally, I prefer the former, since I think it is the "right way"[TM] to achieve what i want to. But again, this is Linux, and there is no one way to do anything. So feel free to chose what you prefer doing.