Reloading KRunner plugins on the go

Hello!

I’m completely new to KDE development so apologies if I overlooked anything obvious. Currently I’m working on a little Krunner plugin in Python using the template provided here.

I’m unable to figure out how to restart my plugin without having to log out and then back in. I’ve tried running the install script(which in hindsight shouldn’t have done anything lol) and restarting KRunner but it doesn’t seem to work.

I’ll really appreciate if someone could help me figure this out.

Thanks!

in dev ?

kill (python3 main.py)

and view : kquitapp6

1 Like

Hi, sorry for not replying, had been a bit busy lately.

Running killall main.py, then kquitapp6 and relaunching Krunner seems to work. Thanks for the help!