How To Add Title Bar And Borders On Maximized Windows In linux arch

Hello Geek, To add the title bar and borders on maximized windows in Linux, specifically in Kubuntu, you can follow the steps outlined below.

Add Title Bar And Borders On Maximized Windows In linux arch

kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows false

How To Add Title Bar And Borders On Maximized Windows

This guide assumes you have a basic understanding of using the command line in Linux and have administrative privileges. To add the borders of maximized windows in KDE Plasma 5, run the following commands:

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

BorderlessMaximizedWindows=false

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

[Windows]
 BorderlessMaximizedWindows=false
 ActiveMouseScreen=false
 AltTabStyle=KDE
 AutoRaise=true
 AutoRaiseInterval=750
 BorderSnapZone=10
 CenterSnapZone=0

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

~/[.kde|.kde4|.kdemod4]/share/config/kwinrc

Restart KWin by running:

 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 ahead and maximize all the windows you see. Just a reminder, you can unmaximize them either 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.

All the best nerd!

Leave a Reply