Description: A kwin script to automatically manage windows when using a touchscreen.
Whenever a new window is created, this script will automatically create a new virtual desktop, and then move the new window there, maximized and borderless. Whenever a virtual desktop except the first one is left empty, with no windows, it is automatically removed.
This will make sure that every window has its own virtual desktop.
The script should ignore popups and un-maximizable windows.
You can then switch between desktops (and so, between applications) with a 3 finger right or left slide gesture, or activate the overview or present window with a 3 finger up or down gesture.
8I am using the TeamViewer Android app on my Samsung Galaxy Tab S9 Ultra to remote into my amd64 Debian 12 server (whilst also `ssh`ing in from my aarch64 Debian 12 proot chroot in Termux) and I am currently using KDE Plasma with Wayland. I haven't yet started using this script, but I already feel and intuit that it is going to make the server desktop so much more natively touchscreeen, than TeamViewer already does. In future, I intend to give other solutions a go, like Termux:x11 and VNC Viewer, but at the moment, I am very pleased with TeamViewer. Thank you so much for this script. I am so happy I happened upon it!
9For me it's a must when working with touchscreens. This and some gestures for window management and a bit of fine tuning and plasma becomes an incredible desktop for a tablet alike device.
Really nice job!
It appears it needs to be in the kwinscript file format for it to be installable in "Get New".
file ~/Downloads/transparent-tiles-v1.0.kwinscript
/home/justin/Downloads/transparent-tiles-v1.0.kwinscript: Zip archive data, at least v2.0 to extract, compression method=store
See https://www.opendesktop.org/p/2096692 for an example.
Ratings & Comments
9 Comments
8 I am using the TeamViewer Android app on my Samsung Galaxy Tab S9 Ultra to remote into my amd64 Debian 12 server (whilst also `ssh`ing in from my aarch64 Debian 12 proot chroot in Termux) and I am currently using KDE Plasma with Wayland. I haven't yet started using this script, but I already feel and intuit that it is going to make the server desktop so much more natively touchscreeen, than TeamViewer already does. In future, I intend to give other solutions a go, like Termux:x11 and VNC Viewer, but at the moment, I am very pleased with TeamViewer. Thank you so much for this script. I am so happy I happened upon it!
9 For me it's a must when working with touchscreens. This and some gestures for window management and a bit of fine tuning and plasma becomes an incredible desktop for a tablet alike device. Really nice job!
Thanks for the feedback!!
It appears it needs to be in the kwinscript file format for it to be installable in "Get New". file ~/Downloads/transparent-tiles-v1.0.kwinscript /home/justin/Downloads/transparent-tiles-v1.0.kwinscript: Zip archive data, at least v2.0 to extract, compression method=store See https://www.opendesktop.org/p/2096692 for an example.
I tried compressing it to a zip file and then renaming it to `.kwinscript`, does it work now? Thank you very much for your help!
I'm not well versed in this either but I found this https://develop.kde.org/docs/plasma/kwin/#packaging-kwin-scripts
There are no files in this product, so it can't be downloaded from the KWin Scripts Settings window. Can you please add the files, thanks!
Sorry! I think I fixed it now, thanks for the report!
Yep, that works, thanks!