i810: missing modes when unpluging CRT
ross at burtonini.com
Mon Feb 5 12:29:33 PST 2007
On Mon, 2007-02-05 at 09:55 -0800, Dan Nicholson wrote:
> I have no idea about the modesetting part, but that shell logic won't
> work. The "if [ ... ]" is just checking whether the $? string is empty
> or not. It will always have a character, so that test is always true.
> This would work (except, you don't test success of xrandr itself, only
> the grep):
Yay, thanks for pointing out my foolish shell code. The script now
works -- next to bind it to Fn-F7 and I'm done.
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
More information about the xorg