gdctl(1)
π gdctl β GNOME Display Controller π
okay bestie, welcome to gdctl, the GNOME Display Controller β¨ β it lives in the User Commands corner of your man pages and it is literally here to make your monitors behave. π₯οΈπΈ
π SYNOPSIS
gdctl [-h] COMMAND ...
π DESCRIPTION
so gdctl gives you the means to show your active monitor configuration, and to set a whole new monitor configuration using command line arguments. no cap, from the terminal. π
it requires a compositor that supports the org.gnome.Mutter.DisplayConfig D-Bus API, such as GNOME Shell. if your compositor doesn't speak that API, this whole thing is giving nothing, sorry babe π
π οΈ COMMANDS
showβ Show the current display configuration β¨ (the vibe check of your setup)setβ Set a new display configuration π (glow-up time)prefβ Set display related preferences. ποΈ
π SHOW OPTIONS
--help,-hβ Show a help message and exit. π--modes,-mβ List available monitor modes.--properties,-pβ List properties.--verbose,-vβ Display all available information (equivalent to--modes --properties). π£οΈ the spill everything option, we stan
βοΈ SET OPTIONS
--help,-hβ Show a help message and exit. π--persistent,-Pβ Store applied configuration on persistent storage and restore when applicable. π it remembers, unlike some people--verbose,-vβ Print configuration to standard out before applying it.--verify,-Vβ Only verify, without applying, the configuration. π a dry run, a little peek, no commitment--layout-mode LAYOUT-MODE,-lβ Specify the layout mode the configuration should use. Eitherlogical, orphysical.--logical-monitor,-Lβ Add and configure a logical monitor. See LOGICAL MONITOR OPTIONS. π§--for-lease-monitor CONNECTOR,-e CONNECTORβ Set a monitor, that is not part of any logical monitor, available for lease. π
πͺ LOGICAL MONITOR OPTIONS
--monitor CONNECTOR,-M CONNECTORβ Add a monitor to the currently configured logical monitor. All monitors within the same logical monitor must have the same monitor resolution. β οΈ same resolution or it's not happening--primary,-pβ Mark currently configured logical monitor as primary. π main character energy, literally--scale SCALE,-s SCALEβ Scale monitors within the currently configured logical monitor with SCALE. Must be a scale supported by all monitors and their configured modes.--transform TRANSFORM,-t TRANSFORMβ Transform monitors within the currently configured logical monitor using TRANSFORM. Possible transforms arenormal,90,180,270,flipped,flipped-90,flipped-270andflipped-180. π--x X,-x Xβ Set the X position of the currently configured logical monitor.--y Y,-y Yβ Set the Y position of the currently configured logical monitor.--right-of CONNECTORβ Place the logical monitor to the right of the logical monitor CONNECTOR belongs to. β‘οΈ--left-of CONNECTORβ Place left of other monitor. Place the logical monitor to the left of the logical monitor CONNECTOR belongs to. β¬ οΈ--above CONNECTORβ Place the logical monitor above the logical monitor CONNECTOR belongs to. β¬οΈ--below CONNECTORβ Place the logical monitor below the logical monitor CONNECTOR belongs to. β¬οΈ
π₯οΈ MONITOR OPTIONS
--mode MODE,-m MODEβ Set the mode of the monitor.--color-mode COLOR-MODE,-c COLOR-MODEβ Set the color mode of the monitor. Available color modes aredefault,sdr-nativeandbt2100. π--rgb-range RGB-RANGE,-r RGB-RANGEβ Set the RGB quantization range of the monitor. Available ranges areauto,fullandlimited (16:235).
π PREFS OPTIONS
--monitor CONNECTOR,-M CONNECTORβ Change monitor preferences. See MONITOR PREFS OPTIONS. π
π§Έ MONITOR PREFS OPTIONS
--luminance LUMINANCE,-l LUMINANCEβ Set the luminance of the monitor for the current color mode. β¨--reset-luminanceβ Reset the luminance of the monitor for the current color mode to its default. β©οΈ back to factory vibes
π 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. bestie. pls. check first π
π ADDITIONAL INFORMATION
For further information, visit the website <https://gitlab.gnome.org/GNOME/mutter/-/blob/main/README.md>. π
and that's the whole page, fr fr π«Ά this came straight out of the gdctl(1) man page, filed under User Commands like the little icon it is β so go configure something gorgeous, bestie, and remember: check your gnome-shell version before you file anything. periodt. πβ¨π
π¦ where this page comes from
- arch rolling: mutter 51.1-1 Β· GPL-2.0-or-later
- nixpkgs unstable: mutter 50.5
- ubuntu stonking: mutter-common-bin 51.0-1ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms