Skip to content

Instantly share code, notes, and snippets.

@ishu3101
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ishu3101/106653d01cd30bd9b915 to your computer and use it in GitHub Desktop.
Save ishu3101/106653d01cd30bd9b915 to your computer and use it in GitHub Desktop.
KDE Service Menu Options. Taken from http://oreilly.com/pub/h/3156
Options Description
%f A single filename, even if you select multiple files. In general, you use this only when you intend to select a single file. In some cases, you can use this to select several files for use by a program that knows how to launch a separate instance for each filename.
%F Multiple selected files. Use this for programs that can act upon several files at once.
%u A single URL.
%U Multiple URLs.
%d The single directory that contains the selected file represented by %f.
%D A list of the same directory containing an entry for every selected file in that directory (%F).
%n A filename without a path.
%N Multiple filenames without paths.
%k A file represented as a URI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment