Avast4Home KDE4 integration

Today Avast Linux Home Edition is nice “integrated” with the file browser Konqueror when running KDE3.x. There is an action “Scan for viruses” in Konquerors context menu (when right-clicking a folder).
It would be nice to have the same action integrated into the context menu of KDE4.x file browsers Dolphin and Konqueror, is this possible?

Hallo,
i don’t use KDE (and even higher versions of this desktop-suite), but have a look here:

    # install KDE service menu item (quick scan):
    if test -d $prefix/share/apps/konqueror/servicemenus ; then
        install_symlink avast-quickscan.desktop \
            $prefix/share/apps/konqueror/servicemenus/avast-quickscan.desktop
    fi

it was just link to avast-quickscan.desktop file, placed in konqueror’s servicemenus directory as a symlink. Have a look on the place, where KDE4 stores those entries, and place the link there in the same manner.

regards,
pc

Hi,

Thank you for your reply. Unfortunately I have no idea where KDE4 store those entries, my knowledge is a bit limited :-[

Maybee Avast developers can add this feature into next release?

In such case, ususally, it’s good trick to add some artificial entry with exotic-enough name, and search for this string in your home and /usr. success granted :).

regards,
pc

Found this folder:

/usr/share/kde4/services/ServiceMenus

I tried to copy the avast-quickscan.desktop symlink from /opt/kde3/share/apps/konqueror/servicemenus to there but with no success.

Cannot find any other folder named “servicemenus”.

Just have a look at their new servicemenu formats. add some place-holder in a normal way (from the desktop-tool), and then edit it to start avast-quickscan instead.

regards,
pc