UltrawideWindows icon indicating copy to clipboard operation
UltrawideWindows copied to clipboard

Plasma 5.x no longer supported?

Open tuukkamustonen opened this issue 1 year ago • 3 comments

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.

tuukkamustonen avatar Sep 10 '24 06:09 tuukkamustonen

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 ?

ArnaudWald avatar Oct 04 '24 09:10 ArnaudWald

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?

nbelavic avatar Nov 15 '24 13:11 nbelavic

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.

darwinte avatar Nov 18 '24 20:11 darwinte

@darwinte, i tried ur suggestioln on debian 12, with kde plasma 5.27.5, (wayland), and there is no way to make it work, i've been trying with version 4.2, 4.0, the shortcuts seems to appear, but they dont work, is there any way to try the script from the console without using the shortcuts?. cheers ck

cokeito avatar Jun 03 '25 02:06 cokeito

I've made it work under debian12, x11, i used the main.js that i had under my old debian10 version and replaced the main.js file into the current install one, also on the scripts replaced the kpackagetool6 for kpackagetool5 and the kwriteconfig6 for kwriteconfig5

i've left the code on my gitlab, this is a great script and im very used to the shortcuts and i use on my daily basis, so was a real pain in the ass when i wasn't able to make it work.

cheers!

https://gitlab.com/cokeito/ultrawidewindows-debian12-x11

cokeito avatar Jun 09 '25 23:06 cokeito

Worked for me on Kubuntu as well !! Thanks a lot mate

ArnaudWald avatar Jun 16 '25 14:06 ArnaudWald