Dual screen weirdness

Bug #911300 reported by Jan Henkins on 2012-01-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description


While this is not strictly speaking a bug (the script does exactly what it is supposed to do after all), this script runs into uncharted waters as soon as you have two or more screens connected to your machine. To illustrate, I run the following scenario at work:

jan@featherbat ~ $ xrandr
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+1920+312 (normal left inverted right x axis y axis) 293mm x 165mm
   1366x768 60.0*+ 40.0
VGA1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   1920x1080 60.0*+

My work lappy (could have been a desktop machine for the purpose of this report) has a native reso of 1366x768, and sits to the right of a 1920x1080 E2311 screen. The xrandr command used to set "res" in the script, of course comes back with two resolutions like this:

jan@featherbat ~ $ xrandr | awk '/\*/ {print $1}'

The end result is ffmpeg exits with an error, so you don't record anything. One can force the script to work by passing a static value to "$res".

So, while this is not a bug, it is still interesting behaviour. Can this be changed from a bug to a feature request?

Oh, and a happy new year Popey! :-)

Jan Henkins

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers