Skip to content

Make xrandr config permanent

Aurélien Ooms edited this page Aug 21, 2018 · 6 revisions

Install autorandr

pacman -S autorandr

Apply config (for instance, by running laptop.office.duo)

laptop.office.duo

Save current config

autorandr --save duo

Create a file /etc/X11/xinit/xinitrc.d/10-autorandr.sh with the following contents

#!/bin/sh
[ -x /usr/bin/autorandr ] && /usr/bin/autorandr --change

Logout/login.

Clone this wiki locally