LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-07-2006, 11:29 PM   #1
drummerdan
Member
 
Registered: Mar 2006
Posts: 30

Rep: Reputation: 15
2 screens, need same resolution (TwinView)


After searching and fighting, I finally got twinview to work on my nVidia dual head card. Now I can roll my windows between both screens. The problem thats got me stumped is; I can't change the resolution on my second monitor. I want it to be the same as first monitor (1024x768) but its stuck on a larger mode (1280x960) and I cant read text on it. I've also noticed that on monitor 1 the mouse rolls down to the bottom of the screen then dissapers, as if there was the extra space of the 960 that I can't see. I just want both monitors to run at 1024x768. Here is that section of my Xorg.conf file:
Code:
Section "Monitor"
    Identifier     "My Monitor"
    HorizSync       31.5 - 50.0
    VertRefresh     40.0 - 90.0
EndSection

Section "Device"

    #VideoRam    4096
    # Insert Clocks lines here if appropriate
    Identifier     "VESA Framebuffer"
    Driver         "nvidia"
#added 3.7.06    
    Option "TwinView" "true" 
    Option "ConnectedMonitor" "CRT, CRT" 
    Option "TwinViewOrientation" "RightOf" 
    Option "MetaModes" "1024x768,1280x960,1280x1024"

EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "VESA Framebuffer"
    Monitor        "My Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       8
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "800x600" "640x480"
          
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "800x600" "640x480"      
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1024x768" "800x600" "640x480"
       
    EndSubSection
EndSection
If I comment out, or edit this line:
Option "MetaModes" "1024x768,1280x960,1280x1024"
then the twinview doesn't work at all. I tried making it just say:
Option "MetaModes" "1024x768"
 
Old 03-07-2006, 11:46 PM   #2
drummerdan
Member
 
Registered: Mar 2006
Posts: 30

Original Poster
Rep: Reputation: 15
edit: in X's desktop config, it says my screen size is 2304x960 and there are no other options in the drop-down.
p.s. could someone plz tell me how to auto enable numlock???? (yes, my bios is set for it already)
 
Old 03-08-2006, 12:44 AM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
To make metamodes work with twinview you specify both resolutions separated by a comma, and then separate modes by a semicolon. What should work for you is this:

Option "MetaModes" "1024x768,1024x768"
 
Old 03-08-2006, 05:48 AM   #4
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
A quick google about your numlock problem brings up:

http://www.tldp.org/HOWTO/XWindow-Us...oreconfig.html

If you search down, the relevant paragraph (repeated here for your convenience) is:

Quote:
Speaking of the Numlock key, X will typically disable this when it starts up. No matter how you have the BIOS set up, or Linux set up before X starts. So the trick above is one way. There is also a utility available as either numlockx, or setnumlock, that can be found on the 'Net, if your distribution does not include one or the other. This can be put in a start up file to turn Numlock on automatically if you'd prefer.
Alternatively, if you want to use a larger resolution you can make that smaller monitor scroll (so you don't loose the dead space). Read the nVidia readme on the drivers to see how to manipulate the metamodes =)

- Piete.
 
Old 03-08-2006, 03:39 PM   #5
drummerdan
Member
 
Registered: Mar 2006
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Option "MetaModes" "1024x768,1024x768"
Worked like a charm! My main reason for wanting this is now I can read tutorials/readmes on one screen, while working in the terminal on the other. Perfect for a novice. The numlock question was more or an output of my frustration, after restarting X 20 times and constantly forgetting numock when putting in those resolutions.
 
Old 03-08-2006, 04:41 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
I find numlockx quite good and it's a simple install
 
  


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
TwinView/Xinerama performance issues on 3 screens UrbanSlayer Linux - Hardware 0 05-22-2005 04:34 AM
Twinview as separate screens, not stretched degraffenried13 Linux - General 3 06-06-2004 03:30 PM
twinview resolution problem astroboiii Linux - Hardware 3 02-06-2004 03:14 PM
TwinView problem with LCD & CRT screens Garfi Linux - Hardware 1 11-06-2003 12:12 PM
Help. Can't adjust screen resolution or TwinView fatter Linux - General 4 01-26-2003 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:55 AM.

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