micha4w / kde-alt-f4-desktop

KWin Script to show Logout screen when Pressing Alt-F4 on the desktop
4 stars 1 forks source link

KDE plasma 6 broke script #1

Closed krunkske closed 6 months ago

krunkske commented 6 months ago

basically the title. It just wont work anymore for plasma 6.

benbc7 commented 6 months ago

I forked this repo and fixed it for plasma 6 here. The changes break plasma 5 compatibility so I wasn't sure if I should make a PR yet.

krunkske commented 6 months ago

I forked this repo and fixed it for plasma 6 here. The changes break plasma 5 compatibility so I wasn't sure if I should make a PR yet.

I can't seem to find it in the KDE store. is that intentional or do I need to install the script myself. If so, how do I do that?

benbc7 commented 6 months ago

I hadn't changed that part from the original. The KDE store only has the plasma 5 version, you'll have to clone it and run kpackagetool6 --type=KWin/Script -i kde-alt-f4-desktop

micha4w commented 6 months ago

Ye I noticed aswell, but ive had too much to do and so have been procrastinating it...

I forked this repo and fixed it for plasma 6 here. The changes break plasma 5 compatibility so I wasn't sure if I should make a PR yet.

Feel free to make a PR! I made a branch for Plasma 5 backwards compatibility, just in case.

krunkske commented 6 months ago

I hadn't changed that part from the original. The KDE store only has the plasma 5 version, you'll have to clone it and run kpackagetool6 --type=KWin/Script -i kde-alt-f4-desktop

I'm sorry, I may be stupid but when i run that command in the source directory (the directory with the metatdata.json file) the command just spits out this:

Error: Installation of  failed: No such file: 
benbc7 commented 6 months ago

I hadn't changed that part from the original. The KDE store only has the plasma 5 version, you'll have to clone it and run kpackagetool6 --type=KWin/Script -i kde-alt-f4-desktop

I'm sorry, I may be stupid but when i run that command in the source directory (the directory with the metatdata.json file) the command just spits out this:

Error: Installation of  failed: No such file: 

You actually want to run in on the parent folder, the folder that git creates when you clone it (kde-alt-f4-desktop).

micha4w commented 6 months ago

~The store should now have the Plasma6 version on it, if you install it from the KWin Scripts Settings menu, make sure to pick the v1.0.2 (Plasma 6) version!~

Edit: see the next comment

micha4w commented 6 months ago

Actually nvm me, I didn't see that there is now a Plasma 6 Section, it should now be on here