I finally dug a 4k monitors out and plugged it into my laptop. Of
course, my laptop needs to use MST to drive it at 60Hz.

I got to fix version 2.24 of gtk+:

        https://bugzilla.gnome.org/show_bug.cgi?id=759912

Next, I wanted to automatically configure things when I plugged and
unplugged the external monitor.

A long time ago, I wrote a simple C program that monitored randr events
and ran scripts when things changed; this moves the policy out of the C
program and into a "simple" shell script:

        git://people.freedesktop.org/~keithp/x-on-resize.git

I'd had a workable shell script for a long time. I started trying to
hack that to also support MST configuration, but eventually decided to
abandon that and start over. I've added my new 'xrandr-auto' script to
the x-on-resize git repository. The MST monitor configuration bits are
general purpose, but there's a bit of policy about which monitor should
be primary, and how to lay monitors out in the screen.

This works for me; and can probably be hacked to work for others.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to