Re: Thunderbird und Firefox
Andre Berger <andre.berger@web.de> writes:
> Michael Ott schrieb:
>>>mozilla-firefox -remote "openURL(%s,new-tab)"
> [...]
>> Ich habe es damit geschafft
>> #!/bin/bash
>> # Copyright © 2002 Mohammed Sameer <Uniball@linux-egypt.org> GPL
> [...]
>
> Lang lang.
>
> #!/bin/bash
> URL="$@"
> mozilla-firefox -remote "openurl($URL,new-tab)"||mozilla-firefox $URL
Unpraktisch, unpraktisch.
,---
| #!/bin/sh
|
| if [ `ps ax | grep firefox | grep -v grep | wc -l` -gt 0 ]; then
| export MOZILLA_FIVE_HOME=/opt/MozillaFirefox/lib
| export MOZ_BIN=/usr/bin/firefox
| else
| export MOZILLA_FIVE_HOME=/opt/mozilla/lib
| export MOZ_BIN=/usr/bin/mozilla
| fi
|
| export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_FIVE_HOME
|
| url=$1; [ -z $url ] && url=about:blank
|
| exec $MOZ_BIN $url
`---
scnr,
Martin
Reply to: