Re: Ok, I made my browser choice

From: Ori Bernstein (ori_at_rogers-remove.com)
Date: 04/25/04


Date: Sun, 25 Apr 2004 21:42:08 GMT

On Sun, 25 Apr 2004 20:16:21 +0200, derelict wrote:
 
> I'm curious, can you get more than one instance of Firefox running under
> the same user on your system, without having to create a new profile for
> each instance?

Sometimes you need a script to do it.

The one I use is below:
-----------------
#!/bin/sh
FIREBIRD_CMD="/usr/local/bin/MozillaFirefox/firefox"
 
if [ "$1x" = "x" ]; then
        URL="about:blank"
else
        URL=$1
fi
FIREBIRD_REMOTE="openURL(${URL},new-window)"
${FIREBIRD_CMD} -remote "ping()" && $FIREBIRD_CMD -remote ${FIREBIRD_REMOTE}&& exit 0

${FIREBIRD_CMD} ${URL}
--------------------

Copy this into a file in /usr/bin, or somewhere else in $PATH, chmod +x
the script, and modify the FIREBIRD_CMD variable so it is the path to the
file you currently run to start firefox.



Relevant Pages

  • Re: Firefox issue
    ... pango Wrote in alt.os.linux: ... > when it needs to display a link. ... > already have an instance of firefox running and when one attempts ... Here is the contents of the script: ...
    (alt.os.linux)
  • VB script to change multiple users "Home Folder" only
    ... I have come accross many scripts that can change the home folder by OU ... How can I script it out so that the users share starys the same but ... '* This script logs the Domain Users and their profile path. ... '* It can also search for a specfic profile path and modify the path ...
    (microsoft.public.windows.server.scripting)
  • Re: run script once for a user
    ... just put a condition in the script. ... it is supposed to change ACL of the user so that a group called ... "ProfileAdmins" are granted modify and delete permission over his/her ... 2.evenif I leave it running for many times,as the profile sizegrow,it ...
    (microsoft.public.win2000.active_directory)
  • Re: Modify users properties
    ... > Can anyone tell me how to modify user's properties by script. ... > I wanted to modify user profile field in terminal services profile tab in ...
    (microsoft.public.windows.server.scripting)
  • Re: Modify users properties
    ... > Can anyone tell me how to modify user's properties by script. ... > I wanted to modify user profile field in terminal services profile tab in ...
    (microsoft.public.windows.server.scripting)