News for hackers. Stuff that matters.
Re:Xmonad – A dynamically tiling X11 window manager by ibab on Tuesday April 07, 2015 @07:34AM (#9333197)
XMonad has been my window manager of choice for years now. I especially like that the code is short and easy to understand, so you can easily modify it (or write an extension) if you want.

If you don't have previous Haskell experience, then other window managers like i3 or bspwm might be more comfortable.

Re:Xmonad – A dynamically tiling X11 window manager by sevensor on Tuesday April 07, 2015 @12:50PM (#9335325)
> If you don't have previous Haskell experience, then other window managers like i3 or bspwm might be more comfortable.

My biggest beef with xmonad is that its configuration file is itself Haskell source code. So even if xmonad is the only Haskell project I use, I have to pull in GHC to compile my configuration. Since I'm not a Haskell guy, this means that I'm easily tipped off the cliff into cabal hell, which is not where I want to be when updating my WM config. For all that, xmonad is great when it works, and I stuck with it from 2011 to 2014 before moving on to i3.

Re:Xmonad – A dynamically tiling X11 window manager by IsTom on Tuesday April 07, 2015 @03:40PM (#9336598)
> Since I'm not a Haskell guy, this means that I'm easily tipped off the cliff into cabal hell

Even Haskell people find themselves easily in the cabal hell. Everyone is aware of the issue, but it's still not solved.

Re:Xmonad – A dynamically tiling X11 window manager by rlpb on Tuesday April 07, 2015 @06:17PM (#9337554)
My distribution maintainers deal with the cabal hell so I don't have to. I just use the xmonad package and it just works, including with a configuration file.
Re:Xmonad – A dynamically tiling X11 window manager by sevensor on Wednesday April 08, 2015 @10:40AM (#9341050)
I found that this approach worked right up to the point where I tried to make non-trivial changes to the config, following examples from the xmonad website. If you want your config to use a Haskell package that's not provided by your distro, as many of the config examples do, you're out of luck unless you want to take the cabal route.

It's possible this situation has improved since last year, when I switched to i3, but it can never be fully rectified as long as the config file is itself Haskell source. I find it surprising that, despite the Haskell community's claims that Haskell is great for writing domain-specific languages, xmonad does not expose a DSL for you to configure it with.

Re:Xmonad – A dynamically tiling X11 window manager by rlpb on Wednesday April 08, 2015 @11:33AM (#9341406)
> I find it surprising that, despite the Haskell community's claims that Haskell is great for writing domain-specific languages, xmonad does not expose a DSL for you to configure it with.

I presume it's nice that you can actually customize xmonad with code. So an appropriate DSL would be a programming language so using Haskell makes sense. Any other DSL would be more limiting.

> If you want your config to use a Haskell package that's not provided by your distro, as many of the config examples do, you're out of luck unless you want to take the cabal route.

I can understand that this would cause pain. I suppose it's up to cabal and/or distros to fix this.

Re:Xmonad – A dynamically tiling X11 window manager by sevensor on Wednesday April 08, 2015 @04:51PM (#9343885)
> I presume it's nice that you can actually customize xmonad with code. So an appropriate DSL would be a programming language so using Haskell makes sense. Any other DSL would be more limiting.

You've hit the nail on the head here --- the problem is that xmonad offers an unlimited scope for configuration, including extensions to the behavior of xmonad. I'd rather see a clear separation between mechanisms for configuration and extension, even if that reduces the power of configuration.

Re:Xmonad – A dynamically tiling X11 window manager by fortytw2 on Tuesday April 07, 2015 @12:21PM (#9335090)
Its multiple monitor support is the single best of any window manager on any OS that I've ever used.
Re:Xmonad – A dynamically tiling X11 window manager by Filligree on Tuesday April 07, 2015 @01:25PM (#9335598)
It breaks the window manager standard. Occasionally, you'll see apps that break as a result; you'll want to unbind C-z in Emacs, for example.

There's a bug open for KDE explicitly asking for xmonad-like mutiple monitor support, which is marked WONTFIX as a result. But yes, I absolutely adore xmonad's take on it, and it's well worth the occasional glitches.

Re:Xmonad – A dynamically tiling X11 window manager by platz on Tuesday April 07, 2015 @11:48AM (#9334875)
I love i3 and have gotten quite used to it. Although now that I do have haskell experience, I kind of wish I'd ramped up on XMonad. Of course, I'd try to configure it to behave just like i3 (especially with regard to the hierarchical containers, pretty sure XMonad doesn't do that OOTB), so now I'm not sure if I should switch ;)
Re:Xmonad – A dynamically tiling X11 window manager by fernandotakai on Tuesday April 07, 2015 @12:24PM (#9335121)
i tried using i3, but the behaviour when it comes to spaces made me mad (create on use instead of create a bunch of them).

right now awesomewm does everything i need and config being in lua helps a ton with readability and flexibility.

Re:Xmonad – A dynamically tiling X11 window manager by na85 on Tuesday April 07, 2015 @01:16PM (#9335537)
High five. I found awesome wm to be significantly superior to i3 OOTB, and with a little setup it really lives up to the name "awesome".

Super+e to open emacs, and then having emacs automatically sent/assigned to the tag/workspace titled "emacs"? Love it.

But my fav is having the "Menu" key bound to "open urxvt". Super convenient.

Re:Xmonad – A dynamically tiling X11 window manager by baldfat on Tuesday April 07, 2015 @03:51PM (#9336676)
I had the opposite. I switched from Awesome to i3 about three years ago.

I can do all of that in i3 with a simple text editor.

Re:Xmonad – A dynamically tiling X11 window manager by mpu on Tuesday April 07, 2015 @01:13PM (#9335512)
I used it for a while and liked it a lot because it taught me plenty of Haskell. But looking back, I find it a little over-engineered, and the Haskell code seems to be a game of abstraction more than anything else. I don't know what point they are proving, but a lot of code seems to be over-parameterized. IMO, these superfluous generalizations make the code opaque to beginners while not adding much functionality. This coding style seems to be a general trait (if I may) of the Haskell programs that is not present in typical OCaml code (which is why I tend to prefer the latter).
Re:Xmonad – A dynamically tiling X11 window manager by th0br0 on Tuesday April 07, 2015 @12:14PM (#9335045)
Plus the API is rock solid. I've been using my current config for about 4 years now (with 0.10 and 0.11) and things just worked. I remember the hellish experiences I had each time awesome was updated...
Re:Xmonad – A dynamically tiling X11 window manager by djfm on Tuesday April 07, 2015 @02:05PM (#9335873)
Probably an advantage of having your config itself written in Haskell: if it compiles, it is very likely to work as expected :)
Re:Xmonad – A dynamically tiling X11 window manager by Crito on Tuesday April 07, 2015 @02:41PM (#9336106)
Awesome breaking config so often is the reason why I currently run it with default configuration only. It sounds like I should give xmonad another look.
Re:Xmonad – A dynamically tiling X11 window manager by codingbinary on Tuesday April 07, 2015 @10:23AM (#9334224)
Can't agree more. XMonad is what I based my Rust window manager on. Nice, clean, easy to understand code base. No other window manager gave me so many insights into how a WM works.
Re:Xmonad – A dynamically tiling X11 window manager by upofadown on Tuesday April 07, 2015 @06:24PM (#9337592)
I have no background or interest in Haskell but have no particular problem configuring Xmonad. I just cut and paste. The only thing I needed to learn was how the separators nested in Haskell.

It would be different if there was a lot of configuration to do, but simplicity is the whole point here.