{"id":36718,"date":"2022-01-11T12:45:50","date_gmt":"2022-01-11T12:45:50","guid":{"rendered":"https:\/\/ubuntuhandbook.org\/?p=36718"},"modified":"2022-01-11T12:45:50","modified_gmt":"2022-01-11T12:45:50","slug":"more-scaling-levels-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2022\/01\/more-scaling-levels-ubuntu\/","title":{"rendered":"This Tool Adds More Display Scaling Levels for Ubuntu Gnome on X"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png\" alt=\"\" width=\"250\" height=\"250\" class=\"alignleft size-thumbnail wp-image-34682\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-250x250.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-300x300.png 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-600x600.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature-768x768.png 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/10\/gnome-logo-feature.png 1200w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>As you may know, Gnome control center (aka settings) has &#8220;<b>Fractional Scaling<\/b>&#8221; option since Ubuntu 20.04, allows to change scaling level for HiDPI displays.<\/p>\n<p>By default, user may scale up to 125%, 150%, 175% and 200% to make Ubuntu (<i>or other GNOME based Linux, such as Fedora<\/i>) to be read easily. In this tutorial, I&#8217;m going to introduce &#8220;BetterScale&#8221;, a command line tool gives more scaling levels.<\/p>\n<div id=\"attachment_36720\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/gnome-factors.webp\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-36720\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/gnome-factors-600x352.webp\" alt=\"\" width=\"600\" height=\"352\" class=\"size-large wp-image-36720\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/gnome-factors-600x352.webp 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/gnome-factors-300x176.webp 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/gnome-factors-768x450.webp 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/gnome-factors.webp 926w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-36720\" class=\"wp-caption-text\">GNOME by default has 125%, 150%, 175%, 200% scaling levels<\/p><\/div>\n<h3>BetterScale:<\/h3>\n<p>BetterScale is a group of bash scripts that helps Gnome &#038; Budgie x11 users perfectly scale their desktop. With it, user may scaling via <b>110%<\/b>, <b>120%<\/b>, <b>130%<\/b>, <b>140%<\/b>, <b>150%<\/b>, <b>160%<\/b> &#8230; <b>200%<\/b> levels.<\/p>\n<p>BetterScale uses a similar concept for scaling as macs do by enabling Gnomes experimental scaling support &#038; increasing the graphics framebuffer. It makes your system easily readable while remaining fully clear, crisp and sharp.<\/p>\n<div id=\"attachment_36721\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-36721\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale.png\" alt=\"\" width=\"600\" height=\"402\" class=\"size-full wp-image-36721\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale-300x201.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-36721\" class=\"wp-caption-text\">BetterScale with more scaling levels<\/p><\/div>\n<p>The tool uses <code>xrandr<\/code> to scale the framebuffer. Which means, <b>it only works for GNOME \/ Budgie on Xorg<\/b>. Ubuntu 21.10+ needs to switch to Xorg session at Login Screen for using the tool.<\/p>\n<h3>Install &#038; Use BetterScale:<\/h3>\n<p>The tool is hosted on <a href=\"https:\/\/github.com\/rbreaves\/betterScale\" rel=\"noopener\" target=\"_blank\">Github page<\/a>. Ubuntu user may press Ctrl+Alt+T on keyboard to open terminal, and run command to grab the source:<\/p>\n<pre>git clone https:\/\/github.com\/rbreaves\/betterScale.git<\/pre>\n<p>Install <code>git<\/code> via <code>sudo apt install git<\/code> for those don&#8217;t have it.<\/p>\n<p>Next, run <code>cd<\/code> command to navigate to the source folder:<\/p>\n<pre>cd betterScale<\/pre>\n<p>Finally, start the script via command:<\/p>\n<pre>.\/setup.sh<\/pre>\n<div id=\"attachment_36722\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/grab-betterscale.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-36722\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/grab-betterscale.png\" alt=\"\" width=\"600\" height=\"276\" class=\"size-full wp-image-36722\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/grab-betterscale.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/grab-betterscale-300x138.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-36722\" class=\"wp-caption-text\">Grab and start BetterScale<\/p><\/div>\n<p>When it starts, read the description and warning before hitting Enter.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/betterscale-description.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/betterscale-description.png\" alt=\"\" width=\"600\" height=\"251\" class=\"aligncenter size-full wp-image-36724\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/betterscale-description.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/betterscale-description-300x126.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale-warning.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale-warning.png\" alt=\"\" width=\"600\" height=\"220\" class=\"aligncenter size-full wp-image-36723\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale-warning.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale-warning-300x110.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>And, it will ask if to install the fix for tearing &#038; mouse flickering for intel GPU. Type &#8220;n&#8221; to skip it if you don&#8217;t have this issue, or answer &#8220;Y&#8221; and type user password to install the fix.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/apply-tear-flicker.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/apply-tear-flicker.png\" alt=\"\" width=\"600\" height=\"212\" class=\"aligncenter size-full wp-image-36725\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/apply-tear-flicker.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/apply-tear-flicker-300x106.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>If you answered &#8216;Y&#8217; to fix tearing and flicker, log out and back in. Then, re-run the script to get the scaling level selection screen and type number to choose your favorite scaling factor.<\/p>\n<div id=\"attachment_36721\" style=\"width: 610px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-36721\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale.png\" alt=\"\" width=\"600\" height=\"402\" class=\"size-full wp-image-36721\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale.png 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2022\/01\/better-scale-300x201.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><p id=\"caption-attachment-36721\" class=\"wp-caption-text\">BetterScale with more scaling levels<\/p><\/div>\n<h3>How to Restore:<\/h3>\n<p>The tool is in quite earlier stage. It might not work sometimes. I tested it in Ubuntu 21.10 with normal HD display without system&#8217;s &#8216;Fractional Scaling&#8217; enabled. It works mostly but NOT occasionally.<\/p>\n<p>To restore the changes, simply re-run the script and select <b>10<\/b> to set scaling to 100%. Do it twice if it does not work properly!<\/p>\n<p>And remove the &#8220;20-intel.conf&#8221; file via the command below if you&#8217;ve installed the fix for tearing and mouse flickering:<\/p>\n<pre>sudo rm -rf \/usr\/share\/X11\/xorg.conf.d\/20-intel.conf<\/pre>\n<p>That&#8217;s all. Enjoy!<\/p>","protected":false},"excerpt":{"rendered":"<p>As you may know, Gnome control center (aka settings) has &#8220;Fractional Scaling&#8221; option since Ubuntu 20.04, allows to change scaling level for HiDPI displays. By default, user may scale up to 125%, 150%, 175% and 200% to make Ubuntu (or other GNOME based Linux, such as Fedora) to be read easily. In this tutorial, I&#8217;m [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":34682,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[211],"class_list":["post-36718","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-display"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/36718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=36718"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/36718\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media\/34682"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=36718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=36718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=36718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}