4

I am running Ubuntu 22.04 LTS and installed Unity alongside Gnome because of certain features which Gnome does not handle as well at this moment.

However, all apps which come with my Ubuntu installation with Gnome (including Firefox, Nautilus file manager, Software updater, etc.) have a double title bar as such:

enter image description here

Other apps which came with Unity (such as Nemo) and those which were installed manually do not have this problem.

I found a similar solution for Gnome answered here, but couldn't find one for Unity. How can I fix this double title bar on Unity?

Note: I need to keep Gnome installation alongside Unity, and can not re-install my OS to an option like Ubuntu Unity

1 Answers1

2

GTK client side decorations appear to be messing with how Unity manages the header bar.

Add this to your preferred environment file (/etc/environment for all users or ~/.profile for just yourself:

export GTK_CSD=1

or to run a single program, for example, GEdit, without decorations:

GTK_CSD=1 gedit

Beware that this might mess with GNOME desktop if you still use it, though it doesn't appear to break anything.

John R.
  • 36