Work with Userbase is progressing nicely. I wrote some suggestions based on user feedback and my own opinions, and a few days ago there was a small discussion about the future of Userbase on IRC.
However, this post isn’t about Userbase – I hope I’ll find some time to summarize the plans for the wiki here in a few days. Today I want to share another tip that I’ve found and need to remember to add to Userbase: Borderless Maximized Windows.
This option is very useful for devices with small screens, such as netbooks, to give slightly more space to your applications. If enabled, the window border will hide automatically when you maximize a window (and vice versa when unmaximized).
If I remember correctly, this feature was introduced in KDE Software Compilation 4.5 for the Plasma Netbook workspace, where it’s enabled by default. Here’s a short screencast demonstration (what, not an animated GIF!?):
Note that I used double click to maximize the windows. This is configurable in System Settings → Window Behavior → Window Behavior → Titlebar Actions.
Previously I used some window-specific settings to get a similar setup, but it only did it according to some pre-defined rules – the borders weren’t automatically hidden/shown when a window was maximized/restored.
So how do I enable this in Plasma Desktop?
- Use you favorite text editor to edit the file
~/.kde4/share/config/kwinrc
In some distributions the
.kde4
directory is called.kde
(or something else like.kdemod4
) - Add the line
BorderlessMaximizedWindows=true
under the section
[Windows]
It should look something like this:[Windows]
ActiveMouseScreen=true
AltTabStyle=KDE
AutoRaise=false
AutoRaiseInterval=750
BorderSnapZone=10
BorderlessMaximizedWindows=true
CenterSnapZone=0 - Launch KRunner (Alt+F2) and run the command
kwin --replace
to restart KWin
- 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
Credits this time go to Christian who wrote about this feature in a comment in this blog post. The post also links to a neat widget that’s useful for a setup with borderless windows.
April 1, 2010 at 3:25
Nice 🙂
April 1, 2010 at 16:58
Hey. Now that’s pretty cool.
April 1, 2010 at 18:10
Nice! Is this going to be configurable from systemsettings in 4.5?
April 1, 2010 at 23:36
@TheBlackCat:
Sorry, I don’t know. I do hope so though – System Settings was the first place where I looked for this option, and when I didn’t find it at first I assumed that it only worked with Plasma Netbook.
April 29, 2010 at 0:24
Well, I like Kwin more and more. Thanks for the tip 🙂
August 1, 2010 at 0:39
Woohoo! This was a pet peeve of mine, that the vertical scroll bar didn’t extend to the very edge of the screen — but now (with KDE v4.4.2) it seems to be the standard. This is very nice.
October 15, 2011 at 13:51
thanks, that’s a really fine trick
April 8, 2012 at 11:36
[…] Ich nutze seit einiger Zeit ein KWin-Feature, welches meine maximierten Fenster ohne Dekorationen (Ränder, Titelleiste) anzeigt. Ich habe mich bisher immer einem Setting in meiner kwinrc bedient, wie hier beschrieben. […]
April 10, 2012 at 16:43
Just awesome…. Thank you for writing this. I today had deleted my .kwinrc settings and had a hard time recollecting how to enable this. 🙂
October 2, 2013 at 8:53
Thank you for this post. I’ve been using this tip for years. Who needs borders with maximized windows anyway ?
October 14, 2013 at 6:34
Thank you for this post. I have disabled the option in config for KDE 4.11 in which there is no way to show borders…
July 19, 2016 at 11:54
[…] This is a suggestion copied from here. […]