Problems when device is connected but not used
maciex opened this issue · 0 comments
Hi
I have two screens LVDS and DVI, in this setup I want only the DVI screen to be setup. In this setup autorandr wanted to setup LVDS, insted of off.
This is my xrandr output:
$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 4096 x 4096
LVDS1 connected (normal left inverted right x axis y axis)
1400x1050 60.0 + 60.0 50.0
1280x1024 60.0
1280x960 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
DVI1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
1600x1200 60.0
1280x1024 60.0
1280x960 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 60.0
As you can see both devices are connected, but LVDS1 has no mode. The problem is that autorandr saved config looked like this:
$ cat /home/macieks/.autorandr//dock/config
output LVDS1
mode (normal
pos x
output VGA1
off
output DVI1
mode 1920x1200
pos 0x0
This of course will fail when passing to xrandr.
I created a fork of this repo with applied patch, after applying it devices disconnected and connected but with no mode will be set as --off.