You Got A Question? Ask    GNOME Community!

How To Disable GTK+ Header Dialogs From GNOME 3.12+

Dialog windows in GNOME 3.12 uses the Header Menus and this is pretty nice. However, a problem arises when none other application (but GTK ones) use them. And the problem becomes stronger when we use more non-GTK apps than GTK ones. Which is kinda the typical case for most of GNOME systems.

Fortunately we can revert this, and restore back the typical window dialogs.

Notice that bellow I’m using GTK 3.14 and the file choose dialogs are a bit different than GTK 3.12. I’m doing this just to verify that this feature is working on 3.14 too.

[caption id="attachment_26194" align="aligncenter" width="640"]dialog-choose-header GTK’s File Chooser Dialog on Header Bar (Default)[/caption] [caption id="attachment_26195" align="aligncenter" width="640"]dialog-chooser-no-header GTK’s File Chooser Dialog non-Header Bar[/caption]

How To

The use of header bars in GTKs built-in dialogs is controlled by a setting, GtkSettings::gtk-dialogs-use-header. So, we just need to override that with


From Dconf Editor

[caption id="attachment_26197" align="aligncenter" width="640"]file-chooser-dconf <0>: Will remove Header Dialogs
<1>: Will Add Header Dialogs (Default)[/caption]

From Terminal

gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/DialogsUseHeader':<0>}"

This won’t solve the whole incompatibility issues between GNOME and “others”, since GNOME uses Header Menus for lots of things. In GNOME, File Chooser Dialog Windows definetely belong to Header Bars.

This feature (with many others) is described in detail on the following two posts from Matthias Clasen


  We can't watch comments unless G+ provides an API or if you send a notification, e.g +World Of Gnome
     Sometimes is better to place your questions on GNOME Community