Opening a URL with xdg-open using Mozilla Remote Protocol

I cannot say anything about the specification but as far as just the result matters I (not being familiar with the quoting in such files, though) would expect this to work:

Exec=bash -c 'echo seamonkey openURL"($1)"' seamonkey-wrapper %u%

I just had this problem recently and there is a specification. here

If the % is for the application, you need to put %%. That is for the future, when creating a .desktop file for youtube-dl and using the --output option. In your case you probably need to escape the braces. \(\), because the shell evaluates them. Set the option terminal=true, you will see an error about/at (.

Or try: seamonkey 'openURL(%u)' seamonkey "openurl\$'0028'%u\$'0029'"

Beware! I use to have problems with ', while " works. But only ' means literal without any interpretation/expansion. IIRC, you do not need to put quote the variable, as it will already be quoted.