Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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