<<< Date Index >>>     <<< Thread Index >>>

Re: urlview - open firefox tab



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday, February 26 at 10:20 PM, quoth Joseph:
> in urlview I have:
> OMMAND firefox -remote openURL\(%s,new-tab\)
>
> When I try to open any URL:
> Executing: firefox -remote 
> openURL\('http://domainkeys.sourceforge.net/',new-tab\)...
> Error: Failed to send command: 500 command not parseable

I don't use urlview (I use extract_url.pl, which is similar), but it 
looks like urlview may be stripping the backslashes. I wonder if you 
can fix it like this:

     COMMAND firefox -remote 'openURL('%s',new-tab)'

If that doesn't fix it, you could even try something stupid like 
creating a shell script (let's say openfirefox.sh) that looks like 
this:

     #!/bin/sh
     firefox -remote 'openURL('"$1"',new-tab)'

...and then use this in your .urlview file:

     COMMAND openfirefox.sh %s

~Kyle
- -- 
Reality is that which, when you stop believing in it, doesn't go away.
                                                      -- Philip K. Dick
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkmni/kACgkQBkIOoMqOI16xyQCcD27cE2ccxygzjQ/5we6CVdld
N2AAoNq32yU75JO7RZDkgzNyf/JUpWx1
=x8GE
-----END PGP SIGNATURE-----