GDCTL(1) | User Commands | GDCTL(1) |
NAME
gdctl - GNOME Display Controller
SYNOPSIS
gdctl [-h] COMMAND ...
DESCRIPTION
gdctl provides means to show the active monitor configuration, and set new monitor configuration using command line arguments.
It requires a compositor that supports the org.gnome.Mutter.DisplayConfig D-Bus API, such as GNOME Shell.
COMMANDS
show
set
pref
SHOW OPTIONS
--help, -h
--modes, -m
--properties, -p
--verbose, -v
SET OPTIONS
--help, -h
--persistent, -P
--verbose, -v
--verify, -V
--layout-mode LAYOUT-MODE, -l
--logical-monitor, -L
--for-lease-monitor CONNECTOR, -e CONNECTOR
LOGICAL MONITOR OPTIONS
--monitor CONNECTOR, -M CONNECTOR
--primary, -p
--scale SCALE, -s SCALE
--transform TRANSFORM, -t TRANSFORM
--x X, -x X
--y Y, -y Y Y position
--right-of CONNECTOR
--left-of CONNECTOR Place left of other monitor
--above CONNECTOR
--below CONNECTOR
MONITOR OPTIONS
--mode MODE, -m MODE
--color-mode COLOR-MODE, -c COLOR-MODE
PREFS OPTIONS
--monitor CONNECTOR, -M CONNECTOR
MONITOR PREFS OPTIONS
--luminance LUMINANCE, -l LUMINANCE
--reset-luminance
EXAMPLES
Mirror DP-1 and eDP-1, and place DP-2, transformed by 270 degrees, to the right of the two mirrored monitors.
gdctl set --logical-monitor --primary --monitor DP-1 --monitor eDP-1 --logical-monitor --monitor DP-2 --right-of DP-1 --transform 270
Set eDP-1 and DP-2 as available for lease.
gdctl set --logical-monitor --primary --monitor DP-1 --for-lease-monitor eDP-1 --for-lease-monitor DP-2
BUGS
The bug tracker can be reached by visiting the website
https://gitlab.gnome.org/GNOME/mutter/-/issues . Before sending a bug
report, please verify that you have the latest version of gnome-shell. Many
bugs (major and minor) are fixed at each release, and if yours is out of
date, the problem may already have been solved.
ADDITIONAL INFORMATION
For further information, visit the website
https://gitlab.gnome.org/GNOME/mutter/-/blob/main/README.md .