In gnome-shell there is an extension that removes the window borders, close buttons, title bar, etc on maximized windows to save screen real estate.

How can this behavior be replicated in KDE?


To remove the border of maximized windows in KDE Plasma 5:

  1. Edit the file ~/.config/kwinrc to add the line:


    under the [Windows] section, so that it looks something like this:


    In older versions of KDE, the file may be located at:


  2. Restart KWin by using KRunner (Alt + F2) to run:

    kwin --replace

    If that does not work, try one of the following, depending on which display server you are using:

    kwin_x11 --replace
    kwin_wayland --replace

Go crazy and maximize every window in sight! Remember that you can unmaximize them from the window menu (Alt + F3) or from the task manager in your panel. If quick tiling is enabled (System Settings → Desktop → Screen Edges → Window Management), you can also use Alt + Left mouse button to unmaximize windows by dragging them.


  • So much easier to do in XFCE4… – Geremia Jul 11 '16 at 15:27
  • Great answer! Thank you very much. I wonder how come this is not configurable on some UI. – Pablo Lalloni Feb 16 at 15:37

In Kubuntu 18.04, one can toggle borders (including the titlebar) and the maximized state of windows relatively simply.

In System Settings, choose Shortcuts > Global Shortcuts > KWin. In there, scroll to Hide Window Borders and set a shortcut. I chose Meta+D and clicked Apply.

Toggle borders Now I can toggle borders by just pressing Meta+D.

Still, while in System Settings > Shortcuts > Global Shortcuts > KWin (in Kubuntu 18.04.1 LTS, Kwin corresponds to System Settings Module), scroll further down to Maximize Window. Here, I chose Meta+X and clicked Apply.

Maximize Windows Now I can toggle between a non-maximized window and a maximized one by just pressing Meta+X.

Obviously, I can use both Meta+D and Meta+X on the same window whenever I want.



In several applications --- Firefox, Google Chrome, Geany, Konsole are examples --- you can toggle borders (including the titlebar) and the full screen state of windows with the function key F11.

This works in Kubuntu (I tested in Kubuntu 18.04.1 LTS right now). F11 works also in standard Ubuntu and the other Ubuntu community flavours.

  • I think what F11 does depends on the active window's application. If it's Firefox or Chromium browser, F11 makes the window full-screen. Same with Geany. But LibreOffice and Kate, for example, don't behave that way. – DK Bose Aug 15 '18 at 1:02
  • @DKBose, That's right. Some application programs grab F11 for some special task. So 'use F11, when in works, it is convenient', otherwise your method is good (I upvoted it). – sudodus Aug 15 '18 at 12:23
  • @DKBose, Thanks for the edit :-) I made a small modification, but I the main part and spirit of your modification of my answer is still there. – sudodus Aug 16 '18 at 14:02

Go to System Settings->Window Management->Window Rules->New..

Add Window class choose “Regular Expression” from the drop-down and put “.*” in the input.

Click the Appearance & Fixes tab. Check “No titlebar and frame”, select “Force” from the drop-down, and select the “Yes” radio.

Save and close everything.

Your title bars will disappear but you will need to use the keyboard to close windows, minimize...

protected by Community Mar 7 '16 at 0:40

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.