This is an easy way to setup easy alias commands in the bashrc file. Disply your possibly connections: xrandr --query Turn on your second monitor on the left hand side: xrandr --output HDMI-0 --auto --left-of DP-2 Turn off your second monitor: xrandr --output HDMI-0 --auto --left-of DP-2 Please write it in the comments, if you have any advice to improve my tutorials or suggestions for further tutorials.