Is it possible when using i3wm to disable my built in screen completely?
I know how to do it in Unity, but I can't google anything that makes sense.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You can use xrandr
Issue the following from a terminal to see a list of all your connected displays:
You'll get something like:
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 32767 x 32767 LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 277mm x 156mm 1366x768 60.0*+ 1360x768 59.8 60.0 1024x768 60.0 800x600 60.3 56.2 640x480 59.9 VGA1 disconnected (normal left inverted right x axis y axis) HDMI1 disconnected (normal left inverted right x axis y axis)
You'll probably see your main output under
LVDS1 and your secondary connected display under
In this case, to turn off your main display use:
xrandr --output LVDS1 --off
To turn it back on:
xrandr --output LVDS1 --auto
Keep in mind if you turn off your main display when no other is connected, X will just restart on your main display.
Or you can also use arandr - graphical version of xrandr Install it in ubuntu:
aptitude install arandr
apt-get install arandr
Then in terminal type:
The GUI window will pop-up. You will see two rectangles representing your two screens.
Before disabling display make sure you will not disable your primary display. It should be located on the left usually. So move
arandr gui app window to your primary display.
To enable disabled display