Query the display configuration when using Wayland?

I would like to query or otherwise obtain the current display configuration via the command line, specifically the current resolution, with Plasma5 on Wayland. Is there some /proc file or maybe a qdbus query?

Debugging pinephone I learned something today - you could try - I don’t know if it works - but alas

$ export QT_QPA_PLATFORM=wayland
$ kscreen-doctor -o

Perfect, thank you!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.