beamer is a simple command line tool for toggling and positioning a secondary monitor or projector on Linux.
It is a thin wrapper for xrandr to spare you typing out common setups in its verbose syntax. Consequently, it requires xrandr to be installed on your system.
Commands assume the first output listed by xrandr to be the main output (e.g. a laptops monitor).
(See also beamer -h)
beamer infoPrint a short, formatted list of avaliable outputs and modesbeamer clonemirror the main output to a secondary outputbeamer left|right|above|belowextend the screen to a secondary output next to the main outputbeamer offonly use main outputbeamer onlyonly use secondary outputbeamer queryshow output ofxrandr --query
Run pip install beamer
– or –
copy the beamer.py file from this repository anywhere on your computer
and run it via python3 /path/to/beamer.py.