xrandr --output HDMI-1 --primary

Category: Administration

xrandr --output HDMI-1 --primary

Mark a display as primary

The primary output is where new windows and panels appear by default on X11. This marks HDMI-1 as primary while the others stay secondary. Only one output can be primary at a time.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.