The desktop files have a Exec field which can take arguments.

For example, the Nautilus desktop file has this line:

Exec=nautilus --new-window %U

According to the specs, the field %U is:

A list of URLs. Each URL is passed as a separate argument to the executable program. Local files may either be passed as file: URLs or as file path.

But from where these arguments/URLs are taken?
Who provides these argument?

When click on the Nautilus icon, there is no option to insert arguments.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.