LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-17-2004, 02:56 PM   #1
linuxnube
Member
 
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, 03:04 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
http://www.linuxquestions.org/questi...mozilla+remote
Use the SEARCH, Luke ;)



Cheers,
Tink
 
Old 05-17-2004, 06:25 PM   #3
linuxnube
Member
 
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-17-2004, 11:33 PM   #4
slakmagik
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
Code:
if [ -L ~/.mozilla/default/5kivd9lf.slt/lock ]; then
	/home/j/bin/mozilla/mozilla -remote "openurl(file://$1/$2)"
else
	/home/j/bin/mozilla/mozilla "file://$1/$2"
fi
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-17-2004 at 11:34 PM.
 
  


Reply


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


All times are GMT -5. The time now is 02:38 PM.

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