Disable KDE Launcher - Browser history integration

Whenever I search for something in KDE's Kickoff Application launcher, it also search in my browser history (both Firefox and Chromium).

I already disabled Nepomuk and selected "do not remember" under System Settings - Activities - Privacy. But it still shows my browser history.

How can i disable this?


Solution 1:

For KDE 4:
Copy /usr/share/kde4/services/plasma-runner-bookmarks.desktop
~/.kde/share/kde4/services/plasma-runner-bookmarks.desktop

For KDE 5:
Copy /usr/share/kservices5/plasma-runner-bookmarks.desktop
~/.local/share/kservices5/plasma-runner-bookmarks.desktop

Replace a line X-KDE-PluginInfo-EnabledByDefault=false.

Relogin.


Shorthand for the above:

mkdir -p ~/.local/share/kservices5
sed 's/EnabledByDefault=true/EnabledByDefault=false/' \
    /usr/share/kservices5/plasma-runner-bookmarks.desktop \
    > ~/.local/share/kservices5/plasma-runner-bookmarks.desktop

Solution 2:

(Inspired by user2798869's answer.) Another option is to create a file /home/(username)/.kde/share/kde4/services/plasma-runner-bookmarks.desktop with contents

X-KDE-PluginInfo-EnabledByDefault=false

This has the advantage over modifying the file in /usr/share/kde4/ that it will certainly persist software updates, and even OS reinstall if you have a separate home partition.

(I have tested this on openSUSE 13.1, where the file path is /home/(username)/.kde4/share/kde4/services/plasma-runner-bookmarks.desktop, but I guess Ubuntu uses .kde instead of .kde4)