Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-08-2004, 08:42 AM   #1
Registered: Feb 2003
Location: USA
Distribution: Slackware-current
Posts: 47

Rep: Reputation: 15
Mozilla (official) Open New Window script

I've been googlin' for a while trying to find the actual (official) Open New Window script from ... I've found it pasted into forums, but I was hoping to get the link because some people tend to leave things out.

And before you say "why not ctrl-N? how hard is that?" ... I usually have windows on top of windows on top of windows because I do several things at once (wow, multitask, who would have thought?).

Thanks in Advance.
Old 08-10-2004, 07:43 PM   #2
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
You mean the script that opens a new Mozilla window instead of the Profile Manager? The one that first checks whether Mozilla is running and if it is, uses the openURL remote command?

Look what I found in the launch script firefox, in package firefox-0.9.3-i686-linux-gtk2+xft-installer.tar.gz:

# The following is to check for a currently running instance.
# This is taken almost verbatim from the Mozilla RPM package's launch script.
check_running() {
    $MOZ_CLIENT_PROGRAM -a firefox 'ping()' 2>/dev/null >/dev/null
    if [ $RETURN_VAL -eq 0 ]; then
        echo 1
        return 1
        echo 0
        return 0


if [ $ALREADY_RUNNING -eq 1 ] && [ -z "$1" ]; then
   exec $MOZ_CLIENT_PROGRAM -a firefox "xfeDoCommand(openBrowser)" 2>/dev/null >/dev/null
# End of section that checks for currently running instance. - jtg
This is as official as it gets. It's nice to see that it's finally been implemented in Firefox. Saves many people from headaches. They use mozilla-xremote-client to open the new window.


Last edited by wipe; 08-10-2004 at 07:58 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript - what to use rather than window.close() then davee Programming 2 04-11-2005 08:28 AM
Mozilla Firefox open new window script Pathian Linux - Software 17 08-12-2004 12:37 PM
bash script - open new window running a command zippity Linux - Newbie 1 07-13-2004 11:16 AM
Open a new Mozilla window linuxnube Linux - Software 3 05-17-2004 11:33 PM
RedHat 9 Script to open and close Mozilla? ArosemenaA Linux - Newbie 21 04-29-2003 01:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration