This one can be a bit of scare it will disable the chosen monitor, you'll want to have mutiple monitors attached to finish. (Also a TTY session will work)
find your monitor with
mine:
Code:
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 344mm x 194mm
1920x1080 120.00*+
My laptop display is "DP-2 "
So i would use:
Code:
xrandr --output DP-2 --off
I would advise you to have more than one monitor up before doing this.
now when you know your going to travel activate it with:
Code:
xrandr --output DP-2 --auto
Bookmarks