Harry R. Schwartz

Code writer, sometime Internet enthusiast, attractive nuisance.

The author at the Palais du Luxembourg in Paris, November 2022. hacker news gitlab sourcehut pinboard librarything 1B41 8F2C 23DE DD9C 807E A74F 841B 3DAE 25AE 721B

Vancouver

British Columbia

Canada

vegan


Just a Reminder That arandr Exists

hrs

Published .
Tags: computer-science, unix.

I was at a functional programming conference a few years back, watching a series of lightning talks, and I happened to be sitting right behind the queue of upcoming presenters. I’m pretty nosy, so I looked over their shoulders and checked out their screens. Most of the speakers were using Macs, but several of ‘em were using the minimal window manager xmonad.

The next presenter was one of these. As the current speaker solicited questions and the time drew near for him to plug his laptop into the projector, I noticed that he was browsing, with increasing panic, through the xrandr man page. I can feel no deeper sympathy.

I’ve been there, and that’s no fun. Which is why I was so delighted to learn about arandr! It’s a simple window-manager-independent drag-and-drop GUI for positioning monitors.

Aside from being a great interface, arandr also provides an export mechanism. Once you’ve found a monitor configuration you like, you can export it into a shell script (containing a well-crafted invocation of xrandr).


You might like these textually similar articles: