How to Disable Client Side Decorations in Xfce for Open Save Dialog
Xfce 4.16 is the latest release of this popular desktop environment, which brought many changes to the end user. One of the them is client side decorations (CSD) applied to the built-in tools like Settings and its utilities.
Advertisеment
Xfce is my favorite desktop environment in Linux which remains relatively lightweight and yet remains somewhat close to the classic desktop paradigm.
Xfce 4.16 is now a GTK3 software, and no longer includes the ability to be compiled with GTK2. It is also the first version of software that uses client side decorations.
What is client side decorations (CSD)
Client side decorations, or simply CSD, is a technology that allows apps to draw its own window decoration on Linux without involving the window manager for that. Historically, it was a role of the window manager, which is xfwm4 in case of Xfce. In GTK3, this is implemented using the GtkHeaderBar widget.
CSD allows apps to have extra controls to the title bar, such as a settings button, a search box, etc. In Xfce, the Settings app has a search button:
Most of its options have already moved to CSD windows by using the GtkHeaderBar
widget, but some still haven't, creating inconsistency in the user interface. For example, the Xfce Terminal Settings app doesn't support the new GtkHeaderBar
widget yet.
While the new headers look fine for settings applets, there is a terrible change in Xfce. The new appearance of the open and save file dialogs is something that many users do not like.
The Cancel button is on the opposite side of the Open/save button, and they are both right in the titlebar. This requires you to perform extra mouse movements, as the file you want to open is usually at the end of the list - where the buttons used to be.
In short, the new dialogs now look similar to what Gnome 3 has.
Luckily, it is possible to disable CSD for those dialogs. Here's how it can be done.
To Disable Client Side Decorations in Xfce for Open Save Dialog
- Open any terminal app of your choice, e.g. Xfce Terminal.
- Type or copy-paste the following command:
xfconf-query -c xsettings -p /Gtk/DialogsUseHeader -s false
. - You now have the classic open and save file dialogs with CSD disabled.
Alternatively, you can use the Settings Editor app. It is included in Xfce by default.
Disable CSD for Xfce dialogs with Settings editor
- Open the apps menu. Here is how it looks in the Whisker plugin.
- Click on Settings > Settings Editor.
- On the left, select
xsettings
. - On the right, find the option
Gtk > DialogsUseHeader
. - Turn off (uncheck) it to disable the client side decorations feature in Xfce.
You are done!
Support us
Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:
If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
Advertisеment
thanks a lot of information