GNOME Bugzilla – Bug 708382
Add window-scaling/hiDPI option
Last modified: 2018-01-24 15:08:49 UTC
Now that GTK+ has support for scaling windows when used with high-resolution displays, such as the ChromeBook Pixel, it would be great to have an override in Tweak Tool to make it easy to turn off the scaling: https://plus.google.com/107646837068615384568/posts/hSwpWmN9Crx It should be relatively straightforward, as the override is an XSetting, which gnome-settings-daemon has a plugin for (and I think Tweak Tool already changes XSettings for some other properties): http://blogs.gnome.org/alexl/2013/06/28/hidpi-support-in-gnome/ gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{ 'Gdk/WindowScalingFactor':<2>, 'Gdk/UnscaledDPI':<92160> }"
Oops, the override to turn off the window scaling is (of course) a scaling factor of 1.
Those are not the right commands anymore! Now you use gsettings set org.gnome.desktop.interface scaling-factor 1
Outside of taking before/after screenshots, why would anyone want to turn this off ?
We try to automatically pick the right based on the DPI, but the exact line where to switch from 1x to 2x is a bit fuzzy depending on HW and eyesight, so i can see wanting to manually change it.
Also, non-GTK+ 3 applications are not scaled, so those have the odd-looking large text with small icons. Using (say) GNOME 3 applications with others such as LibreOffice, Inkscape and Skype looks a bit inconsistent. Having a relatively accessible setting in Tweak Tool would be useful for those people who use a variety of applications (until they are all ported to GTK+ 3!).
okok
If the name and description of this key are sufficiently concise and marked for translation in the appropriate schema then I can add this to g-t-t without introducing any new strings. (anyway, I'm on holiday for a week, so I will have to look at this when I get back)
<key name="scaling-factor" type="u"> <default>0</default> <_summary>Window scaling factor</_summary> <_description> Integer factor used to scale windows by. For use on high-dpi screens. 0 means pick automatically based on monitor. </_description> </key>
Isn't this already in place?
gnome-tweak-tool already has such a setting, see following screenshot: http://core0.staticworld.net/images/article/2015/04/tweak-tool-window-100580051-orig.png But unfortunately it only allows to use integer values, which has been reported id: https://bugzilla.gnome.org/show_bug.cgi?id=773910
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/34.