{"id":842,"date":"2017-09-16T09:01:47","date_gmt":"2017-09-16T15:01:47","guid":{"rendered":"https:\/\/wmbuck.net\/blog\/?p=842"},"modified":"2017-09-25T10:09:21","modified_gmt":"2017-09-25T16:09:21","slug":"4k-screen","status":"publish","type":"post","link":"https:\/\/wmbuck.net\/blog\/?p=842","title":{"rendered":"4K Screen"},"content":{"rendered":"<p>I&#8217;ve been using this Samsung 4K screen for 3 years. I never adjusted any of the parameters for making things larger. I just got used to the small fonts, and blew things up by application when I needed to.<\/p>\n<p>I&#8217;ve been doing some reading in anticipation of getting a new laptop maybe with hidpi. Learned stuff about changing resolution.<\/p>\n<p>With Gnome-Tweak tool-&gt;Windows-&gt;HIDPI Window scaling, can blow up everything in Gnome. Can only have integer values, so with 2, I can double the size. But after several years of smaller sizes I don&#8217;t really like this. Might need it on the laptop though.<\/p>\n<p>With Firefox and Thunderbird, use config editor and find layout.css.devPixelsPerPx. This can have non integer values and 1.5 in Thunderbird is better for me. For Firefox I currently have it set at 1.3.<br \/>\n<!--more--><\/p>\n<p>Can also use xrandr to change various properties. Use just<\/p>\n<pre>xrandr<\/pre>\n<p>to see names of monitors, and use<\/p>\n<pre>xrandr --output HDMI-1 --scale 0.9x0.9<\/pre>\n<p>or<\/p>\n<pre>xrandr --output HDMI-1 --dpi xxx<\/pre>\n<p>There is good xrandr info at https:\/\/wiki.archlinux.org\/index.php\/xrandr.<\/p>\n<p>Update:<\/p>\n<p>After I got the new Hidpi laptop, I had to learn a lot more. Here are the settings, all available with gsettings get\/set.<\/p>\n<p>gsettings get org.gnome.desktop.interface.scaling-factor, which is same as gnome-tweak-tool-&gt;Windows-&gt;HiDpi Windows Scaling<\/p>\n<p>(2 on laptop, 1 on oregano)<\/p>\n<p>gsettings get org.gnome.desktop.interface.text-scaling-factor, which is same as gnome-tweak-tool-&gt;Fonts-&gt;Scaling Factor<\/p>\n<p>1.0 on both<\/p>\n<p>gsettings get org.gnome.desktop.interface cursor-size<\/p>\n<p>24<\/p>\n<p>gsettings get com.ubuntu.user-interface scale-factor<\/p>\n<p>{&#8216;DP-0&#8217; : 16} on the laptop, makes the window panel text more closely match the drop down text.<\/p>\n<p>gsettings get org.gnome.settings-daemon.plugins.xsettings overrides<\/p>\n<p>{&#8216;Gdk\/WindowScalingFactor&#8217; : &lt;2&gt;}<\/p>\n<p>This ended up being the most important one of all, and hardest to find anything about. This seems to affect thing built with gtk++ which is a lot of stuff. The others &#8211; the org.gnome ones affect the gnome stuff, but not the apps. This one affects all the apps built with gtk (qt too?? I don&#8217;t know).<\/p>\n<p>Found another article which wanted to also set in the same key (in addition). Note 161226 is the dpi (157.35 for the Samsung U28D590D) in &#8220;1024&#8217;s of an inch&#8221;, ie times 1024. The laptop is 3840&#215;2160 but on a screen which is actually only 13.5&#8243; wide, \u00a0so the DPI comes out at around 284 and in 1024&#8217;s is 286720.<\/p>\n<p>{&#8216;Gdk\/WindowScalingFactor&#8217; : &lt;2&gt;, &#8216;Xft\/DPI&#8217;: &lt;161126&gt;}<\/p>\n<p>or, a different one. The comments I&#8217;ve seen in code suggest this has to do with figuring out what apps are not scaled, and using this for them.<\/p>\n<p>{&#8216;Gdk\/WindowScalingFactor&#8217; : &lt;2&gt;, &#8216;Gdk\/UnscaledDPI&#8217;: &lt;161126&gt;}<\/p>\n<p>Setting the former on Oregano made things way too big. The latter didn&#8217;t seem to do anything. On the laptop &#8211; it was the reverse. The former didn&#8217;t do anything, and the latter made things huge. I also tried half the pixel density on the laptop, which was better. But it still didn&#8217;t help eclipse.<\/p>\n<p>The big problem is java apps. Java stuff built with swt doesn&#8217;t react to the gtk setting.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been using this Samsung 4K screen for 3 years. I never adjusted any of the parameters for making things larger. I just got used to the small fonts, and blew things up by application when I needed to. I&#8217;ve been doing some reading in anticipation of getting a new laptop maybe with hidpi. Learned &hellip; <a href=\"https:\/\/wmbuck.net\/blog\/?p=842\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">4K Screen<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,4,9],"tags":[],"class_list":["post-842","post","type-post","status-publish","format-standard","hentry","category-fedora","category-linux","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/842"}],"collection":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=842"}],"version-history":[{"count":6,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/842\/revisions"}],"predecessor-version":[{"id":854,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/842\/revisions\/854"}],"wp:attachment":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}