LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-13-2009, 02:25 PM   #1
musashi106
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Rep: Reputation: 0
Multiple windows of the same application different displays


Hi,

First of all, I post in the newbie forum because I am a total newbie... I began with Linux (Ubuntu 9.10 "Karmic Koala") 4 hours ago. So if you answer this, please use simple words, and don't hesitate to be very descriptive

I installed the display drivers for my graphic card (nvidia 9600 GT), and configured the xconf thing and the Xserver to allow multiple displays, and it works fine. I have a computer screen on my table, and a television 3 meters away in front of my sofa, connected to the PC.

I used the "X screen separate displays" method, and I really like it, because, unlike on windows, I can totally handle my computer from my sofa OR from my desk.

But I have a problem : If I am at my desk and open firefox, then go to the sofa and try to open a firefox windows, it says "firefox is in use and does not respond, you must close... blablabla". and as it is X Screen, I can't drag a window from a display to another... so I am actually obliged to get up, close every open window on my "desk" screen and go back to the sofa.

Is there any solution to this (for example, a way to open a new window of Firefox without running the application ?

Well, this is not a huge problem, and I must admit that Linux progressed A LOT... I tried to go to Linux 5 or 6 years ago and it was so horrible that I gave up after trying to copy a file from the floppy to the HDD for 3 hours... but now, everything is really intuitive and in 4 or 5 hours, I have a working OS, internet connexion and multiple displays... GREAT !
 
Old 12-13-2009, 03:16 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Firefox's default starting procedure is to look for a running instance and connect to that if it finds one. You can only have one instance of a given profile running at a time.

From a console window, run "firefox -ProfileManager", where you can create new profiles. Then you can run that profile with "firefox -P profilename". You can then add this flag or "firefox -no-remote" to the command in whatever shortcut(s) you use to launch the program.

"man firefox" will show you all the available options.

PS: It's possible to create a simple startup script that will kill the currently running instance before re-running it, but it wouldn't be a clean shutdown.

Last edited by David the H.; 12-13-2009 at 03:23 PM.
 
Old 12-15-2009, 02:59 AM   #3
musashi106
LQ Newbie
 
Registered: Dec 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by David the H. View Post
Firefox's default starting procedure is to look for a running instance and connect to that if it finds one. You can only have one instance of a given profile running at a time.
So, when I try to open Firefox on the second display, why doesn't he find the first instance (running on the second display) and connect to it ?

Thanks for this answer (even if I didn't really understand the second part of it
 
  


Reply



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
Multiple displays with the cli cwwilson721 Slackware 15 09-07-2008 01:35 PM
Framebuffer + multiple displays piercey Linux - Software 4 10-04-2007 04:09 AM
Multiple displays with nVidia card. lvella Linux - Software 1 08-13-2005 11:20 PM
programs on multiple displays andy753421 Linux - Software 0 01-16-2005 04:21 PM
Multiple displays within one monitor natalinasmpf Linux - General 3 01-08-2004 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration