[Tip] Hide Titlebars on Maximised Windows in KDE Plasma

Titlebars are a total waste of space, especially on maximised windows. Here is, in my opinion, the best way to get rid of them.

Hiding window borders (including titlebars) is easily done on Plasma on a per-window basis using the Window Operations Menu, default shortcut: Alt+F3, or on a per-application basis, by setting Window Rules. But that is quite slow and cumbersome, as you would have to do it manually for every window. Not good. You can also set a keyboard shortcut to hide and show window borders. Better, but you still have to do it manually.

Fortunately, there also exists a hidden setting in KWin to automatically hide titlebars and window borders on maximised windows. To apply it, edit the following file:

~/.config/kwinrc

Find the section [Windows] and add BorderlessMaximizedWindows=true under it. It should look something like this:

[Windows]
BorderlessMaximizedWindows=true

Log out and log back in. Open any application and maximise it to see the effect.

This way you have the best of both worlds: floating windows still have titlebars and fancy shadow borders and whatnot, and maximised windows have none of that clutter, letting you utilise your screen real-estate to the fullest.

9 Likes

Gettin’ rid of BLOAT! :frog:

5 Likes

I like it, especially for web browser.
2 questions

  • Can you set this setting somewhere in GUI? Where is it?
  • How do you get back out from maximazed view?

Maybe, but I don’t think so.

Depends on what you have as a shortcut to move and resize your windows. One way I do it is by using Meta + left :mouse:, and drag to move the window and Meta + right :mouse:, and drag to resize it.

Some users have Alt instead of Meta. You can change that in

System Settings → Window Behaviour → Window Actions → Inner Window and Frame Actions → Modifier key

You can also set various KWin keyboard shortcuts under:

System Settings → Shortcuts → Shortcuts → Kwin

If you want it only on a specific application, and not in general, you can set a rule for that application, by focusing on a window of that application and

Alt+F3 → More actions > → Configure Special Application Settings…

1 Like

I can’t figure out what does Lower, Raise and Toggle raise and lower. Do you know?

“Lower” sends your focused window below other windows without losing focus. “Raise” brings it to the top. “Toggle raise and lower” does either of these things, depending on whether the window is on top or not.

This is not the same as “Keep window above others”.

Just play around with it a bit and you’ll figure it out.

Awesome tip,

I’m a new KDE user (Moving from Gnome land) and also looking for a way to hide the title bar as I did with Gnome before,

Thanks for your tip,

Also, for anyone missing the title part, you guys can install a widget name Active Window Control,

It will bring back the title into the taskbar, also we can set up buttons (maximize, minimize, close) or set mouse gestures,

For me, scroll up is maximize, scroll down to un-maximize, and middle mouse click for closing will do the job well

For anyone who want to removes the Title bar completely, we can set the rules for all windows like so:

The screen will more clean and clear

1 Like

Welcome to the EndeavourOS forum, @bastian :partying_face:

1 Like

Thanks for your awesome tips, @Kresimir :hugs:

I think if you completely full screen a window in kde the title bar disappears. It’s one of the key bindings. Shift+meta-f maybe??