xreset () { # URL: https://askubuntu.com/questions/1256344/how-to-fix-screen-overlap-and-top-left-zoom-of-hd-external-monitors-while-using#1256392 # First use: `xrandr | grep " connected "` # My connected displays: # DisplayPort-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 527mm x 296mm # DisplayPort-2 connected primary 1920x1080+1919+0 (normal left inverted right x axis y axis) 527mm x 296mm xrandr --output DisplayPort-1 --mode 1920x1080 --pos 0x0 --rotate normal \ --output DisplayPort-2 --mode 1920x1080 --pos 1920x0 --rotate normal --primary } # xreset