|Summary:||xrandr --output LVDS --prefs should output preferences to only one monitor|
|Component:||App/xrandr||Assignee:||Keith Packard <keithp>|
|Status:||RESOLVED MOVED||QA Contact:||Xorg Project Team <xorg-team>|
|i915 platform:||i915 features:|
Description paulo 2018-03-01 14:18:58 UTC
xrandr output is 'all or nothing' which makes it very hard to script with grep and awk. Finding connected monitors is 'easy' because the ' connected ' string is in the same line as the monitor name. However, finding properties for a single monitor is actually very hard to do (to the point there are 'parsers' libraries only for xrandr output in the wild). Obviously, the output is structured already but it's quite unfriendly to 'casual' script hacking usage. My suggestion is to make some combinations that do nothing today, such as xrandr --output MONITOR --prefs xrandr --output MONITOR -q xrandr --output MONITOR (maybe) to output the section of the information from the correspondent command without '--output MONITOR' relating to the specified device.
Comment 1 GitLab Migration User 2018-08-10 20:34:57 UTC
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/app/xrandr/issues/37.