Skip to main content

Simplistic CLI for toggling and positioning a secondary monitor or projector

Project description

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

Commands assume the first output listed by xrandr to be the main output (e.g. a laptops monitor).

(See also beamer -h)

  • beamer info Print a short, formatted list of avaliable outputs and modes
  • beamer clone mirror the main output to a secondary output
  • beamer left|right|above|below extend the screen to a secondary output next to the main output
  • beamer off only use main output
  • beamer only only use secondary output
  • beamer query show output of xrandr --query

Installation

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

beamer-0.2.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

beamer-0.2.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file beamer-0.2.0.tar.gz.

File metadata

  • Download URL: beamer-0.2.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for beamer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f420647de424b8368b00ac549c157033a3fac48fb3fa87dfbe4a5760cf3e7390
MD5 c0c15d408417e3e49ed79459ed7b5443
BLAKE2b-256 385d03781eee221004a16f206ed37e6207428a9194dee784e114efcb66d74f86

See more details on using hashes here.

File details

Details for the file beamer-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: beamer-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for beamer-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 73182abfd5676e47e706dcbdc12149f4b2d7f522a442be112903bb8c0865dd8c
MD5 bfddb69feec8377d625a51c2a50da63e
BLAKE2b-256 f88de85ab35e1cbcea3e42b685a2409cdc0f7ba037fc9b1461833b6f4ad77984

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page