Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
64
rated 0 times [  64] [ 0]  / answers: 1 / hits: 82860  / 1 Year ago, wed, february 8, 2023, 3:08:08

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?


More From » kde

 Answers
3

Note: In recent versions of KDE Plasma (5.18+), Latte dock is interfering with the particular setting described in this answer (After every restart, the user has to run the command in this answer once again, because Latte overwrites the configuration file). The workaround is to let Latte dock manage the borderless window configuration. See this answer for more details.




To remove the borders of maximized windows in KDE Plasma 5, run the following commands:


kwriteconfig5 --file ~/.config/kwinrc --group Windows --key BorderlessMaximizedWindows true
qdbus org.kde.KWin /KWin reconfigure

This is equivalent to doing the following:



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


    BorderlessMaximizedWindows=true

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



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

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

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



  2. 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 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.


References



[#32757] Friday, February 10, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
throecember

Total Points: 274
Total Questions: 118
Total Answers: 132

Location: India
Member since Thu, Jun 11, 2020
4 Years ago
;