gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
238 stars 14 forks source link

Cannot find the "Layouts tab in the script settings" #37

Closed terry-permeance closed 1 year ago

terry-permeance commented 1 year ago

I've installed the KWin script under System Settings but cannot find the "Layouts tab in the script settings" as described in the docs.

image

I can see a default 1:2:1 layout is installed using CTRL+ALT+LEFT and CTRL+ALT+RIGHT.

Is there some application to edit the "Layouts tab in the script settings"? I am using Ubuntu 18.04 and plasmashell 5.18.8. Since others have no such problem and Google isn't helping me, this must be a newbie question so apologies in advance.

Thanks, Terry

gerritdevriese commented 1 year ago

I remember this was an issue in older versions of KDE, as documented here for example: https://github.com/kwin-scripts/kwin-tiling/issues/79

You can try the following fix:

mkdir -p ~/.local/share/kservices5/
ln -s ~/.local/share/kwin/scripts/kzones/metadata.desktop ~/.local/share/kservices5/kzones.desktop

Or manually editing the config file located here: ~/.config/kwinrc

Of course, upgrading your system would also do the trick.

terry-permeance commented 1 year ago

Hello,

I've upgraded to Ubuntu 22.04 and can now see the settings.

Thanks, Terry