Archiv verlassen und diese Seite im Standarddesign anzeigen : Firefox Startup Script v0.8
Ich hab mein Startup Script aktualisiert
Linux Startup Script for Mozilla Firefox (Bash Script).
Features:
* If a new Firefox is requested when there is already a running Firebird, the script just tells the currently running Mozilla to open a new window.
* Viewing local html files is easier (you can type "firebird ./homepage.html" rather than "firebird file:///home/gladiac/Documents/linux-clan.html").
* Works together with Mozilla Thunderbird
http://www.mozilla.org/projects/thunderbird/linuxurls.html
Download:
http://www.cynapses.org/?show=codings
gladiac
Hi
das Script funktionier eigentlich recht gut, zumindest die Grundfunktion. Doch hab ich noch Probleme mit dem öffnen von Mails auf Firefox heraus, sowie das öffnen von Links aus Thunderbird heraus. Es passiert nie etwas, wenn ich auf Links klicke oder auf eine E-mail adresse.
Meine firefox script:
FIREFOX_HOME=/usr/local/bin/firefox
OPEN_MODE=new-tab
ORIGIN_DIR=`pwd`
export FIREFOX_HOME=$FIREFOX_HOME
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$FIREFOX_HOME
# get URL to load
URL=$1; [ -z $URL ] && URL=about:blank
# check if we're trying to open a file
if [ -e "$URL" ];
then
if [ -e "./$URL" ];
then
URL="file://localhost$ORIGIN_DIR/$URL"
else
URL="file://localhost$URL"
fi
fi
# try xremote first
$FIREFOX_HOME/mozilla-xremote-client "openURL($URL, $OPEN_MODE)" && exit 0
# if xremote failed, then launch the browser
exec $FIREFOX_HOME/firefox $URL
Meine firefox prefs.js
user_pref("network.protocol-handler.app.mailto", "/usr/local/bin/thunderbird/thunderbird.sh");
Mein Thunderbird script:
THUNDERBIRD_PATH="/usr/local/bin/thunderbird"
export MOZILLA_FIVE_HOME=$THUNDERBIRD_PATH
MAILTO=`echo $@ | awk 'BEGIN{FS=":"} $1 ~ /mailto/ {print $2}'`
if [ -z "`ps x | grep \"[0-9] ${THUNDERBIRD_PATH}/thunderbird-bin\"`" ]; then
# No thunderbird running
${THUNDERBIRD_PATH}/thunderbird "$@"
else
# thunderbird running - raise window
${THUNDERBIRD_PATH}/thunderbird -remote "xfeDoCommand(openInbox)"
fi
if [ -n "$MAILTO" ]; then
${THUNDERBIRD_PATH}/thunderbird -remote "mailto($MAILTO)"
fi
Meine Thunderbird user.js
user_pref("network.protocol-handler.app.http", "/usr/local/bin/firefox/firefox.sh");
user_pref("network.protocol-handler.app.https", "/usr/local/bin/firefox/firefox.sh");
user_pref("network.protocol-handler.app.ftp", "/usr/local/bin/firefox/firefox.sh");
Ich hatte auch mal das Problem das es nicht funktionierte, da half nur löschen des ~/.firefox Verzeichnisses und neu aufsetzen.
hab mein /.phoenix Verzeichnis mal testweise umbennant, aber es hat leider nicht funktioniert :-/
Also das Problem hab ich schon ewig ;)
Nur bei mir stürzt thunderbird ab wenn ich dort auf eine url klicke und firefox startet :ugly: :ugly:
If a new Firefox is requested when there is already a running Firebird, the script just tells the currently running Mozilla to open a new window.
:confused: Was denn nu? :ugly:
Wo ist das Problem?
Ist bereits eine Instanz von Firefox am laufen, wenn eine weitere aufgerufen wird, dann wird nicht der Profielmanager sondern ein neuer Tab in Firefox geöffnet.
lies den Satz noch einmal genau ..
verdammter Paragraphenreiter :ugly:
bin ich zu blind? wo findet man denn nun dieses script?
bin ich zu blind? wo findet man denn nun dieses script?
Da wo Download steht....
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.