Closed maciex closed 12 years ago
I picked your commits in my tree, for patching xrandr please take a look at this commit: https://github.com/wertarbyte/xrandr/commit/a2abe6d3989334966dcee39fb13c23ebeaeb63b5
I already proposed such a change to xrandr to dump the entire configuration in an easily parsable format, however it has not been merged. Perhaps you can re-propose the change :)
Feature 1: I added a pm-utils hook, using it user will get autorandr's profile detected on resume from hibernation/suspend.
Feature 2: Detecting which output is primary and saving it to config. It's done using xdpyinfo. This is the only working command line solution I figured out. I plan to write a patch for xrandr to report which output is primary. Then ask xrandr developers if it's OK and if they can merge it. So there will be a cleaner solution.
Fix: My xrandr is reporting "unknown connection" for one of the outputs, so I added it as "off" to config: [code] $ xrandr Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 8192 x 8192 LVDS-1 unknown connection (normal left inverted right x axis y axis) 1680x1050 60.1 + 60.0 50.1