Announcement

Collapse
No announcement yet.

Scan with Clam service menu for Dolphin

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Scan with Clam service menu for Dolphin

    Is there a working service menu for Dolphin to scan files and folders with Clam?

    I tried these:
    https://www.opendesktop.org/p/998168/
    https://www.opendesktop.org/p/998441/
    https://github.com/MatTaylorSharrow/...in-ServiceMenu
    https://github.com/b606/kf5-clamscan

    but could not get any of them to work. Maybe it was my mistake but I was not successful.

    #2
    try the KF5 branch The install paths seam correct on that one.

    https://github.com/b606/kf5-clamscan/tree/kf5/ClamScan
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    Comment


      #3
      I did try that one, I checked the install file and created the folders and placed the files as recommended and ran the install but I could not get it to work. It all points to kde4 so probably will not work on kde5.

      Comment


        #4
        Turns out it is way simpler, I created a desktop file containing the clamtk scan command and it works fine.

        Place a desktop file in:
        /home/pemartins/.local/share/kservices5/kservices5/clamtk.desktop

        with the content:

        Code:
        [Desktop Entry]
        Type=Service
        ServiceTypes=KonqPopupMenu/Plugin,inode/directory,inode/directory-locked,inode/directory-hidden
        MimeType=application/octet-stream;inode/directory;all/all;
        X-KDE-StartupNotify=false
        X-KDE-Priority=TopLevel
        Actions=scanwithClam;
        
        [Desktop Action scanwithClam]
        Name=Scan with ClamTK
        Exec=clamtk %f
        Icon=clamtk
        That should do it.

        Comment

        Working...
        X