Screen Snapping 5

Kwin Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on


This is Thomas Lübking's "Screen Snapping" KWin script, now for KDE Plasma 5. A couple of new problems that appeared in KDE5 are fixed: configuration dialog works again, and newly-placed windows will be properly snapped (if applicable).

Thomas's original description: "This overrides stock screen snapping and snaps to the decoration directly (unlike snap-to-deco which fixes the position after the actual snap and stopping the movement). In addition, vertical, horizontal, inner and outer snap distance can be configured independently."

To install manually: plasmapkg2 -i screenSnapping5.kwinscript -t kwinscript
Be sure to go to System Settings -> Window Management -> KWin Scripts, to enable (and configure if desired) after installing.


3 years ago

Unable to install this in Kubuntu 16.04.3 LTS at all (fresh install with kubuntu-backports, plasma version 5.8.8). Not through "Get New Script..." install button (shows "Installed" but nothing happens) and not manually.

Extracts stuff to .local/share/screenSnapping5 but nothing shows in System Settings / Window Management / KWin scripts

Some errors:

Package type "KWin/Script" not found
kf5.kcoreaddons.desktopparser: Could not locate service type file kservicetypes5/kwin-script.desktop, tried ...



3 years ago

A couple of problems:

1. Snapping to the bottom edge while resizing doesn't work.
2. Snapping to the left edge while resizing doesn't work when part of the window is above or bellow the screen real estate.
3. Same as 2, but for the right edge.


Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
0 Affiliates
updated Jun 29 2016
added Jun 29 2016
downloads 24h
mediaviews 24h 0
pageviews 24h 4
System Tags linux unix