Skip to content

Instantly share code, notes, and snippets.

@jesustorresdev
Created April 6, 2018 14:12
Show Gist options
  • Save jesustorresdev/4a99c61874f50b220682fe2d03bce55c to your computer and use it in GitHub Desktop.
Save jesustorresdev/4a99c61874f50b220682fe2d03bce55c to your computer and use it in GitHub Desktop.
Desktop entry to add a desktop action to compare text files with KDiff3. Have to be saved in "~/.local/share/kservices5/ServiceMenus"
[Desktop Entry]
Type=Service
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=text/*;
Actions=diffFiles;
X-KDE-AuthorizeAction=shell_access
[Desktop Action diffFiles]
Name=Compare Files
Name[es]=Comparar archivos
Name[es_ES]=Comparar archivos
TryExec=kdiff3
Exec=kdiff3 %i -caption "%c" %F
Icon=kdiff3
X-Ubuntu-Gettext-Domain=app-install-data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment