After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 708382 - Add window-scaling/hiDPI option
Add window-scaling/hiDPI option
Status: RESOLVED OBSOLETE
Product: gnome-tweak-tool
Classification: Applications
Component: general
3.9.x
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-09-19 15:02 UTC by David King
Modified: 2018-01-24 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David King 2013-09-19 15:02:11 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> }"
Comment 1 David King 2013-09-19 15:05:14 UTC
Oops, the override to turn off the window scaling is (of course) a scaling factor of 1.
Comment 2 Alexander Larsson 2013-09-19 19:19:20 UTC
Those are not the right commands anymore!

Now you use gsettings set org.gnome.desktop.interface scaling-factor 1
Comment 3 Matthias Clasen 2013-09-20 00:26:21 UTC
Outside of taking before/after screenshots, why would anyone want to turn this off ?
Comment 4 Alexander Larsson 2013-09-20 09:14:53 UTC
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.
Comment 5 David King 2013-09-20 09:42:27 UTC
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!).
Comment 6 Matthias Clasen 2013-09-20 17:39:57 UTC
okok
Comment 7 John Stowers 2013-09-20 18:31:37 UTC
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)
Comment 8 Alexander Larsson 2013-09-23 07:15:03 UTC
    <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>
Comment 9 Claudio Saavedra 2016-09-21 08:16:11 UTC
Isn't this already in place?
Comment 10 nw9165-3201 2016-11-27 11:53:13 UTC
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
Comment 11 GNOME Infrastructure Team 2018-01-24 15:08:49 UTC
-- 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.