Re: Is there a way to force xrandr to re-read current available display modes?

2015-05-08 Thread Łukasz Maśko
Dnia piątek, 8 maja 2015 15:45:10 aiv...@latnet.lv pisze: > Hi, > My simple script > > #!/bin/bash > > IN="LVDS1" > EXT="VGA1" > > case "$1" in > on) > xrandr --output $IN --off --output $EXT --auto > ;; > 1440) > xrandr --output $IN --off --output $EXT --mod

Re: Is there a way to force xrandr to re-read current available display modes?

2015-05-08 Thread aivils
Hi, My simple script #!/bin/bash IN="LVDS1" EXT="VGA1" case "$1" in on) xrandr --output $IN --off --output $EXT --auto ;; 1440) xrandr --output $IN --off --output $EXT --mode 1440x900 ;; 1280) xrandr --output $IN --off --output $EXT --mode 128

Is there a way to force xrandr to re-read current available display modes?

2015-05-08 Thread Łukasz Maśko
Hello. I have a Dell laptop, for which I have 2 docking stations (at home and at work), both with additional monitor connected. The monitors differ in resolution. I do not turn my laptop off, I only suspend it to RAM, when it is not used. Let's consider such scenario: laptop is docked at home. X