Ask Your Question
2

Where is key for display resolution?

asked 2018-08-01 09:28:41 -0600

tablepc gravatar image

I am making a script to automate setting the gnome settings when I load a PC from scratch. I am using gsettings. Things are going well, but there is one key I can find. I want to set the Display resolution. If I were to set it manually it is found in the gnome control panel under Devices -> Displays -> Resolution. I think there must be a key for it somewhere, but I can not find it. I will appreciate it if someone can tell me where the key is, so I can set it with gsettings in my script instead to doing it manually.

Thanks in advance for your help. and Have a Great Day!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2018-08-06 16:06:16 -0600

tablepc gravatar image

I got the following from the folks at Gnome.

You can not set resolution with gsettings... You will have to use D-Bus interface - org.gnome.Mutter.DisplayConfig.

I looked this up in a couple of other sources to see some code examples and decided that I'm not ready to start experimenting with mutter on D-Bus.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-08-01 09:28:41 -0600

Seen: 86 times

Last updated: Aug 06 '18