I am working on integrating a custom CLI tool into gnome-control-center.
Instead of writing new code for orientation change, I want to use existing functionality already present in the source code.
GNOME version: 45.3
OS: Ubuntu 24.04
Steps tried: (list here)
Can you please guide me on the best way to hook into existing functionality?
GNOME Control Center doesn’t do any display change itself. It is just the frontend to Mutter.
If you are building a tool to programmatically change the display configurations, you can write dbus client code for the org.gnome.Mutter.DisplayConfig interface.