1

I want to create a desktop icon that runs a command when dragging a URL from the browser and dropping it on the starter icon.

I tried it by creating a .desktop file with the following line:

Exec=my-command %U

According to the documentation %U should be replaced with the file path / URL but it doesn't seem to work.

How can I pass URL arguments to a desktop icon in Ubuntu / Gnome?

daniel
  • 11

0 Answers0