this post was submitted on 04 Jul 2025
3 points (100.0% liked)

KDE

6922 readers
254 users here now

KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.

Plasma 6 Bugs

If you encounter a bug, proceed to https://bugs.kde.org/, check whether it has been reported.

If it hasn't, report it yourself.

PLEASE THINK CAREFULLY BEFORE POSTING HERE.

Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.

founded 2 years ago
MODERATORS
 

I'm trying to add margins around all maximized windows (so that it matches my custom taskbar which also have small margins all around), any ideas how to achieve this? I tried doing a KWin script, but even though it installs and activates, it doesn't work, not sure what's wrong. Also I have suspicions there might be easier ways to do it. This is my script attempt:

workspace.clientMaximizeSet.connect(function(client, h, v) {
    if (h && v) {
        client.frameGeometry = {
            x: 0,
            y: 4,
            width: workspace.displayWidth - 4,
            height: workspace.displayHeight - 8
        };
    }
});

Found solution: I already have panel colorizer widget for KDE Panel and it turns out, I could simply create extra panels on top/right/bottom edges with panel colorizers that allow to make them fully transparent and have custom height/width. And for windows to not lose borders/rounded corners when maximized I found a flag in "Window Decorations > Breeze" options.

top 1 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 week ago

I also tried Maximized Window Gap (fixed metadata and manually specified margins), but it doesn't seem to do anything on current KDE/Plasma.