Upgrade broke more than two monitors
sfrique opened this issue · comments
Henrique Santos Fernandes commented
Hello,
It used to work before, but now i get this error:
I run archlinux.
$ mons
Monitors: 3
Mode: selection
0: eDP1
3: DP1-2 (enabled)
4: DP1-3 (enabled)
sfrique@sfrique-e7470: ~
$ mons -S 3,4:R
At most two plugged monitors for this option.
I've used this command at startup, i have a dock that in total it makes3 monitors:
mons -S 3,4:R && xrandr --output DP1-2 --primary || ( mons -O 0 && xrandr --output eDP1 --primary)
Sorry, I have no time to debug now.
;) commented
Hi @sfrique, thanks for the feedback.
My apologies.
Indeed, the following condition blocks the 3-monitors options:
if [ "$(list_len "${plug_mons}")" -gt 2 ]; then
echo 'At most two plugged monitors for this option.'
exit
else
# ... 2-monitors options
fi
# ... 3-monitors options
Henrique Santos Fernandes commented
Hey, no problem.
This script solved a big problem of mine, so it is great!
Take your time..
Great job with this!!