最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

linux - How to apply KDE Plasma KWin script change without restarting KWin? - Stack Overflow

programmeradmin4浏览0评论

I loaded a simple script (has only two files: metadata.json and main.qml) using this:

kpackagetool6 -t KWin/Script --install dir

Since I was testing, I modified the script, deleted it in the Settings/Kwin Scripts, and re-installed it using the same command. The problem was that, for some reason, it maintained the old script. I verified that the script was deleted from .local/share/kwin/scripts/, but somehow, when re-installed it, it had the old one. It looks as if KWin cached it somewhere.

I tried the kpackagetool6 --upgrade parameter, but it was the same.

The only way that worked was restarting kwin with kwin_wayland --replace but this kills all the running applications.

How can I apply the changes to the script without restarting win?

发布评论

评论列表(0)

  1. 暂无评论