7 ms·
Using Xmonad on OS X
- archgoon 11y agoNote that XMonad, as the name implies; will only work with Mac windows that are being managed by X. Standard mac windows will not be affected.
- jzelinskie 11y agoThe reasonable solution is to use one of the many native tiling applications for OSX. I personally use Spectacle[0], but there are many others[1]. They aren't xmonad, but then again OSX isn't Linux. [0]: https://www.spectacleapp.com/ https://www.spectacleapp.com/ [1]: https://apple.stackexchange.com/questions/9659/what-window-management-options-exist-for-os-x https://apple.stackexchange.com/questions/9659/what-window-m...
- nilkn 11y agoSpectacle is more about moving and tiling individual windows whereas xmonad is more about automatically controlling and tiling your entire desktop space with less direct user management over the windows.
- chimeracoder 11y agoDisclaimer: I run OS X at work and Linux on all of my personal machines. > The reasonable solution is to use one of the many native tiling applications for OSX. As an i3 user (and former wmii user, and former xmonad user), I find it really frustrating to use tiling window management that doesn't support focus-follows-mouse. This rules out things like Spectacle, Divvy, etc. At a second level, I find that all of OS X's tiling applications have inferior support for workspaces on dual-monitor setups compared to i3/wmii[0] and xmonad. Unfortunately, on Aqua (OS X), there's basically no way to do proper focus-follows-mouse support. There is one app that fakes it (I think Amethyst), but the latency is annoyingly high. [0] heck, wmii has better support for workspaces on dual-monitor setups, which is saying something, because it literally doesn't have support for dual monitors at all - you can only run dual-head X11, which is a terrible hack.
- mariusmg 11y agoSadly all the tiling window managers i've tried suck on multi monitors though. When i switched to 3 monitors i gave up on tiling wm (for once with 3 monitors i had A LOT more space).
- Filligree 11y agoXMonad has the feature that you can freely swap workspaces between screens. For example, you can show workspace 1 on screen 1, 2 on screen 2, and then switch them around to 3->1, 1->2, or any other combination you prefer. This is a killer feature for me, and I've never found any other WM capable of doing that.
- mikepurvis 11y agoThat's amazing, I would love if OS X did that natively.
- jbombadil 11y agoAre you talking about tiling window managers on OS X or in general? If it's the general case, I have to disagree. XMonad is absolutely fantastic on multi monitors. The two things I liked to most were Mod+e or Mod+w to change focus to the previous and next monitor, and the ability to actually move an entire workspace to another monitor with the press of a button. This is obviously just my opinion. In the end, it's a mere matter of personal choice.
- chimeracoder 11y ago> Sadly all the tiling window managers i've tried suck on multi monitors though. When i switched to 3 monitors i gave up on tiling wm (for once with 3 monitors i had A LOT more space). Even i3? I've only ever used i3 on two monitors[0], but it's been great for that. I'd also be a little surprised, just because multi-monitor support was quite literally the reason that i3 was created (wmii does not support dual monitors). [0] I'd love to hook up my third monitor, but I much prefer having 2 4K screens at 60Hz to having 3 4K screens at 30Hz
- de_Selby 11y agoPeople always reply citing spectacle et al, but the only window manager that actually has full tiling features I've come across is kwm, which has only recently been developed and is experimental and prone to crashing. Amethyst was passable, but it was very laggy when I last used it. Maybe I should give it another try. I used xmonad a lot when I was using linux but haven't tried it out on OS X. I'll give this a try.
- tjl 11y agoWhat about Hammerspoon? http://www.hammerspoon.org http://www.hammerspoon.org It's the successor to Mjolnir listed on that Stackexchange post. A group of people forked it because Mjolnir was a bit fiddly since you need to use a Lua package manager to install extensions for Mjolnir. Plus, Hammerspoon is pretty actively developed while I don't think Mjolnir has had an update in a very long time.
- krisdol 11y agoI use spectacle as well, but it's drastically different from xmonad. One is a tiling helper, the other is an auto-tiling window-manager replacement.
- burntcookie90 11y agoCheck out amethyst https://github.com/ianyh/Amethyst https://github.com/ianyh/Amethyst
- timjstewart 11y agoIt's the closest thing I've seen to XMonad for Mac OS X but it could benefit from some performance tuning (unless Mac OS X is the bottleneck).
- LukeHoersten 11y agoI was an avid Xmonad user on my Linux desktop but never was able to get it working quite right on OS X. I would love if that would change. Unfortunately I don't see anything new on the link posted here.
- samet 11y agoAmong all of those, I would write the very same things. Thanks @LukeHoersten.
- nextos 11y agoOne of the big drivers for me to switch back to Linux 7 years ago was Xmonad. It's a fantastic and extremely elegant piece of software from many points of view. The only little glitch is that you need ghc to use it and that's a rather big dependency.
- sadgit 11y agoDoesn't have to be an issue with the appropriate PPA. https://launchpad.net/~hvr/+archive/ubuntu/ghc https://launchpad.net/~hvr/+archive/ubuntu/ghc
- smcl 11y agoIn case anyone missed it - here's another tiling window manager for OS X that popped up a few weeks back on HN: https://github.com/koekeishiya/kwm https://github.com/koekeishiya/kwm It's quite pretty: http://imgur.com/a/tWBSg http://imgur.com/a/tWBSg
- jonsterling 11y agoDoes anyone know what that borderless terminal is?
- kleptako 11y agoiTerm 2 probably
- ptomato 11y agoalmost certainly iTerm. You can config an iTerm profile to have borderless windows in recent-ish versions.
- jonsterling 11y agoOh, interesting... I just looked for it, and I found that there are patched versions of iTerm that are borderless; is there actually a way to configure standard iTerm in this way? that'd be great.
- ptomato 11y agoYup. Preferences > Profiles > [your profile] > Window > Style > No Title Bar
- jonsterling 11y agoAwesome, thanks! I just upgraded and it works great.
- Tehnix 11y agoThe iTerm2 beta features the borderless windows. You can grab a nightly build from https://www.iterm2.com/downloads.html https://www.iterm2.com/downloads.html. The settings is Preferences -> Profiles -> Window and then select "No Title Bar" in the drop-down for style.
- sneilan 11y agoGood luck trying to compile firefox / google chrome on X11 in OS X nowadays. Most of the software you'll really want isn't even there.
- chizzl 11y agoThere are things I miss about Xmonad on OS X, but for the most part, this setup is not for the faint of heart. Largely, relying on [u]xterm (which I thought would be a snap) has pitfalls. Overall, the small annoyances simply sum up to be quite the downer & time-suck. In action, Xmonad is quite the zippy experience; certainly Xmonad on Linux must be a joy. I use tmux now, which I guess is OK.
- nextos 11y agoWhy? I found even the basic configuration is good for me. All I need is dmenu, which is already pre-setup.
- pepijndevos 11y ago> Native Aqua windows do not support any kind of window manager mechanism; Apple scattered the functionality around within Core Graphics, WindowServer, and the application frameworks and didn't make any part of it replaceable. Neither XMonad nor any other X11 window manager will ever be able to manage native windows. Nuf said.
- ashishb 11y agoI blogged about my collection of tools here - http://ashishb.net/tech/mac-os-x-primer-part-3-window-management/ http://ashishb.net/tech/mac-os-x-primer-part-3-window-manage...
- michaelsbradley 11y agoI think many mac users here would find Phoenix[1] to be a decent solution. I've shared my config as a gist[2], which is somewhat inspired by (a subset of) the features of Optimal Layout[3], which I used for years before recently switching to Phoenix. My config code is not particularly DRY and almost certainly has memory leaks. Mainly, I wanted to get something working, the way I wanted. I'll clean it up... at some point. [1] https://github.com/kasper/phoenix https://github.com/kasper/phoenix [&] https://github.com/kasper/phoenix/wiki#examples https://github.com/kasper/phoenix/wiki#examples [2] https://gist.github.com/michaelsbradleyjr/e641907e3b1576fe3481 https://gist.github.com/michaelsbradleyjr/e641907e3b1576fe34... [3] http://most-advantageous.com/optimal-layout/ http://most-advantageous.com/optimal-layout/
- jrcii 11y agoI use Divvy, it works great :<
- adamrights 11y agohttps://wiki.archlinux.org/index.php/xmonad https://wiki.archlinux.org/index.php/xmonad. <-- good xmonad info here