Re: [Evolution] Default Browser



$ cat firebird-remote.sh

--- firebird-remote.sh ---

#!/bin/sh

firebird=/usr/X11R6/bin/firebird
$firebird -remote 'openURL('$1', new-tab)' || $firebird $1 &

--- end --- 

Uhm... I *do* hope, the *first* line starts with '#' and there is *no*
line starting with an '-' char. Cut-n-paste from the terminal would be
the best to see this, please do not surround it with markers.


$ firebird http://gnome.org &

Opens the site in firebird


$ firebird -remote 'openURL(http://ximian.com, new-tab)' &

Nothing but the following:

If browser is closed:
%$ firebird -remote 'openURL(http://ximian.com, new-tab)' &
[1] 73946
%$: Command not found.

If browser open:

%firebird -remote 'openURL(http://ximian.com, new-tab)' &
[1] 73897
%
Gtk-WARNING **: Unable to locate loadable module in module_path:
"libxfce.so",

[1]    Done                          firebird -remote
openURL(http://ximian.com, new-tab)

The second command can only work, with firebird running.

Anyways, the error message is kinda strange. Maybe shell quoting
problems? As you are running FreeBSD (just remembered that bit): yeah,
it could matter. ;)

What is your default shell? What is sh on your system? (sh is the bash
on most GNU/Linux systems)

Please post the output of the following commands:

$ ls -la /bin/sh
$ ls -la /bin/bash

Have firebird running and then issue:

$ bash /usr/X11R6/bin/firebird -remote 'openURL(http://gnome.org, new-tab)'


Kinda puzzled...

...guenther


-- 
char *t="\10pse\0r\0dtu\0  ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1:
(c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]