Skip to content

Instantly share code, notes, and snippets.

@JoseskVolpe
Last active March 28, 2024 11:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JoseskVolpe/b96966dd8fcde5eea96739d2a35c7e6a to your computer and use it in GitHub Desktop.
Save JoseskVolpe/b96966dd8fcde5eea96739d2a35c7e6a to your computer and use it in GitHub Desktop.
KDE Dolphin's service context to scan files and directories with ClamTK
[Desktop Entry]
Type=Service
Actions=scan;
ServiceTypes=all/all
Icon=clamav
Version=1.0.2
[Desktop Action scan]
Name=Scan for viruses with ClamTK
Name[en]=Scan for viruses with ClamTK
Name[pt]=Escanear por vírus com ClamTK
Name[es]=Buscar virus con ClamTK
Name[ru]=Сканировать на вирусы с помощью ClamTK
Name[zh]=使用 ClamTK 扫描病毒
Name[ar]=المسح بحثًا عن الفيروسات باستخدام ClamTK
Name[ja]=ClamTKでウイルスをスキャンする
Name[ko]=ClamTK로 바이러스 검사
Name[uk]=Скануйте на віруси за допомогою ClamTK
Name[de]=Scannen Sie mit ClamTK nach Viren
Name[vi]=Quét vi rút bằng ClamTK
Name[pl]=Skanuj w poszukiwaniu wirusów za pomocą ClamTK
Name[it]=Cerca virus con ClamTK
Name[iw]=סרוק לאיתור וירוסים עם ClamTK
Name[be]=Сканіраванне вірусаў з дапамогай ClamTK
Name[fr]=Recherche de virus à l'aide de ClamTK
Name[el]=Σάρωση για ιούς με το ClamTK
Name[nl]=Scannen op virussen met ClamTK
Icon=clamav
Exec=clamtk "%u"
@JoseskVolpe
Copy link
Author

JoseskVolpe commented Apr 17, 2022

License: LGPL
Dependencies: dolphin, clamtk

@JoseskVolpe
Copy link
Author

JoseskVolpe commented Apr 17, 2022

@Vistaus
Copy link

Vistaus commented Apr 17, 2022

Not sure if you can do a PR on GH Gist (I didn't find a way), so I'll do it this way then.

Dutch translation:
Name[nl]=Scannen op virussen met ClamTK

@JoseskVolpe
Copy link
Author

Not sure if you can do a PR on GH Gist (I didn't find a way), so I'll do it this way then.

Dutch translation: Name[nl]=Scannen op virussen met ClamTK

🦊 Merged, thank you :3

@Vistaus
Copy link

Vistaus commented Apr 18, 2022

Thanks for merging! :-)

@JoseskVolpe
Copy link
Author

JoseskVolpe commented Jul 23, 2022

Important to remember: ¡you're on Linux (or maybe any other UNIX-like operating system)! You're not on Windows, you don't need a antivirus, and as that, i strongly discourage you to use antivirus as it makes your system more vulnerable instead of providing more security - or use it, it's your choice and your system after all.
However, it's a good choice to make a very minimal installation of ClamAV without automatic scans and crappy only to manually scan random executables you got from somewhere random to your Windows-user friend or any Windows machine, especially if they're very negligent with their security. It won't make them 100% secure though, obviously.
This package only provides you a service menu shortcut for you KDE Plasma desktop, wich may be way quicker from using ClamTK or the terminal

@DanielLester83
Copy link

For the flatpak version of ClamTK open

~/.local/share/kio/servicemenus/ClamTKScan.desktop

and change the Exec= line to this

Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=clamtk --file-forwarding com.gitlab.davem.ClamTk @@ %F @@ "%u"

Not sure how you would check which is version exists to make a installer script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment