Re: [Evolution] preferred web browser

However, with Firebird, clicking on a link will only work if I don't
already have an instance of Firebird already running. If I already have
Firebird running, and click on a link in an email, I get the standard
"Select User Profile" dialog, with my default profile selected and
telling me that Firebird is already running.

How can configure this so that it will work correctly?
If this is more of a Firebird issue, please let me know, and I'll bother
the folks over there.

The issue is, Mozilla (and Firebird) will prompt you with the Profile
Selector, if called a second time -- unless you use the remote
parameters like Paul and Brad already mentioned.

However, I posted scripts for this several times already. Basically you
first call {mozilla,firebird} with a new {tab,window} and if that fails
call it the normal way.

Here is a script to accomplish the very same as the already posted
scripts -- just shorter. ;)

mozilla -remote 'openURL('$1', new-tab)' || mozilla $1 &

Brad, you want to use ping() for testing? Check this out, not even
complaints if the ping() "fails", which actually is just correct

mozilla -remote 'ping()' 2>> /dev/null && mozilla -remote 'openURL('$1', new-tab)' || mozilla $1 &

And here is a variant, is you happen to not have firebird in your
path... ;)

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

Have fun...


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]