Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Display switcher utility for laptops
Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
screenswitcher

README.md

screenswitcher

Display switcher utility for laptops

Invoke multiple times to cycle through display modes (default mode) (internal display -> external display -> both -> internal display etc.)

Usage

Usage: screenswitcher [-h] [-d] [-c] [-m <mode>] [-e [<orientation>]]
                        [-s] [-o <output>]

-h                  Display this dialog and exit

-v                  Verbose output

-c                  Clone display instead of extending it

-m <mode>           Set clone resolution. Use pattern '[0-9]{3,}x[0-9]{3,}',
                    e.g. 800x600 (default: 1024x768)

-e [<orientation>]  Extend display (default). Optional orientation param
                    might be one of 'above|below|left-of|right-of'

-s                  Single display: don't (cycle) extend or clone,
                    just switch between internal/external screen

-o <output>         External output to use. One of 'output0|output1'.
                    Will fallback to internal if output not connected.
                    If not set, will try output0 -> output1 -> internal
Something went wrong with that request. Please try again.