script to open a URL in mozilla...

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

 



Hi All,

I don't know if anyone has figured out a different solution to the following
problem but I'm posting this script in the event anyone else suffers from this
annoyance.

Problem:
Mozilla fails to load URL's submitted to it from Gnome if a profile is already
in use.

Scenario:
You've got mozilla running and you want to open a hyperlink in an email you're
reading through Evolution. Upon clicking the hyperlink mozilla pops up the
"Select Profile" dialog box because your profile is currently in use.
This occurs because the Preferences->Preferred Applications->Web browser is set
to execute the command "mozilla %s". Unfortunately, mozilla needs the "-remote"
argument if there is already a mozilla process running. Furthermore, the "%s"
URL string doesn't expand when placed within a sub-argument so a script is
needed to have gnome pass mozilla the correct arguments.

Solution:
Copy the attached script to /usr/bin and make it executable.
Replace Preferences->Preferred Applications->Web browser->Custom Web Browser
with the path to the script in /usr/bin.

HTH,
Harry

PS-> Does anyone else have this problem and is there another solution?

-- 
Harry Hoffman
hhoffman@xxxxxxxxxxxxxxxx

#----------------------------------------------------------------#
# Harry: version 4.0a                                            #
# Known bugs:                                                    #
# 1) Verbal output may occur before data processing is complete. #
# 2) Loudspeaker option may activate without being invoked.      #
# 3) Other bugs as reported                                      #
#----------------------------------------------------------------#

-------------------------------------------------
This mail sent through IpSolutions: http://www.ip-solutions.net/

Attachment: moz-url.pl
Description: Binary data


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux