Comment 2 for bug 526138

Revision history for this message
Tristan Moody (tmoody) wrote :

The arguments have to do with the window decorator and are found in most KDE launchers.

Per http://standards.freedesktop.org/desktop-entry-spec/latest/ ...
%c expands to the Name key appropriate to the localization. Starting an app with the argument -caption "<thecaption>" tells the window decorator to replace the default window title with <thecaption>.

%i expands to the icon key, and %m is deprecated, but used to refer to the miniicon key.

Now, as to why g_key_file_get_string doesn't handle quotes properly, I really don't know why. My guess is it is a bug in that library, as I can't think of a reason for that to be deliberate, but running through a gdb session using ..._get_value instead seems to solve the problem.