LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2015, 06:23 PM   #1
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
Second monitor working as primary


Let's say main monitor is A and second is B. B is connected to the primary slot of the graphic card and A to the secondary. Must do it this way due to adapter compatibility.

Problem is that even although I set A as primary and B as secondary in Gnome Settings, whenever I run an application the first time or send something to desktop, it goes to the B monitor instead of A.

Why? Is there any gsetting to force A as the primary monitor?
 
Old 10-18-2015, 07:51 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
unfortunately, we're going to need a bt more information here

1) model of video card
2) proprietary driver?
3) distribution of linux used
4) what version of gnome
5) are you set at separate screens or one extended screen?
6) which monitor are you working with when you start, do you click an icon on screen2 and it appears on screen 1?

if possible, provide us with screen shots along with the information.
 
Old 10-19-2015, 05:37 AM   #3
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
1) 01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
2) nvidia-driver: Installed: 340.65-2
3) Debian Jessie 8.2
4) 3.14.1
5) Extended screen.
6) When the PC is turned on, BIOS POST and Grub are seen on B (screen2) because it's attached to the first slot of the video card. Once the boot process gets to GDM, it switches to A (screen1) because that's what I choose in the options. So, when the PC is ready to be usable, the monitor I'm working with is A. Problem is that B is considered the main monitor for things like sending a file to desktop, or whenever I launch an application for the first time (i.e. first time I run an application after installation it shows up on B, then I move to A and close it. Next time I launch it, it will be on A).

For example, for this screenshot I chose to save it on desktop. The png file appeared on B (the left one) instead that on A which is the primary monitor.
Attached Thumbnails
Click image for larger version

Name:	desktop.jpg
Views:	11
Size:	261.9 KB
ID:	19822  
 
Old 10-19-2015, 10:36 AM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by yzT! View Post
1) 01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750] (rev a2)
2) nvidia-driver: Installed: 340.65-2

For example, for this screenshot I chose to save it on desktop. The png file appeared on B (the left one) instead that on A which is the primary monitor.
ok, the most important part is here, you would make your adjustments in the nvidia-settings control panel, (run it as root, then save to the /etc/X11/xorg.conf, logout to apply the settings and you should be fine)
 
Old 10-19-2015, 02:47 PM   #5
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
Noo, you didn't understand my problem

Gnome Settings, Nvidia and xrandr have the same configuration, right monitor is the primary and left monitor is the secondary. However, for some reason, the left monitor is taken as the default monitor for some actions, such as opening applications that haven't previously been opened or for new files created or sent to desktop via CLI (e.g. touch /home/user/Desktop/test), and I guess the reason is because the left monitor is connected to the primary slot of the graphic card (and can't connect it to the second because the DVI adapted won't work)
 
Old 10-19-2015, 03:13 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
http://worth1000.s3.amazonaws.com/th...90572_60a9.jpg
this is my nvidia.conf for two heads, one monitor can be assigned as 'xs creen 0' and one as 'x screen 1'

at least in GUI, not sure about how to change which head is default at a lower level than that, other than to just physically swap the plugs and reverse which is which in the X config.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Monitor Setup with Primary On Right Zaileion Linux - Hardware 2 07-31-2015 05:23 PM
Ubuntu/GNOME dual monitor setup: Preferring the primary monitor Doc CPU Linux - Desktop 2 09-05-2011 04:58 AM
Changing Primary Monitor tendonut Linux - Desktop 11 04-02-2007 09:18 PM
Second monitor insists on being primary one Dark_Oppressor Linux - General 0 12-15-2006 11:29 PM
Setting Primary Monitor Law1213 Linux - Hardware 1 10-10-2004 10:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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