View previous topic :: View next topic |
Author |
Message |
pi-cubic Tux's lil' helper


Joined: 25 May 2003 Posts: 143
|
Posted: Fri Nov 21, 2003 11:45 am Post subject: url-handling |
|
|
hi!
i'm using mutt to read my mails und urlview to extract urls so that i can view them in firebird. i already configured /usr/bin/url_handler.sh, so that urlview uses not lynx as default browser, but how can i achieve that firebird doesn't open a new browser everytime i extract an url out of mutt? i want that urlview opens all new urls as new tabs in my current open browser!
any ideas?
greez,
pi-cubiq |
|
Back to top |
|
 |
m0pr0be Guru

Joined: 29 Aug 2002 Posts: 308
|
Posted: Fri Nov 21, 2003 12:35 pm Post subject: |
|
|
hi
MozillaFirebird -remote
-remote <command> Execute <command> in an already running
Mozilla process. For more info, see:
http://www.mozilla.org/unix/remote.html |
|
Back to top |
|
 |
pi-cubic Tux's lil' helper


Joined: 25 May 2003 Posts: 143
|
Posted: Sat Nov 22, 2003 2:55 pm Post subject: |
|
|
hi, i tried out several possibilties in my /usr/bin/url_handler.sh, but i still doesn't work! mozilla opens a new window everytime i launch urlview!
take a look at it:
###########################################################################
# Configurable section
###########################################################################
#
# Any entry in the lists of programs that urlview handler will try out will
# be made of /path/to/program + ':' + TAG where TAG is one of
# XW: XWindows program
# XT: Launch with an xterm if possible or as VT if not
# VT: Launch in the same terminal
# The lists of programs to be executed are
https_prgs="/usr/bin/MozillaFirebird -remote 'openurl(%s, new-tab)':XW /usr/bin/lynx:XT"
http_prgs="/usr/bin/MozillaFirebird:XW /usr/bin/lynx:XT" |
|
Back to top |
|
 |
m0pr0be Guru

Joined: 29 Aug 2002 Posts: 308
|
Posted: Sat Nov 22, 2003 8:40 pm Post subject: |
|
|
pi-cubiq wrote: |
take a look at it:
###########################################################################
# Configurable section
###########################################################################
#
# Any entry in the lists of programs that urlview handler will try out will
# be made of /path/to/program + ':' + TAG where TAG is one of
# XW: XWindows program
# XT: Launch with an xterm if possible or as VT if not
# VT: Launch in the same terminal
# The lists of programs to be executed are
https_prgs="/usr/bin/MozillaFirebird -remote 'openurl(%s, new-tab)':XW /usr/bin/lynx:XT"
http_prgs="/usr/bin/MozillaFirebird:XW /usr/bin/lynx:XT" |
erm. you configured your settings for https:// urls. you will need to put in the same line for "normal" http:// urls too. |
|
Back to top |
|
 |
pi-cubic Tux's lil' helper


Joined: 25 May 2003 Posts: 143
|
Posted: Mon Nov 24, 2003 10:17 pm Post subject: |
|
|
well, i can't get it to work though, i think i can't use blanks in this script has nobody had a problem like this before? or can someone tell me alternative solutions for my problem (extracting urls with urlview in current running browser like firebird)? |
|
Back to top |
|
 |
pi-cubic Tux's lil' helper


Joined: 25 May 2003 Posts: 143
|
Posted: Sun Nov 30, 2003 7:27 pm Post subject: |
|
|
i finally found out that the command itself is the problem:
MozillaFirebird -remote 'openURL(%s)'
is NOT working! it gives an error: "Failed to send command."
any ideas, how to run the remote command? |
|
Back to top |
|
 |
|