View Full Version : What's the difference between %f and %U

June 12th, 2009, 01:54 PM
Hi folks,
I noticed the Exec value of desktop entries (files ending with .desktop) sometimes contains either %f or %U as a param to execute the app the desktop file refers to, but I googled and couldn't find out what's the difference between %f and %U. Any ideas?

June 12th, 2009, 02:12 PM
%U is urls
%F is files

there are more but i can't think of them off the top of my head

June 12th, 2009, 02:12 PM
A guess: %f = filename; %U = url. In particular %U is used in conjunction with kio slaves (so the same app can work with files over smb, sftp, ftp, svn, etc. )

June 12th, 2009, 02:43 PM
Thanks!! I was wondering too

June 12th, 2009, 02:44 PM
I see, thanks!