Registered Member
|
Hi there,
I am trying to implement an own runner for the krunner. To do this I am following the tutorial on techbase: http://techbase.kde.org/Development/Tut ... ractRunner I have successfully built the .so file. I tried to enable the krunner doing the following: 1.) copied the .desktop file to /usr/share/kde4/services 2.) copied the .so file to /usr/lib/kde4 3.) ran kbuildsycoca4 4.) logged out of kde4 5.) logged in again 6.) summoned the krunner dialog (ALT+F2) 7.) clicked the settings button 8.) searched the list of available plugins 9.) realized that my runner is not in the list This leads me to several questions: Is there anything wrong in the steps I did to enable the new runner? How can I enable this new krunner? Where do I have to put the lib? Where do I have to put the .desktop file? Is there anything left to do to enable this new krunner? Regards, Markus |
Administrator
|
Can you post your source code please? It is possible that the X-KDE-Library field of your *.desktop file does not match the library you placed in /usr/lib/kde4/
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi. I checked the X-KDE-Library field of the desktop file: It matches the lib in /usr/lib/kde4
Here is the requested code. It is essentially the code of the mentioned tutorial: homefilesrunner.h:
homefilesrunner.cpp:
CMakeLists.txt:
|
Administrator
|
Please try changing the following line:
to:
Without the *.desktop file I was unable to test.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi. I tried your change, but it did not help...
here is the .desktop file for reference. plasma-runner-example-homefiles.desktop:
|
Administrator
|
I suggest contacting the Plasma developers on their mailing list: plasma-devel@kde.org
Unfortunately I wasn't able to get it to function either...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Moderator
|
I did some experiments and it seems to be displayed when removing the line:
in the desktop file. |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft