Help answer threads with 0 replies.
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 05-17-2004, 03:56 PM   #1
Registered: Oct 2003
Location: US
Distribution: Fedora C1 & C2
Posts: 81

Rep: Reputation: 15
Open a new Mozilla window

I am using VNC to access a system. I always have mozilla up in the VNC session with many tabs open.

Occasionally, I am at the console of the system and want to open up a mozilla window but the profile manager pops up because I am already running a mozilla session.

I would like to be able to do one of these. If you know how to do it, please let me know:

1) Open a window from the current VNC desktop on the current X session. No idea how to do this but I thought there might be a command line utility that I was unaware of.

2) Switch the current mozilla session from the VNC desktop to the current desktop. (THis is the most desireable to me!).

I realize that there are two solutions which are possible that I did not mention:
kill the current mozilla and restart; and add another profile. I'd rather not do these if I don't have to.

Thanks in advance.
Old 05-17-2004, 04:04 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Use the SEARCH, Luke ;)

Old 05-17-2004, 07:25 PM   #3
Registered: Oct 2003
Location: US
Distribution: Fedora C1 & C2
Posts: 81

Original Poster
Rep: Reputation: 15
When I used the search, I was searching for different terms. I did not come across that entry.

However, I tried it and it does indeed open a new window if the first window was started in that xsession. However, when I tried to open a window in the VNC x session, it gave me the profile menu again.

Any other ideas?
Old 05-18-2004, 12:33 AM   #4
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Huh. Is it the ping and the vnc stuff (clueless about that). To make moz work with a file manager that passes weird arguments, I do this
if [ -L ~/.mozilla/default/5kivd9lf.slt/lock ]; then
	/home/j/bin/mozilla/mozilla -remote "openurl(file://$1/$2)"
	/home/j/bin/mozilla/mozilla "file://$1/$2"
When mozilla runs it creates a lock file (or link, rather), so I check for that. I'm not interested in new windows or anything - I just want stuff starting an instance or opening in a running instance. Tink's ping method's neat, but maybe this will do? Just find where moz is dropping the lock file and check for it?

Last edited by slakmagik; 05-18-2004 at 12:34 AM.


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 09:28 AM
open in same window burnt_toast Fedora 6 09-29-2004 12:45 AM
Mozilla Firefox open new window script Pathian Linux - Software 17 08-12-2004 01:37 PM
Mozilla (official) Open New Window script tuxq Linux - Software 1 08-10-2004 08:43 PM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 05:46 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 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