DEV Community

Ihor Kalnytskyi
Ihor Kalnytskyi

Posted on • Originally published at kalnytskyi.com on

Enable CSD in GNOME Terminal

Client-side decoration (CSD) is the concept of allowing a graphical application software to be responsible for drawing its own window decorations, historically the responsibility of the window manager. GNOME applications is slowly migrating to client-side decoration. While some applications use CSD by default, others draw them only while running in GNOME session.

gnome-terminal with csd

Unfortunately, CSD is not used by GNOME Terminal if you launch it outside of GNOME session. Fortunately, there's a configuration option you can use to explicitly enable it. In order to do that just run the following command in your terminal:

$ gsettings set org.gnome.Terminal.Legacy.Settings headerbar true
Enter fullscreen mode Exit fullscreen mode

The setting won't be applied as long as there's a running copy ofgnome-terminal-server process. You have to terminate it and restart the terminal.

The configuration option is tested with gnome-terminal 3.40. It might or might not work with other versions.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay