Hacker News new | ask | show | jobs
by mdellabitta 4944 days ago
I did that too, but I went the extra step of writing a little Ruby script to switch between them based on the number of outputs xrandr says is connected, and then I bound that to a keyboard shortcut, so I don't have to mess around in the terminal. I just hit ctrl-alt-M.

https://gist.github.com/4171654