pmenzel
September 3, 2025, 3:33pm
1
[First asked in the issue tracker How to list connected displays and their properties on the command line? (#8643) · Issues · GNOME / gnome-shell · GitLab .]
Is there an xrandr equivalent provided by Mutter? The Stackoverflow answers say it’s dependent on the compositor. The display properties in the GNOME display settings even show the name of the connected display. Is there something for the command line?
skeller
(Sebastian Keller)
September 3, 2025, 3:52pm
2
You can use gdctl show if you are running a recent enough version of mutter.
pmenzel
September 4, 2025, 7:22am
3
Thank you. That worked:
$ gdctl show
Monitors:
├──Monitor DP-1 (Dell Inc. 23")
│ ├──Vendor: DEL
│ ├──Product: DELL P2319H
│ ├──Serial: 18VRX13
│ ├──Current mode
│ │ └──1920x1080@60.000
│ └──Preferences:
│ └──Luminances:
│ └──default ⇒ 100.0 (default) (current)
└──Monitor eDP-1 (Eingebaute Anzeige)
├──Vendor: SHP
├──Product: 0x144a
├──Serial: 0x00000000
├──Preferred mode
│ └──3200x1800@59.982
└──Preferences:
└──Luminances:
└──default ⇒ 100.0 (default) (current)
Logical monitors:
└──Logical monitor #1
├──Position: (0, 0)
├──Scale: 1.0
├──Transform: normal
├──Primary: yes
└──Monitors: (1)
└──DP-1 (Dell Inc. 23")
system
(system)
Closed
October 4, 2025, 7:22am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.