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

10
7.7
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.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

C

faho

5 years ago

There's an email notification, though I'm not quite sure under what circumstances you'll get it (it may be tied to becoming a "fan" here).

Report

bennypr0fane

5 years ago

I tried the key combos you are giving here, but barely anything changes on the screen, e.g. M+F11 leaves everything exactly as it is.

Report

bennypr0fane

5 years ago

sorry I meant M+Shift+F11.

Report

C

faho

5 years ago

There currently is no direct feedback for _disabling_ tiling (a notification or something like it would probably be nice), but it should work.

Just move a window - if it can be freely moved around, tiling is disabled. If _other windows_ move because you are moving that one, tiling is on. You'll know the difference when you see it.

Report

omeringen

5 years ago

I switched to the open source ATI drivers and wanted to give another try to v1.4 tiling script. Same issues still continues.
Going back to 1.3.2 again.

Report

omeringen

5 years ago

I mistyped, fine version is 1.3.1.2

Report

miktorel

5 years ago

Thank you! very useful extension, of course it needs improvements but it basically works!

I hope this can be integrated by default in v5

Report

omeringen

5 years ago

Firefox and Hexchat is still crashing. I switched back to 1.3.1.2 again.

Report

C

faho

5 years ago

Try switching your window decoration (oxygen works for me, qtcurve doesn't - to be clear this is about the titlebar stuff, not the style).

Report

omeringen

5 years ago

it's already set to Oxygen.

Report

omeringen

5 years ago

Please add Windowskey+PgUp/PgDown key to the description. I found it on comments but couldn't see it at description.

Report

omeringen

5 years ago

Hi,
System becomes unresponsive on new version. I am on arch linux, everything was fine until 1.3.2. How can i reach 1.3.1.2 ?

Report

C

faho

5 years ago

Hi,

first of all: What's unresponsive - starting, moving, resizing? What programs are you using?

Secondly: You can find older releases on https://github.com/faho/kwin-tiling/releases, and install them with "plasmapkg -t kwinscript -u /path/to/release".

BUT: This should be a bug, I haven't seen it, please tell me what it is so I can fix it.

Report

omeringen

5 years ago

Oh thanks. Installed 1.3.1.2 it's working fine.

About new version (1.3.2), i tried dolphin, firefox and konsole only. they become unresponsive (not responding). Firefox was crashing also.

Report

C

faho

5 years ago

I use all of those, but I can't replicate this issue. If you'd like to help, you could send me your ~/.xsession-errors, or try commenting out line 232 ("client.geometry = null") in ~/.kde4/share/apps/kwin/scripts/kwin-script-tiling/contents/code/tile.js (in v1.3.2, that is).

Report

omeringen

5 years ago

xsession-errors https://dpaste.de/S22W

Commenting line 232 makes tiling function disabled completely. Switched back to 1.3.1.2.

Report

tayss

5 years ago

there are several things not tiling correctly, sometimes the newly opened application starts maximised, below
kate, dolphin maybe few others dont start correctly youll see kinda transparent border shadow no gui it appears when opened
get this problem when open the four instance tiled to the right http://i.imgur.com/RKc78xS.png

Report

C

faho

5 years ago

Hmm... I use kate and dolphin too, so I don't think it's an issue with those specifically.

Do you have window borders enabled? If so, what's your window decoration? (A full screenshot would be nice)

How many monitors do you use?

Which layout do you use? What's your KDE version? What's the script version?

(Also, github is a better place for bug reports, generally, so it'd be nice if you could open one at https://github.com/faho/kwin-tiling/issues)

Report

benf

5 years ago

very good, but please add support for dual monitors, ty!

Report

zilti

5 years ago

I installed this using "Get hot new stuff" from inside the KWin config window.
I can open a config window that lets me select applications that are excluded from tiling, but I can't find an option to switch the layout, how can I do this?
Otherwise, great work! Thanks!

Report

C

faho

5 years ago

Currently via keyboard shortcut only (defaulting to Windowskey+PgUp/PgDown).

Note though that the default layout is the best tested one, and one of the others lacks features (resizing)

Report

arcanis

5 years ago

hi
I've posted your script to ArchLinux AUR. Direct link is
https://aur.archlinux.org/packages/kwin-scripts-tiling/

thank you for your work)

Report

zeltak

5 years ago

Hya

really like this script , thx alot, it makes coming from a tiling wm much easier

one thing i wanted to ask is about multi monitor support? IE i have scree #1 a laptop and sometimes at home i add an additional screen (#2). can the script auto tile on screen #2 when the monitor is connected and auto tile on screen #1 when only laptop is connected? the new kcreen module:

http://www.afiestas.org/kscreen-1-0-released/

seems very intelligent on knowing when a new monitor is connected/disconnected so that could be really helpful

also related can the script auto make the tiled windows on screen #2 be sticky so that when you switch desktops on laptop monitor it will still be on screen #2?

sorry for the long post, just some ideas i thought could be useful for other people!

thx alot

Z

Report

C

faho

5 years ago

Hya

Quote:one thing i wanted to ask is about multi monitor support?

It's supposed to do multi-monitor, but it's barely tested as I don't really use it.

If you want to help out, test it and tell me when exactly it doesn't work or how it could be better (though github would probably be a better place for that)

Quote: the new kscreen module

Not helpful unfortunately as I can only use what kwin gives me (which should be enough).

Quote:also related can the script auto make the tiled windows on screen #2 be sticky so that when you switch desktops on laptop monitor it will still be on screen #2?

Quite frankly that should be something for another script.

Report

EthanAdams

5 years ago

I'm getting a bug with KDE 4.11 and tiling 1.2. If you drag a window, but not far enough to change positions (like if you have two windows open side by side and you drag one window down instead of to the other side of the screen) I get strange transparency bugs.
PIC: http://i.imgur.com/zsx7lvG.png

Report

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
130
product-maker timatgca Apr 29 2019 8 great
++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 8 great
+
product-maker emplate430 May 19 2018 8 great
TY!
product-maker WildPenquin Feb 04 2018 8 great
Some bugs, but functional and useful!
product-maker KIMW Jun 16 2017 8 great
product-maker gegenderteBratwuarst May 13 2017 8 great
product-maker aram Jan 05 2017 8 great
product-maker mirkogennari Oct 07 2015 8 great
product-maker reflectionalist Sep 21 2014 8 great
product-maker Morphingbunny Sep 04 2014 8 great
product-maker Zipristin Jul 27 2014 8 great
product-maker DivanSantana May 27 2014 8 great
product-maker SicoBulo May 25 2014 3 bad
product-maker UnderTheGun May 20 2014 8 great
product-maker Iyuk May 18 2014 8 great
product-maker Zolnierzu May 09 2014 8 great
product-maker eticre Apr 20 2014 8 great
product-maker samyp Mar 20 2014 8 great
product-maker miktorel Jan 30 2014 8 great
product-maker junyx Jan 13 2014 8 great
product-maker unikum111 Jan 09 2014 8 great
product-maker frag Dec 29 2013 8 great
product-maker omeringen Dec 28 2013 8 great
product-maker dimparf Nov 24 2013 8 great
product-maker ms0145 Oct 29 2013 8 great
product-maker alemsogel Oct 23 2013 8 great
product-maker herrbatka Oct 23 2013 8 great
product-maker t1010011 Oct 16 2013 8 great
product-maker D-- Oct 16 2013 8 great
product-maker Contrast Oct 15 2013 8 great
product-maker saabzero Oct 15 2013 8 great
product-maker Count:2 Rating: 5.00
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
GPLv2 only
version
2.1
updated Apr 05 2019
added Oct 15 2013
downloads today
59
page views today 68