Gnome and KDE both change resolutions when I dock/undock my laptop.
They seem to do it automatically, more or less, based on the state of the computer. I'd like to have that behavior if I just run something like IceWM or Openbox. Or even XFCE.
Any recommendations?
I have in
/etc/udev/rules.d/80-monitor.rules
Then in
/etc/udev/monitors.sh
(marked executable):Some hints and catches with this example:
udevadm monitor --property
to figure out what to use.--off
to turn off all displays explicitly first before reconfiguring before xrandr allowed me to configure new ones. I think this is driver-dependent and not well documented.