{"id":3878,"date":"2014-09-02T15:26:35","date_gmt":"2014-09-02T15:26:35","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=3878"},"modified":"2014-09-02T15:27:48","modified_gmt":"2014-09-02T15:27:48","slug":"get-back-header-bars-gtk3-apps","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2014\/09\/get-back-header-bars-gtk3-apps\/","title":{"rendered":"Get Back Normal Title Bars For Some Gnome Apps in Ubuntu 14.04"},"content":{"rendered":"<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon.png\" alt=\"Gtk3 Apps\" width=\"250\" height=\"250\" class=\"aligncenter size-full wp-image-3879\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon.png 250w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-logo-icon-150x150.png 150w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p><b>In Ubuntu 14.04 and Ubuntu 14.10, some Gnome applications use client-side decorations which don&#8217;t work properly in the default Unity Desktop.<\/b><\/p>\n<p>The applications with client-side decorations look broken in Unity and they are unresizable. Here are some examples:<\/p>\n<div id=\"attachment_3880\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3880\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock.jpg\" alt=\"Gnome Clock in Ubuntu 14.04\" width=\"500\" height=\"398\" class=\"size-full wp-image-3880\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock.jpg 500w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock-300x238.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-3880\" class=\"wp-caption-text\">Gnome Clock in Ubuntu 14.04<\/p><\/div>\n<div id=\"attachment_3881\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-csd.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3881\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-csd.jpg\" alt=\"Gthumb\" width=\"500\" height=\"285\" class=\"size-full wp-image-3881\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-csd.jpg 500w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-csd-300x171.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-3881\" class=\"wp-caption-text\">The Latest gthumb 3.3.2 (gthumb from Ubuntu repositories is old and does not use CSD)<\/p><\/div>\n<p><b><a href=\"https:\/\/github.com\/PCMan\/gtk3-nocsd\" target=\"_blank\">gtk3-nocsd<\/a>, a hack by one of the LXDE founders, is a small module used to disable the client side decoration of gtk+ 3.<\/b> It works on most, but not all CSD applications.<\/p>\n<p>After disabled client side decoration, above applications will look like:<\/p>\n<div id=\"attachment_3882\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock-after.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3882\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock-after.jpg\" alt=\"Gnome Clock with CSD disabled\" width=\"500\" height=\"325\" class=\"size-full wp-image-3882\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock-after.jpg 500w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gnome-clock-after-300x195.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-3882\" class=\"wp-caption-text\">Gnome Clock with CSD disabled (Picture was taken in Gnome-Shell)<\/p><\/div>\n<div id=\"attachment_3883\" style=\"width: 510px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-after.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-3883\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-after.jpg\" alt=\"gthumb with CSD disabled\" width=\"500\" height=\"297\" class=\"size-full wp-image-3883\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-after.jpg 500w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/gthumb-after-300x178.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><p id=\"caption-attachment-3883\" class=\"wp-caption-text\">gthumb with CSD disabled<\/p><\/div>\n<p><b>How to Install &#038; Use gtk3-nocsd<\/b><\/p>\n<p>This module has been made into Webupd8 PPA, available for Ubuntu 14.10 and Ubuntu 14.04. <\/p>\n<p>Press <b>Ctrl+Alt+T<\/b> on keyboard to open the terminal. When it opens, paste the commands below and run one by one:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:nilarimogard\/webupd8\n\nsudo apt-get update\n\nsudo apt-get install gtk3-nocsd<\/pre>\n<p><b>To disable client side decoration, for gnome clock as example:<\/b><\/p>\n<p>First run command to edit the application shortcut file, <code>.desktop<\/code> file under \/usr\/share\/applications or .local\/share\/applications.<\/p>\n<pre style=\"border:none;\">gksudo gedit \/usr\/share\/applications\/gnome-clocks.desktop<\/pre>\n<p>When the file opens, add <code>env LD_PRELOAD=\/usr\/lib\/gtk3-nocsd\/gtk3-nocsd.so<\/code> to the value of <b>Exec<\/b> as a parameter, so it looks like:<\/p>\n<p> <a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/disable-csd.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/disable-csd.jpg\" alt=\"disable-csd\" width=\"580\" height=\"339\" class=\"aligncenter size-full wp-image-3884\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/disable-csd.jpg 580w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2014\/09\/disable-csd-300x175.jpg 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/a><\/p>\n<p>Save the file and done. Note that gtk3-nocsd does not work for gnome-tweak-tool, gnome-music, etc.<\/p>\n<p style=\"text-align:right;\">via: <a href=\"http:\/\/www.webupd8.org\/2014\/08\/how-to-disable-gtk3-client-side.html\" target=\"_blank\">webupd8<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>In Ubuntu 14.04 and Ubuntu 14.10, some Gnome applications use client-side decorations which don&#8217;t work properly in the default Unity Desktop. The applications with client-side decorations look broken in Unity and they are unresizable. Here are some examples: gtk3-nocsd, a hack by one of the LXDE founders, is a small module used to disable 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":[1140,855,1084],"class_list":["post-3878","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-client-side-decorations","tag-ubuntu-14-04","tag-ubuntu-14-10"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/3878","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=3878"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/3878\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=3878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=3878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=3878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}