lucmos / UltrawideWindows

KWin script to move windows quickly
https://store.kde.org/p/1276605/
GNU General Public License v2.0
198 stars 40 forks source link

Plasma 5.x no longer supported? #45

Open tuukkamustonen opened 2 months ago

tuukkamustonen commented 2 months ago

Pulling the latest (5.0) and:

❯ ./scripts/update.sh
Unloading ultrawidewindows
./scripts/uninstall.sh: 15: kpackagetool6: not found
Already uninstalled
  adding: contents/ (stored 0%)
  adding: contents/code/ (stored 0%)
  adding: contents/code/main.js (deflated 85%)
  adding: LICENSE (deflated 62%)
  adding: metadata.json (deflated 47%)
Packaged in /home/mtvx/Temp/UltrawideWindows/ultrawidewindows.kwinscript
./scripts/update.sh: 12: kpackagetool6: not found

Plasma 5.27.

ArnaudWald commented 1 month ago

Hey there,

After migrating to the latest Kubuntu release, I wanted to reinstall this very useful plugin. And I ran into the same error as you.

The good news

I was able to fix this error by replacing kpackagetool6 and kwriteconfig6 by kpackagetool5 and kwriteconfig5 respectively. Not sure why they got another name, they seem to do the same thing.

This makes the uninstall and install scripts run without errors. I can see the custom shortcuts in the Settings > Shortcuts > KWin

The bad news

The new shortcuts don't seem to be working. I've tried remapping them to something else but no success either.


I don't know much about KDE plugins and window management so not sure why that's happening.

Maybe someone else can look into it ?

nbelavic commented 1 week ago

Same thing here. Managed to install but not working. Debian 12, Plasma 5.27. I want to switch to wayland, but i got used to UltrawideWindows and now i am a bit stuck :(

Maybe some older versionof kwin script works with plasma 5.27 on wayland?

darwinte commented 3 days ago

I installed Kubuntu 24.04.1 LTS and got into the same issue. It is working fine in 22.04 LTS.

UPDATE: Work around fix

The work around is to checkout the older git branch 4.2.

Then follow the README.md to install:

plasmapkg2 --type=kwinscript -i . $ kwin_x11 --replace &

The existing Ultrawindow installation must be uninstalled first before using the older version.