You are not logged in.
how to change the screeen resolution via command line in gnome/wayland?
i've searched the wiki and the internet but everything pointed to changing the resolution under xorg...
Offline
Maybe you could tru wlr-randr.
I do not know how that works in Gnome env...
I do not speak English, but I understand...
Offline
Nope. wlr-randr uses the wlr output management protocol which is currently only supported by sway and wlroots-based compositors. It's likely that it could be adopted by plasma/kde and other QCompositor-based compositors* (as KDE tends to be a team player) - I suspect hell will freeze over before gnome/mutter ever cooperates with supporting a protocol they didn't write. So no third-party tool could ever achieve this: if gnome itself doesn't provide a CLI interface (which I'm pretty sure they dont) then there wouldn't be a way to do it.
*note: KDE has their own output management protocol, though I'd wager it is being developed in parallel with the wlr protocol and will eventually be merged allowing for interoperability of KDE / WLR tools.
Last edited by Trilby (2023-06-25 15:57:01)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
thanks for the input
Offline
There's gdctl for that now! For example, I set my monitor's mode like this:
gdctl set --logical-monitor --primary --monitor DP-3 --mode 5120x1440@240.000Offline