Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
url-handling
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Fri Nov 21, 2003 11:45 am    Post subject: url-handling Reply with quote

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
View user's profile Send private message
m0pr0be
Guru
Guru


Joined: 29 Aug 2002
Posts: 308

PostPosted: Fri Nov 21, 2003 12:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Sat Nov 22, 2003 2:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
m0pr0be
Guru
Guru


Joined: 29 Aug 2002
Posts: 308

PostPosted: Sat Nov 22, 2003 8:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Mon Nov 24, 2003 10:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
pi-cubic
Tux's lil' helper
Tux's lil' helper


Joined: 25 May 2003
Posts: 143

PostPosted: Sun Nov 30, 2003 7:27 pm    Post subject: Reply with quote

m0pr0be wrote:
hi

MozillaFirebird -remote
-remote <command> Execute <command> in an already running
Mozilla process. For more info, see:

http://www.mozilla.org/unix/remote.html


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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum