Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All, I installed mozilla 1.5 last week, however, it isn't working as I expected. Can someone please point out where I have misconfigured my mozilla 1.5?? I doubt this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2003
    Location
    Toronto, ON., Canada
    Posts
    14

    mozilla 1.5 launch & profile issue


    Hi All,

    I installed mozilla 1.5 last week, however, it isn't working as I expected. Can someone please point out where I have misconfigured my mozilla 1.5?? I doubt this is a bug, it must be something on my end. Any help is appreciated.

    (RH9 w/ Gnome and Mozilla 1.5)

    Expected behaviour
    1. Click the launcher to open a mozilla window (in a default profile, no questions asked)
    2. Click the launcher again to open a second mozilla window (in the SAME default profile, no questions asked)

    Actual behaviour
    1. Click the launcher --> One mozilla window opens in a default profile, no questions asked.
    2. Click the launcher again --> "Select user profile" dialog opens asking for me to pick a profile
    3. Select the default profile --> Alert "Mozilla cannot use the profile "default" because it is in use. Please choose another profile or create a new one." OK
    4. Click OK, create a new profile.
    5. Create Profile --> No errors.
    6. At Select User Profile dialog, choose new profile --> opens newly created profile.
    7. Repeat from step 2 for every new mozilla session

    Apparently I need a new profile for every launcher click... that is so not cool because I can't even link to mozilla from other applications if I already have a mozilla session open! Arg. What have I misconfigured?

    Oh yes, one more note; If I <ctrl>-N from an existing mozilla session, a new window is created as expected.

  2. #2
    Just Joined!
    Join Date
    Sep 2003
    Location
    Toronto, ON., Canada
    Posts
    14
    I just realized I forgot to update this thread. You can read the link for more information about how and why I wrote the below script. It works.

    http://www.linuxquestions.org/questi...hreadid=106312

    [edit: When adapting the script below for FireBird, please note that the default behaviour for opening a new window is slightly different. Mozilla opens the homepage when fed a "" parameter while Firebird opens a blank page.]

  3. #3
    Just Joined!
    Join Date
    Sep 2003
    Location
    Toronto, ON., Canada
    Posts
    14
    #!/bin/sh
    # Mozilla startup script
    # I had issues with the way Mozilla spawned new windows. Fortunately,
    # they gave us the ability to ping remote windows to see if any were open.
    # They also let us spawn a new window from the existing session. yay.
    # It's unfortunate that they didn't build this in automatically...
    #
    # Author: jordan_harkness@hotmail.com
    # Files : /usr/local/bin/moz
    # Usage : moz &

    # Point this to your REAL script that runs mozilla
    moz="/usr/lib/mozilla/mozilla"

    isRunning=`2>&1 $moz -remote ping`
    case $isRunning in
    # Start a new mozilla session
    "No running window found." )
    $moz "$*"
    ;;

    # Spawn a new mozilla window from the existing session
    "Failed to send command." )
    $moz -remote "OpenURL ( "$*" , new-window)"
    ;;

    # Dude, something's wrong.
    * )
    echo "This was the return value: $isRunning"
    echo "d'oh"
    ;;
    esac

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •