I have written a simple application which registers an "x-scheme-handler" in the .desktop file. Something like this:-
[Desktop Entry] Name=Foo Exec=/usr/bin/foo %u Type=Application NoDisplay=true Categories=System; MimeType=x-scheme-handler/foo;
This allows a user to click a
foo:// link in the browser to launch my app. However firefox pops up a "Launch Application" dialog box to ask the user which application to launch, with mine being the default.
How can I suppress this dialog box so that firefox just launches the application without requiring the popup confirmation.