122 points · by liangzan · 14y ago · 81 comments
ShiftIt: https://github.com/fikovnik/ShiftIt
TileWindows: http://www.carsten-mielke.com/tilewindows.html
Mercury Mover: http://www.heliumfoot.com/mercurymover/
... Or if you like mouse control of window placement:
MondoMouse: http://www.atomicbird.com/mondomouse
Zooom/2: http://coderage-software.com/zooom/index_green/index.html
Cinch: http://www.irradiatedsoftware.com/cinch/
... Or if you like a bit of both keyboard and mouse:
Optimal Layout: http://most-advantageous.com/optimal-layout/
Arrange: http://www.trifle.pl/arrange.html
Divvy: http://mizage.com/divvy/
BetterTouchTool and BetterSnapTool: http://blog.boastr.net/
Flexiglass: http://www.nulana.com/flexiglass
Moom: http://manytricks.com/moom/
And throwing this one in to just show that it can get exotic:
http://infinite-labs.net/afloat/
.... I could go on. OS X does not lack for people who disagree with Apple's idea of window management. There's lots of tools out there, if you just look for them :)
http://spectacleapp.com/ https://github.com/eczarny/spectacle
Just yesterday I found ShadowKiller[1] that removes window shadows for all OSX windows, making it feel even more like a true tiling window manager.
The public 1.5 versions on GitHub are missing one important feature: pushing the current window to a second monitor. This is available on the 1.6 branch. I couldn't get it to build with Xcode on OS X Lion, but the author has a very stable 1.6 binary available for download:
https://github.com/fikovnik/ShiftIt/issues/72#issuecomment-3...
Working in OSX with Vim and console is painful after the Linux experience. Installing lots of utilities might help, but I chose to install Ubuntu with Xmonad and after couple of hours I had my favorite environment ready for productive work.
I know that the support for newer Apple technologies is not so good in Linux, so when this old laptop finally dies I need to buy a new one from some other manufacturer.
What model is preferable nowadays? There are not lots of shops to test them at least in Berlin. I want 13" and lightweight, but still powerful enough laptop. Lots of ram, i7 CPU and a SSD disk. The most important thing is an excellent keyboard and touchpad. I heard Lenovo is not using the old and excellent keyboard in their laptops anymore and I haven't tested the new one yet.
One of the nice things about it was that the volume / brightness hotkeys were hooked into the BIOS so I could use them even when the OS was locked. I believe all ThinkPads are like this. I miss this on my current laptop.
Last I checked none of the available bolt-ons (including Sizeup which the author proposes) would come anywhere near a true tiling WM.
The only candidate that would even try to automatically tile windows was TylerWM - but that was buggy as hell. All the others only act on keyboard-shortcuts, which largely defeats the purpose.
I'd happily pay $200+ for ion3 as a native OSX WM. The OSX window manager is just absurdly terrible.
Disclosure: I'm a dmenu developer.
I actually ported dmenu to OCaml solely to add this feature: http://technomancy.us/152
It is indeed promising, but like you I cannot recommend it to anyone until they have fixed several critical bugs.
Slate for window management: https://github.com/jigish/slate
Quicksilver for launching: http://qsapp.com/
I hear you on the maximizing thing; I ended up finding a program called Shift (http://shift-it.en.softonic.com/mac) works very well to maximize, snap a window to just the left or right half of the screen, etc. Hope that helps!
Here you will find the following shortcuts:
Mission Control
Application windows
Move left a space
Move right a space
Switch to desktop N (number of entries up to N appearing varies with current number N of dynamic Spaces)
Also: Move focus to active or next window
By default and depending whether you upgraded to Lion and what your previous settings were the base mod key may be Command, Control or Command+Control. If you installed from scratch it's Control.Then, shortcuts are:
- Ctrl+Up/Down to enter MC/App Exposé
- Ctrl+Left/Right/1/2/3/4 to change Spaces (works on the desktop and in MC)
- Command+` (and Tab/Shift+Tab) cycles apps in App Exposé.
- Arrows allow one to select a window in App Exposé
On a laptop, the touchpad is right below the keyboard and I usually trigger MC with a 3f swipe, F3 or Control+Down (depends on my zone level) and select the window with index (when swipe-triggered) or thumb (when keyboard triggered). When using a mouse, I'm using a Logitech MediaPlay at home and a Logitech MX900 at work, which have two awesomely placed thumb buttons, which map perfectly to Mission Control and App Exposé (the button choices appear in the rightmost combos in System Settings -> Mission Control if you have a sufficiently buttoned mouse). Using another mouse than Magic Mouse I lose the brilliant touch/inertia scroll, but the two-finger double-tab gesture is completely ridiculous and a total pain.
Comparatively, Command+Tab is only fine when I'm toggling between two apps which have a single window, else the whole target app windows cover the previous one, which defeats my extensive use of Window Magnet. Also I have 1) a high chance of not landing into the proper window this way, and 2) a high chance of toggling between three apps, in which case Command+Tab is inefficient. Also I find it egregious that one keeps open Command+Tab by keeping Command down, then drill down to App Exposé, where you have to release command before moving with arrows and subsequently select a window with Return when it could be Command all the way then release to exit.
Also, when moving between terminal windows and tabs I use the build-in Next Window/Tab shortcut (Command+Left/Right, with Shift for tabs). I bound the same keys in MacVim for consistency.
Besides there's still lack a (non third party) keyboard way to:
- navigate between window groups/windows in MC
- add a new space
- move windows between spaces
- power management: Linux does not hold a candle to OSX (which is able to shutdown entire components like soundcard, webcam dynamically when not in use)
- Lion's external display+lid+sleep behavior: external screen+AC power makes lid-close sleep inoperant, so I can just plug both lid closed and my laptop wakes up to be a desktop (bluetooth input devices help a lot). Conversely unplugging either makes it go to sleep, back in laptop mode.
For your second point, just explicitly command your computer to do what you want. If you want it to go to sleep, type "acpitool -s". If you don't want it to go to sleep, don't type that.
If you like OS X, use it, but if you hate OS X and are only using it because of the two issues you list above, that's crazy :)
Now I have two further thoughts..
How does one use a data projector from an Apple laptop these days? Most projectors I come across are staunch VGA.
Is the X11 environment still available under the current MacOS? Just run Xmonad under that...
http://xquartz.macosforge.org/trac/wiki
Looks like a new version released a few days ago for current Mac OS X
I carry Thunderbolt-to-VGA, DVI, and HDMI adapters with my laptop at all times. It's kind of a pain, to be honest.
In what way?
Second, they do all sorts of stupid non-standard stuff, so you can't use KMS, a framebuffer or xrandr[1]. The GUI application for managing monitors sucks balls and isn't scriptable. I happen to use some older monitors, and that gives me all sorts of pains, too.
To be somewhat fair, it used to be even worse. But it's still nowhere near decent, and will never be unless they open the specs and release the source for the drivers.
In the future, I will exclusively use Intel Graphics. While they aren't perfect either (from what I could gather), at least the drivers are open, which already places them light-years ahead of nvidia and ATI. For the record, my netbook never had a single graphics-related problem, while I lost count of how often I cursed nvidia for their shitty drivers on my desktop.
[1] Support was apparently added to the current beta, but I haven't tried it yet.
Linus Torvalds: "That said, I’m have to admit being a bit baffled by how nobody else seems to have done what Apple did with the Macbook Air – even several years after the first release, the other notebook vendors continue to push those ugly and clunky things. Yes, there are vendors that have tried to emulate it, but usually pretty badly. I don’t think I’m unusual in preferring my laptop to be thin and light."
http://techcrunch.com/2012/04/19/an-interview-with-millenium...
I used a 15" MBP for a long time without missing a tiling window manager that much... but the problem was exaggerated when I started using a 27" imac. So I looked around and started using spectacle. Great utility. I use Quicksilver's "open application" custom triggers to get the app switching behavior, so I finally have a use for F15-F19 (on the very left side of my keyboard)! It has made a big difference for me.
One problem I would like to solve is switching between multiple emacsen. I have an 8:00-5:00 job and work on my own stuff after that, and I like to keep my buffer lists separate (so I can't just use multiple frames). Therefore, I open emacs again from the terminal and I wish I could switch between them with quicksilver's shortcut. Alas, quicksilver always brings up the first one. Has anyone dealt with this?
Or do you earn such crazy amounts of money that you made enough money on that Monday to cover the cost of the new Mac and your time configuring it?
Edit: found [some options on wikipedia][1], but maybe you have any other sugestions.
[1]: http://en.wikipedia.org/wiki/Tiling_window_manager#3rd_party...
Where it falls down is when you deal with modal dialogue windows, like the "Save File As..." window of Firefox, or the "Find and Replace" window of Excel. I haven't found a good way to overcome the issue of those modal windows being hidden, even with the "-i ConsoleWindowClass -i #32770" ignore options. It seems like Firefox, Excel, and Photoshop implement some non-standard ways of opening smaller windows. In these situations, I quit HashTWM, deal with the modal window, and then start HashTWM again (using quick keyboard shortcuts).
https://github.com/tom-seddon/align_window2
If you like align_window2, you might also like dispswitch:
https://github.com/tom-seddon/dispswitch
(dispswitch and align_window2 will coexist.)
I use `bind t split-window \; select-layout main-vertical` to emulate Xmonads default layout behaviour.
It works because I spend most of my time in the terminal anyway. I miss having the browser - and the video player when doing repetitive or otherwise boring tasks! - in a pane, but keeping other apps out of the tile-management is fine as I'm, more often than not, switching context anyway.
You can create shortcuts for anything.
I have Alt+S for Safari, Cmd+~ for Terminal, Alt+M for TextMate, etc.
FWIW, you can easily compile and run it on OSX, under X. But of course it can't reach out and control any of the native applications.
(plus ignorant/simplistic: it's not like everything else related to one's OS use and needs will be the same).