{"id":9352,"date":"2019-09-18T15:41:07","date_gmt":"2019-09-18T15:41:07","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=9352"},"modified":"2019-09-18T15:41:07","modified_gmt":"2019-09-18T15:41:07","slug":"make-scrollbar-always-visible-ubuntu-18-04","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2019\/09\/make-scrollbar-always-visible-ubuntu-18-04\/","title":{"rendered":"How to Make Scrollbar Always Visible in Ubuntu 18.04"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/classic-gnome-icon.png\" alt=\"gnome shell\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5741\" \/><\/p>\n<p>This quick tutorial shows how to make the <b>scrollbars of GTK3 applications<\/b> always visible, like Gnome terminal does, no matter whether the mouse cursor is moved over or not.<\/p>\n<p>The scrollbar is only visible when the mouse cursor is moved mover in most of GTK3 applications. It will disappear in a few seconds once the cursor&#8217;s moved away.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-600x400.jpg\" alt=\"\" width=\"600\" height=\"400\" class=\"aligncenter size-large wp-image-9353\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-600x400.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-450x300.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar.jpg 750w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p><b>On a per-app basis<\/b>, you can start application by setting <code>GTK_OVERLAY_SCROLLING=0<\/code> environment variable.<\/p>\n<p>For example, open terminal (<b>Ctrl+Alt+T<\/b>) and run command to launch Gedit text editor:<\/p>\n<pre style=\"border:none;\">GTK_OVERLAY_SCROLLING=0 gedit<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/gedit-overlayscrollbar-600x102.jpg\" alt=\"\" width=\"600\" height=\"102\" class=\"aligncenter size-large wp-image-9354\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/gedit-overlayscrollbar-600x102.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/gedit-overlayscrollbar-450x76.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/gedit-overlayscrollbar.jpg 755w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>To apply for all applications<\/b> for current user, open terminal (Ctrl+Alt+T) and run command to edit <code>.profile<\/code> file:<\/p>\n<pre style=\"border:None;\">gedit ~\/.profile<\/pre>\n<p>When the files opens in text editor, add following <b>2<\/b> lines in the end and save the file.<\/p>\n<pre style=\"background:none;\">export GTK_OVERLAY_SCROLLING=0\r\ngdbus call --session --dest org.freedesktop.DBus --object-path \/org\/freedesktop\/DBus --method org.freedesktop.DBus.UpdateActivationEnvironment '{\"GTK_OVERLAY_SCROLLING\": \"0\"}'<\/pre>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-profile.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-profile-600x338.jpg\" alt=\"\" width=\"600\" height=\"338\" class=\"aligncenter size-large wp-image-9355\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-profile-600x338.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-profile-450x253.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-profile-768x432.jpg 768w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/09\/disable-overlayscrollbar-profile.jpg 879w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/p>\n<p>To apply changes, simply log out and login back.<\/p>\n<p>To restore the changes, edit <code>.profile<\/code> file again and remove the previous lines.<\/p>","protected":false},"excerpt":{"rendered":"<p>This quick tutorial shows how to make the scrollbars of GTK3 applications always visible, like Gnome terminal does, no matter whether the mouse cursor is moved over or not. The scrollbar is only visible when the mouse cursor is moved mover in most of GTK3 applications. It will disappear in a few seconds once the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1794,1795],"class_list":["post-9352","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-disable-overlay-scrollbars","tag-scrollbar-always-visible"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9352","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=9352"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/9352\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=9352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=9352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=9352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}