Show names of outputs available to the X server.

Fabian Peter Hammerle ae96dc17cf added shortcuts for flags 7 年之前
scripts ae96dc17cf added shortcuts for flags 7 年之前
.gitignore 8b7681436a list names of all available outputs 7 年之前
LICENSE 8b7681436a list names of all available outputs 7 年之前
README.md ae96dc17cf added shortcuts for flags 7 年之前
setup.cfg 8b7681436a list names of all available outputs 7 年之前
setup.py 8b7681436a list names of all available outputs 7 年之前

README.md

xrandrl

show names of outputs available to x server.

Requirements

sudo apt-get install python3 libx11-dev libxrandr-dev

Examples

$ xrandrl --connected
eDP2
DP2-1
DP2-2

$ xrandrl --enabled
eDP2
DP2-2

$ xrandrl --connected --disabled
DP2-1

$ xrandrl
eDP2
DP1
DP2
DP2-1
DP2-2
DP2-3
HDMI1
HDMI2
VGA1
VIRTUAL1
eDP-1-1
DVI-D-1-1