Sublime Text 4 hide title bar

Total
33
Shares

I’m running i3 window manager on linux and my sublime text was just updated to version 4.

Now there is a (rather obnoxiously large) title bar above the menu which shows the current file path that I cannot get rid of. I assume this is non standard since all other programs on my machine don’t show a title bar due to i3.

Distraction free mode and fullscreen mode hide it, but that defeats the purpose of a tiling window manager.

How can I disable this?

I can see the option

"themed_title_bar": false,

but this doesn’t hide the title bar. I don’t see a toggle option either like the menu or status bars.


Solution

The themed_title_bar setting controls whether the theme you’re using has the ability to change the color of the title bar or not to match the theme (for themes that support it). On Windows this also has the effect of hiding the menu and placing it in a rolled up "hamburger menu" in the title bar.

On Linux, there is also support for custom title bars irrespective of that which only enables itself if it detects that you’re using an appropriate window manager. In cases where it detects incorrectly (you want the feature but it’s not enabled) or you want to remove it because you don’t want it (which is sounds like you’re running into here), you need to adjust the value of this setting:

    "gtk_client_side_window_decorations": true,

Setting it to true turns on the feature, and false turns it off; you must restart Sublime after changing the setting for it to take effect.

Leave a Reply

Your email address will not be published. Required fields are marked *