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

Re: Firefox-problem (linux.debian.user.german)



[Antwort auf PM, ist sicher für mehr Leute interessant]

> >wie gesagt, das -remote Kommando versagt bei meinem selbstinstallierten
> >Firefox 0.9.1de:


On Mon, Jul 05, 2004 at 11:22:42AM +0200, Heinz Michael Goldschmidt wrote:
> Hallo,
> das Problem ist: ab firefox 9.0 gibts kein "firefox -remote" mehr  ;o)
> das ding heisst nun  "mozilla-xremote-client"
> und ist im gleichen Verzeichnis wie deine firefox-bin.
> 
> ich hab dir mal ein script beigelegt, welches ich benutze..
> Es checkt, ob firefox gestartet ist und oeffnet ihn dann je nach wunsch
> (tab/new window) beim aufrufen erneut.
> 
> greetz Micha
> 
> 
> 
> ------------------------
> #!/bin/bash
> # Loca
> # Found on
> # "http://jonathon.quotidian.org/2003/10/firebird_in_linux.shtml";
> ## Modified for firefox 0.9 by HMGoldschmidt@gmx.de
> 
> # Set to the location of your Firefox Executable
> CHECKOPEN=/usr/local/firefox/mozilla-xremote-client
> FOXEXE=/usr/local/firefox/firefox
> 
> # Choose how to open new links 
> #OPENMODE="new-tab" 
> OPENMODE="new-window" 
> 
> # Check if Firefox is running 
> if ( $CHECKOPEN -a firefox 'ping()' 2>/dev/null )
> then
>      $CHECKOPEN -a firefox "openURL($1,$OPENMODE)" & 
> else 
>         $FOXEXE $1 & 
> fi 
> exit 0
> ----------------------------
> 
> ps: $1 ist das , was du dem script als argument mitgibst:
> /usr/local/bin/dieses_script www.heise.de

Wunderbar, vielen Dank!

Gruß
Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



Reply to: