Warning: session_start(): open(/tmp/sess_n5did0vgmk9134moh6ho0v6sh3, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
Scan with ClamAV (extended) openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (7) .- Knowledge Base  . 

Scan with ClamAV (extended)

   2.5.7  

KDE Service Menu

Score 74%
Scan with ClamAV (extended)
zoom


Scan with ClamAV (extended)
zoom


Scan with ClamAV (extended)
zoom


Downloads:  2969
Submitted:  Jan 8 2011
Updated:  Jun 18 2013

Description:

A short script to scan files or directories with ClamAV.
It provides the ability to scan multiple files, a progress-dialog and a result window.

Installation:
1. Start Dollphin
2. Press "Configure and control Dolphin" > "Configure Dolphin..."
3. Go to "Services"
4. "Download New Services..."
5. Search for my scripts name
6. Press "Install"

You need to have ClamAV installed.
If you encounter any issues when using the graphical way extract the file and run "sh install.sh".

All files are installed in the users home directory (/home/[user]/.kde[4]/share/kde4/services/ServiceMenus/ClamScan/), there is no need to use su or sudo to install

Note:
The script is currently translated in English, Finnish, French, German, Indonesian, Italian, Russian, Spanish, Swedish, Turkish and Ukrainian.
If you wish another language, translate the following and leave me a message or write it in a comment:
Name[en]=Scan with ClamAV
wait="ClamAV is scanning, please wait."
not_found="ClamAV is not installed!"
scan_sentence="Scanning files: "

Translations:
  • English
  • Finnish (Thanks to nikore90)
  • French (Thanks to pbuard)
  • German
  • Indonesian (Thanks to JamurBulet)
  • Italian (Thanks to Andrea Sciucca)
  • Russian (Thanks to Omega9)
  • Spanish
  • Swedish (Thanks to Jonas Norlander)
  • Turkish (Thanks to tanzer)
  • Ukrainian (Thanks to Localizator (localizator@ukr.net))



  • Changelog:

    2013-6-18 (2.5.7)
    - fixed permissions

    2012-9-16 (2.5.6)
    - fix: install-script: create path2 if it doesn't exist

    2012-4-21 (2.5.5)
    - support for linked directories
    - support for empty directories
    - unnecessary logfile gets deleted after scan, only result file remains
    - fixed some if-conditions
    - counts directories

    2012-4-19 (2.5.4)
    - fixed a wrong directory test (minor bug); now [ -d ] instead of [ -f ]
    - did some testing on the mountable devices .desktop file, seems to work fine now

    2012-4-19 (2.5.3)
    - fixed a wrong set directory (~/.kde4/...) (that was for testing, I forgot to remove it)
    - added spanish
    - fixed this bug: gentooforum.de/artikel/17867/2/update-script.html when running ClamScan.sh without syntax

    2012-2-23 (2.5.2)
    - fixed recognition of empty directories which I broke in 2.3

    2012-2-23 (2.5.1)
    - Indonesian translation

    2012-2-4 (2.5)
    - using mkdir -p instead of if-conditions

    (See Changelog file)

    Don't forget to vote!




    LicenseCreative Commons by
    (137158-ClamScan.tar.gz)
    Send to a friend
    Subscribe
    Other  Content  from Incarus
    Report inappropriate content



    goto page: prev   1  2  3  4 

    -

     Wrong folder

     
     by FraMari on: Dec 27 2011
     
    Score 63%

    Hi,
    I think that the folder location is wrong.
    In should be ~/.kde4/share/kde4/services/ServiceMenus/ClamScan/, instead of ~/.kde/share/kde4/services/ServiceMenus/ClamScan/ClamScan.sh.


    Reply to this

    -

     Re: Wrong folder

     
     by Incarus on: Dec 27 2011
     
    Score 50%

    Hi,
    I reviewed the complete source code and come to the following conclusion - correct me if I'm wrong:

    There are two common locations for servicesmenus, on my machine (kde4-config --path services):
    /home/USER/.kde/share/kde4/services/
    and
    /usr/share/kde4/services/

    For my script I'm using the /home/USER/.kde/ (~/.kde) path because you can write in it without superuser-rights - not to mistaken with /usr/share/kde4/ (!).

    However, I will try to completly use relative paths (kde4-config --path services) instead of absolute paths (/home/USER/...) in my next release, thank you!


    Reply to this

    -

     Re: Re: Wrong folder

     
     by FraMari on: Dec 27 2011
     
    Score 50%

    In my /home directory there's only the /.kde4 folder; /.kde folder doesn't exist. I didn't used the /usr/share/kde4/services/ folder
    In fact, when i tried to run the script, it told me that it couldn't find the ClamScan.sh in the folder ~/.kde/share/kde4/services/ServiceMenus/ClamScan/ClamScan.sh; so i changed the path, and now it works, for me.
    Thank you!


    Reply to this

    -

     Re: Re: Re: Wrong folder

     
     by Incarus on: Dec 27 2011
     
    Score 50%

    Okay, the mentioned changed should fix that. I will release a fix later this day. Thanks!


    Reply to this

    -

     Re: Re: Re: Re: Wrong folder

     
     by Incarus on: Dec 27 2011
     
    Score 50%

    *changes.

    Thank you for reporting, issue is now fixed in the installation routine. If the services path is not the default path (and I hope that is rare) the installation script will replace the paths in ClamScan.desktop. I also replaced absolute paths in ClamScan.sh with relatives.
    Not sure if there is another way to fix that - if you try to install it without install.sh and your .kde path is not the default one you could encouter problems.


    Reply to this

    -

     Re: Re: Re: Re: Re: Wrong folder

     
     by FraMari on: Dec 27 2011
     
    Score 50%

    I'm going to try this right now.
    Thanks to you!


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: Wrong folder

     
     by FraMari on: Dec 27 2011
     
    Score 63%

    It works like a charm!
    thank you



    -

     Re: Re: Re: Re: Re: Wrong folder

     
     by steveke on: Jan 3 2012
     
    Score 50%

    I see you already have a workaround, but you might be interested to use "kde4-config --localprefix --path services" to get the correct path :)


    Reply to this

    -

     Re: Re: Re: Re: Re: Re: Wrong folder

     
     by steveke on: Jan 3 2012
     
    Score 50%

    Hmm maybe just the first bit!



    -

     Re: Re: Re: Re: Re: Re: Wrong folder

     
     by Incarus on: Jan 3 2012
     
    Score 50%

    I am not happy with both solutions,
    "kde4-config --localprefix"
    and "kde4-config --path services"

    The first one only returns "/home/USER/.kde/", the second "/home/USER/.kde/share/kde4/services/:/usr/share/kde4/services/"

    The first one is unlucky, because the service menu path could differ so "/home/USER/.kde/" + "share/kde4/services" could go 404.
    The second one have to be reduced, I'm using "echo ${path%:*}" to do that, which is not the best solution but at least it works.
    In theory I need a syntax which only returns the user service menu path "/home/USER/.kde/share/kde4/services/".
    My second problem is, that the .desktop file can not run a sh file in the same directory (like EXEC=sh abc.sh). I'm not sure but I think I saw scripts there this or something similar worked. If I'm able to get this to work only the install.sh file will be affected by the first problem.



    -

     Finnish translation

     
     by nikore90 on: Dec 28 2011
     
    Score 63%

    Name[fi]=Tarkista ClamAV:lla
    wait="ClamAV tarkistaa valittuja tiedostoja, odota hetki."
    not_found="ClamAV:a ei ole asennettu!"


    Reply to this

    -

     Re: Finnish translation

     
     by nikore90 on: Dec 28 2011
     
    Score 50%

    "Finnish" not "Finish"


    Reply to this

    -

     Re: Re: Finnish translation

     
     by Incarus on: Dec 28 2011
     
    Score 50%

    Of course, corrected! Thank you ;)


    Reply to this

    -
    .

     Just what I've been looking for

     
     by webguy on: Jan 14 2012
     
    Score 63%

    Well the autoinstall through Dolphin settings didn't work, for all the reasons outlined in the first few comments, but the manual way does, one I created the ClamScan folder for it to sit in

    Thanks, it now works a treat


    Reply to this

    -

     device notifier

     
     by pru on: Jan 15 2012
     
    Score 63%

    Thank you for the script! It can be nicely added to the device notifier, go to:
    'Device Notifier Settings -> Device Actions -> Add'
    and set:
    Title e.g.: 'Scan with ClamAV'
    Command: /home/$USER/.kde/share/kde4/services/ServiceMenus/ClamScan/ClamScan.sh en %f
    Icon e.g.: System icons -> Status -> security-medium
    In the 'Device must match the following parameters for this action:' tree:

    For top tree entry set:
    Parameter type: Content Conjunction

    For 1st subentry set:
    Parameter type: Property Match
    Device type: Storage Volume
    Value name: Ignored
    Equals: false

    For 2nd subentry set:
    Parameter type: Property Match
    Device type: Storage Volume
    Value name: Usage
    Equals: FileSystem

    The file will be created in:
    /home/$USER/.kde/share/apps/solid/actions/<name>.desktop

    with the following content:
    --------------
    [Desktop Action open]
    Exec=/home/$USER/.kde/share/kde4/services/ServiceMenus/ClamScan/ClamScan.sh en %f
    Icon=security-medium
    Name=Scan with ClamAV

    [Desktop Entry]
    Actions=open;
    Type=Service
    X-KDE-Action-Custom=true
    X-KDE-Solid-Predicate=[StorageVolume.ignored == 'false' AND StorageVolume.usage == 'FileSystem']
    --------------


    Reply to this

    -

     Re: device notifier

     
     by Incarus on: Jan 16 2012
     
    Score 50%

    That is interesting.
    I currently experiment with a modified .desktop file in that directory. As soon as this works as I want and after some testing I could add it to this script and to the installation routine


    Reply to this

    -

     Re: Re: device notifier

     
     by Incarus on: Jan 18 2012
     
    Score 50%

    Got it fixed. My own script didn't work for me until I realised that my usb-stick folder contains a whitespace and that my script is not able to handle that.
    I fixed the whitespace issue in the latest release so I can deliver now the modified clamscan.desktop file in the next version


    Reply to this

    -
    .

     Version 2.4

     
     by Incarus on: Jan 23 2012
     
    Score 50%

    There was a problem with kde-apps.org.
    The downloadable version of the script should now be v2.4


    Reply to this

    -

     Installscript: add "-p" to mkdir

     
     by inpro98 on: Feb 4 2012
     
    Score 63%
    inpro98inpro98
    Inpro-Soft GmbH
    Home

    otherwise subdirs will not created if not already existing :-)

    mkdir -p "$spath"ServiceMenus/ClamScan
    mkdir -p "$spath"ServiceMenus/ClamScan/logs

    Nice app anyway.


    Reply to this

    -

     Re: Installscript: add "-p" to mkdir

     
     by Incarus on: Feb 4 2012
     
    Score 50%

    I updated that, thank you!


    Reply to this

    goto page: prev   1  2  3  4 

    Add commentBack




    -



     
     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Artwork
    Jobs
    Knowledge
    Events
    People
    Updates on identi.ca
    Updates on Twitter
    Content RSS   
    Events RSS   

    Participate
    Groups
    Forum
    Add Content
    Public API
    About openDesktop.org
    Legal Notice
    Spreadshirt Shop
    CafePress Shop
    Advertising
    Sponsor us
    Report Abuse
     

    Copyright 2007-2016 openDesktop.org Team  
    All rights reserved. openDesktop.org is not liable for any content or goods on this site.
    All contributors are responsible for the lawfulness of their uploads.
    openDesktop is a trademark of the openDesktop.org Team