Tiling Original

Kwin Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/kwin-scripts/kwin-tiling

12
Score 84.1%
Description:

Tiling script for kwin, featuring:

- Four layouts, all mouse-resizable
- One layout with the option to set multiple "master" windows ("M-S-+" to increment, "M-S--" to decrement)
- The option to deactivate tiling per-desktop via keybinding
- A configuration menu for floating windows (by class)
- A useractionmenu to selectively tile windows
- An option to remove windowborders
- "Animated" resizing and moving
- Optional "useless" gaps

Hotkeys:
("M" here stands for what is usually the windows key, "S" stands for shift)
M-PgUp / M-PgDown: Switch layout for current desktop
M-S-F11: Deactivate tiling on current desktop
M-f: Toggle between tiling and floating for active window
M-S-m: Swap active window with the master window
M-S-+: Increment number of master windows in (default) "HalfLayout"
M-S-h, M-S-j, M-S-k, M-S-l: Move window in corresponding direction

If you would like to help, consider reporting bugs and maybe even sending pullrequests to www.github.com/kwin-scripts/kwin-tiling
Last changelog:

2.3 1 month ago

- Workarounds for clients with empty class, firefox' secondary windows (downloads etc), kfind, kcalc and evolution's gpg keyphrase entry dialog
- Smart window placement for floating windows should now work better

9

sndb

10 days ago

9 9 excellent

Report

assmarqandi

24 days ago

please add exception to menu, and all of system tray icons.

Report

9

no1cares

3 months ago

9 9 excellent

Report

9

timatgca

6 months ago

9 ++April/May updates allowing drag and drop rearrangement of tiles has transformed this app. It is no longer powerful but hard to learn. Now it is powerful and easy to use. V2.1 seems to work better the multimonitors too. Last time I used this I got lost and turned tiling off, but it now seems much easier for a bear of little brain. Fantastic effort, hats off.

Report

9

laloch

6 months ago

9 +

Report

9

emplate430

1 year ago

9 TY!

Report

9

WildPenquin

1 year ago

9 Some bugs, but functional and useful!

Report

ed4jonson

1 year ago

Awesome script, But settings don`t work on kde plasma 5.9. Is there any way to change setting without GUI?

Report

9

KIMW

2 years ago

Excellent. Thank you!

Report

9

herrbatka

2 years ago

Seems to work fine, but there are a couple of problems:

my keyboard is 80s model m - no windows key here. It would be nice to be able to change bindings so I could use this script without changing shortcuts in code.

Does not play well with activities.

Report

Teyras

4 years ago

Great script! Are you going to port it to KDE5's KWin?

Report

C

faho

4 years ago

See https://github.com/faho/kwin-tiling/tree/plasma5

It's already ported (and I'm using it right now).

There was something lost in the process (most notably shorcuts/hotkeys don't work yet), though.

Report

Teyras

4 years ago

OK, thanks. I really do miss the shortcuts, though.

Report

codernumber1

4 years ago

I've switched from Awesome WM not so long ago. Tried Gnome3 - no proper tiling there.

Your extension and KDE in general both look promising for a work environment.

Report

9

D--

5 years ago

If I disable tiling in desktop A, then switch to desktop B and then again to A, desktop A has tiling enabled again. Is this normal?

Report

9

reflectionalist

5 years ago

It seems Tiling does not play quite well with Window Tabbing (which automatically group similar windows). Suppose I have three windows in the layout | |-|, and where top right is a Dolphin window. Now if I open another window of Dolphin, without Window Tabbing enable, I should get the layout | |=|. With Window Tabbing, the newly-opened Dolphin window will be pulled out its tile and grouped together with the top-right one. This is what I want. But the problem is that the tile of the pulled-out window does not get automatically filled by neither the grouped windows nor the other one. Is it possible to add auto filling in this case?

Actually a more plausible solution would be to provide stacking and tabbing support as does i3. After that, Tiling for KDE is done. :)

Report

C

faho

5 years ago

That's a known issue - contrary to the API documentation, kwin doesn't actually expose tabgroups to scripts (See https://bugs.kde.org/show_bug.cgi?id=330100). Some cases can be handled by assuming windows on top of others are tabbed, but that's really fragile.

Report

9

reflectionalist

5 years ago

You said that the key bindings M+u and M+h/j/k/l were removed since KWin already has them but set to different keys. But I can not locate these settings of KWin. Where can I find them? Could you give a hint? Thanks. Native, useful extension by the way.

Report

C

faho

5 years ago

In "Global Keyboard Shortcuts" -> "KWin", there's "Switch to Window Above" (and "Below", "to the Left", "to the Right") for the M-{K,J,H,L} stuff, and "Hide Window Border" for M-U.

Report

MoonDragon

5 years ago

I love this script... it really works well. I'm using it on KDE 4.14 and it rocks. No screen space wasted on my laptop. got a master window with two others, everything switchable.... Now I finally see the sense in a tiling window manager... you could do this without a desktop and just a window manager.... cool! :) thanks for doing this, it's the only tiling script on KDE that actually works effectively....
And, I'm a newbie to linux, coming from MAC and MSWindows..... haha, I love that there's so much experimentation, it leads to wonderful innovation

Report

bennypr0fane

5 years ago

I have a problem updating from 1.6.1 to 1.6.3, namely KDe system settings wants to keep the old one. if I manually your script and import the file into system settings, it refuses to do so bcs there is a tiling script already. After I tried the update button, it still reports 1.6.1. Deinstalling and re-installing didn't help either. KDE just won't forget I ever installed the 1.6.1 version., and I forgot where I put the original file / don't know where KDE stored it by default

Report

3

SicoBulo

5 years ago

I can give your script a positive review... but it does not work..

plasmapkg -t kwinscript -u Descargas/161151-tiling.kwinscript
plasmapkg(29538)/libplasma Plasma::PackageStructure::metadata: Could not open package file, unsupported archive format: "/home/joseluis/Descargas/161151-tiling.kwinscript" "text/plain"
plasmapkg(29538)/libplasma Plasma::PackageStructure::metadata: Could not open package file: "/home/******/Descargas/161151-tiling.kwinscript"
El complemento Descargas/161151-tiling.kwinscript no está instalado.

nor it works when I try to install from systemsettings > window beahvior > kwin scripts

Report

3

SicoBulo

5 years ago

I mamged to install it right now, your link provides a useless .kwinscript, I downloaded it from your git hub... but I have another problem now... y puts all the windows below the conky window.

In conky editing the attributes does not change a thing, is your script.

Report

3

SicoBulo

5 years ago

Forget me... the conky configuration I tried to change was commented... your script works good.

Report

9

Iyuk

5 years ago

Really good script! Keep up the good work!

Report

2.3 1 month ago

- Workarounds for clients with empty class, firefox' secondary windows (downloads etc), kfind, kcalc and evolution's gpg keyphrase entry dialog
- Smart window placement for floating windows should now work better

2.2 4 months ago

- Some shortcuts are now not bound by default, to focus on the core feature set
- The default layout switching shortcuts have been changed to Meta+Shift+PgUp/PgDown
- Floating windows are remembered across layout switches
- Better support for screen resizing and rotation
- Support for rotating layouts
- Improved handling for maximized clients (requires KWin >= 5.16!)
- Move window left/right now moves the client to another screen if necessary
- The default split ratio for HalfLayout is now configurable

2.1 4 months ago

- The resize bindings now resize by a fraction of the screen, not a certain number of pixels
- "wine" is added to the blacklist
- Preexisting clients are tiled again
- The configuration screen has switched a widget that is now unavailable by default for one that is
- Shortcuts for switching to the next/previous tile
- A new i3-like layout
- The blacklist is now case-insensitive
- The long-standing problem where clients freeze up until they are resized has hopefully been fixed
- A new OSD is shown when switching layouts
- Better multimonitor support
- A whole bunch of minor bug fixes

2.0.0 2 years ago



This release features a bunch of stuff, including:

Improved compatibility with KWin 5 (including working shortcuts with KWin >= 5.8.3)

Ignore transient windows (improves compat with e.g. eclipse)

Use basicUnits (fixes emacs without frame-resize-pixelwise)

Improved multi-monitor support

Always respect minimum/maximum size - anything else is unsupported by KWin upstream

Improved re-tiling of unfullscreening clients

5 years ago

* Forgot to enable bladelayout, could lead to crashes/script not working.

* 1.0.1: Fix some issues with panel at the top

* 1.1.0: Add an option to disable borders
This should only be used with FocusUnderMouse, as because of a kwin limitation focus can jump and it's impossible to tell which window has focus

* 1.1.1: Bugfixes and an attempt to adjust to new or removed panels

* 1.1.2: Enable resize "animations" and bugfixes (again including panel struts)

* 1.1.3: Retile on layout switch and keep desktop floating state

* 1.1.4: Bugfixes related to tabgroups and the focus hotkeys

* 1.2: Properly retile when a client resizes (including borders), "animate" moving, improve resizing "animation", add keybinding to toggle window border and bugfixes

* 1.2.1: Remove broken tabgroup handling (tabgroups float for now) and add a possible bugfix for some transparency issues

* 1.3 (unreleased): Readd clients that return (e.g. are unminimized) to their previous tile, bugfixes (including resizing)

* 1.3.1: Tabgroups, add shortcut (Meta+Shift+M) to swap a window with the master, bugfixes

* 1.3.1.1: Fix plasmoids immediately closing

* 1.3.1.2: Fix maximizing, fullscreen and resizing bugs

* 1.3.2: Fix windows not responding and focus-follows-mouse choosing the wrong window, add an option to open windows as master

* 1.3.3: Fix movement losing windows, add workaround for steam update window, fix tiling not working

* 1.4: Add option to disable tiling by default, add per-desktop layout configuration (as a line of text currently), add shortcut to toggle borders on all clients (M-S-U), add shortcuts to resize the master window (M-Alt-{h,j,k,l}), minor bug fixes

* 1.5: Bugfixes (including crashes), optional gaps between windows, respect min/maxsize (unfortunately this could cause crashes under certain circumstances)

* 1.6 (unreleased): Make resizing layout-agnostic, a manual tiling mode, code cleanup, fix tiling when compositing is disabled

* 1.6.1: Respect min/maxSizes, multiple (or zero) master support in halflayout, bugfixes

* 1.6.2: Make respecting min/MaxSizes an option, improve fullscreen behavior, improve configuration UI, remove shortcuts for toggling a border for a single window and switching focus (as they are provided by kwin itself already)

* 1.6.3: Fix crash when number of desktops isn't height * width of desktopgrid, fix default floating list

* 1.7.0: Bugfixes, add option to defer placement to kwin

12345678910
132
product-maker sndb Nov 04 2019 9 excellent
9 excellent
product-maker no1cares Jul 17 2019 9 excellent
9 excellent
product-maker timatgca Apr 29 2019 9 excellent
++April/May updates allowing drag and drop rearrangement of tiles has transformed this app. It is no longer powerful but hard to learn. Now it is powerful and easy to use. V2.1 seems to work better the multimonitors too. Last time I used this I got lost and turned tiling off, but it now seems much easier for a bear of little brain. Fantastic effort, hats off.
product-maker laloch Apr 22 2019 9 excellent
+
product-maker emplate430 May 19 2018 9 excellent
TY!
product-maker WildPenquin Feb 04 2018 9 excellent
Some bugs, but functional and useful!
product-maker KIMW Jun 16 2017 9 excellent
product-maker gegenderteBratwuarst May 13 2017 9 excellent
product-maker aram Jan 05 2017 9 excellent
product-maker mirkogennari Oct 07 2015 9 excellent
product-maker reflectionalist Sep 21 2014 9 excellent
product-maker Morphingbunny Sep 04 2014 9 excellent
product-maker Zipristin Jul 27 2014 9 excellent
product-maker DivanSantana May 27 2014 9 excellent
product-maker SicoBulo May 25 2014 3 bad
product-maker UnderTheGun May 20 2014 9 excellent
product-maker Iyuk May 18 2014 9 excellent
product-maker Zolnierzu May 09 2014 9 excellent
product-maker eticre Apr 20 2014 9 excellent
product-maker samyp Mar 20 2014 9 excellent
product-maker miktorel Jan 30 2014 9 excellent
product-maker junyx Jan 13 2014 9 excellent
product-maker unikum111 Jan 09 2014 9 excellent
product-maker frag Dec 29 2013 9 excellent
product-maker omeringen Dec 28 2013 9 excellent
product-maker dimparf Nov 24 2013 9 excellent
product-maker ms0145 Oct 29 2013 9 excellent
product-maker alemsogel Oct 23 2013 9 excellent
product-maker herrbatka Oct 23 2013 9 excellent
product-maker t1010011 Oct 16 2013 9 excellent
product-maker D-- Oct 16 2013 9 excellent
product-maker Contrast Oct 15 2013 9 excellent
product-maker saabzero Oct 15 2013 9 excellent
product-maker Base: 4 x 5.0 Ratings
no1cares
Jul 17 2019
anangrygoose
Jun 02 2019
jahp
May 17 2019
timatgca
Apr 29 2019
laloch
Apr 22 2019
Zipristin
Jul 27 2014
k3mist
Jun 28 2014
UnderTheGun
May 20 2014
samyp
Mar 20 2014
Brutus180
Mar 14 2014
arcanis
Nov 19 2013
ms0145
Oct 29 2013
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 only
version
2.3
updated Sep 28 2019
added Oct 15 2013
downloads 24h
57
pageviews 24h 56
System Tags linux unix gplv2