Or, more generally, what is the syntax of the commands such as exo-open --launch WebBrowser %u
?
Ubuntu – In a .desktop file, what is the “%U” variable
xdg
Related Question
- Ubuntu – How to set the ‘Path’ variable in a .desktop file to be relative to the location where the desktop file is located
- Ubuntu – What’s the absolute path of an icon declared in a .desktop file
- Ubuntu – use instead of gnome-open
- Ubuntu – the “Templates” folder in the home directory for
- Ubuntu – change the name of the Desktop directory
Best Answer
When the program is launched the file manager or program launcher will expand the
%u
with a single URL or file path of the thing you are trying to open.See the Freedesktop.org Desktop Entry Specification for other codes that you can use in a .desktop file.