PDA

View Full Version : what is the %u option in menu?



r5r4y
August 28th, 2009, 03:16 PM
just from curiosity...
i see many programs use this, for example:


totem %u

what is this option do?

Tibuda
August 28th, 2009, 03:22 PM
When you right-click a file and choose the "Open with another application" option, I think it replaces the %u with the file name. Not sure about it.

dragos240
August 28th, 2009, 03:25 PM
Possibly, because I opened totem with that option, it was looking for a file, that did not exist.

VCoolio
August 28th, 2009, 07:49 PM
Here (http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-0.9.4.html#exec-variables) you go.
u means url, f = file, d = directory, capitals means mulptiple of those. See the link for more.