KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   


- Content .- Fans (4) . 

Sticky Window Snapping


KWin Scripts

Score 72%
Issue Tacker:  Link
Version Control:  Link
Downloads:  334
Submitted:  Mar 9 2013
Updated:  Mar 10 2013


Let snapped window edges stick together when one window is resized.

The script registers two global shortcuts: one for enabling/disabling the script permanently, and one for enabling/disabling the script only for the next resize. The default shortcut keys are Meta+Shift+S and Ctrl+Shift+S, respectively. You can change them using systemsettings (or kcmshell4 keys); they are associated with the component “KWin”. Their names are prefixed by “KWin Script: Sticky Window Snapping”.

Known issues:
  • There is no optical feedback when a shortcut is pressed. I do not know how to initiate a KNotify notification from a KWin script. There is the function callDBus, but I do not know if or how it can be used for that purpose. KNotify provides the method “event” by dbus, but it expects arguments of types for which I do not know how to produce values with Java Script.

  • Currently, not only snapped window edges are considered as connected, but even edges which are only on the same row/column are considered as connected. I have not decided, if this is a bug or a feature, yet.

  • Changelog:

  • maximized windows are ignored now

  • shaded windows are ignored now

  • windows on other screens are ignored now

  • changed behavior when windows get very small while resizing

  • v0.1:
  • initial release

  • LicenseGPL
    Send to a friend
    Other  Artwork  from Flupp
    Report inappropriate content

    goto page: prev   1  2  3 


     update to Kwin 5?

     by jospoortvliet on: May 19 2015
    Score 50%
    jospoortvlietjospoortvlie t
    KDE, openSUSE, ownCloud

    I would absolutely love an update that makes this work on kwin in Plasma 5 as it doesn't seem to work here. And this is just such an amazing script I think it should be there by default....

    Reply to this


     Re: update to Kwin 5?

     by jospoortvliet on: May 23 2015
    Score 50%
    jospoortvlietjospoortvlie t
    KDE, openSUSE, ownCloud

    hmmm, so it isn't that it doesn't work, but the situation where I used it most (moving the 'divide' between quick tiled windows) is broken. So - quick tile a window do the left, quick tile another to the right, move the divide between them to give one more space than the other. I do this a lot (web development stuff...) and in kwin4 it works. With kwin5 it doesn't, the windows lose their 'quick tile' size, so they pop back to a smaller size or whatever they were before.

    Reply to this


     Re: update to Kwin 5?

     by Flupp on: Oct 15 2015
    Score 50%

    This problem was caused by a bug in KWin, which is now fixed. (cf. https://github.com/Flupp/sticky-window-snapping/issues/1)

    Reply to this

    goto page: prev   1  2  3 

    Add commentBack


    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.


     Who we are
    More about us
    Frequently Asked Questions
    Updates on identi.ca
    Updates on Twitter
    Content RSS   
    News RSS   
    Discussion RSS   
    Events RSS   

    Add Artwork
    Public API
    About KDE-Look.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Sponsor us
    Report Abuse

    Copyright 2001-2016 KDE-Look.org Team  
    All rights reserved. KDE-Look.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    KDE and K Desktop Environment are trademarks of KDE e.V.