Registered Member
|
Hello,
I created a little kwinscript and I wonder how to debug it... (I'm using gentoo and kwin 5.6.2) My action seems to be trigered as the selection flashes when I enter my shortcut but the action ( window resize/reposition ) is not performed I put the source of the script there: https://github.com/megametres/positionshortcut I use a slightly different code ( I only add a line to test in on execution in the init function )
Which work in the plasma console with the kwin option enabled
I installed my script with:
I try to reload my script after few modifications with:
and disabling/enabling my script within the kwin script section of the configuration panel I also tried to set
and specify kwin to output to a file but I cant find thee file ( tried relative and absolute path ) I don't know if it is related or not, but I have another issue ( when trying to unsintall the script )
Could anyone point me something out? |
Registered Member
|
I continue my tests and after installing my kwinscript with another startkde session my script worked.
But I was not able to modify it / reinstalling it with different spec and to reload it with the modified behavior. ( I changed the shortcut key and even after restarting kde, and reinstalling the script and modifying it in the ~/.local/share/kwin/script folder my change was not effective, I still with the initial first shortcut key ) Hence I think it is related with my uninstall problem... |
Registered Member
|
Hello,
I finally found my error...I was only testing trying the keyboard shortcut whose where registered in the kwin section in the global shortcut configuration... I added other actions and they appeared in the configuration, my kwin script is loaded correctly, it was the shortcut that were registered globally... |
Registered users: Bing [Bot], Evergrowing, Google [Bot]