LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-19-2007, 04:03 PM   #1
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243
Blog Entries: 3

Rep: Reputation: 30
nVidia, TwinView & Ubuntu


Hello,

I was wondering if someone here has the Ubuntu Hacks book and could help me with some text out of the book. I heard that the book has an excellent section on getting Dual Displays working in Ubuntu. Would it be possible for someone to post, not the complete text of that section, but just the xorg.conf entries? If what I'm asking is out of the question or illegal in any way, please disregard this thread. Moderators may go ahead and lock and/or delete this thread at will.

Thanks in advance.

Last edited by hrp2171; 04-23-2007 at 06:01 PM.
 
Old 04-19-2007, 04:28 PM   #2
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
You dont need that book. Its real easy. Just install nvidia (no open source) drivers. Then execute the command: nvidia-xconfig --twinview. It does it all for you.
 
Old 04-20-2007, 12:15 PM   #3
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243

Original Poster
Blog Entries: 3

Rep: Reputation: 30
Awesome! Thanks. Now I have to tweak xorg.conf a bit. In Windows, the DVI connection is the main display and the image expands to the VGA connection. They are both LCDs capable of 1280x1024x24 at 75Hz.

DVI LCD is left of VGA LCD. I probably just have to play with this line:

Option "TwinViewOrientation" "LeftOf"
 
Old 04-20-2007, 02:12 PM   #4
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Yeah its even easier than that once you have your drivers instelled: go into X open a term and type nvidia-settings and you will get a nice control pannel for tweaking colours display orientation etc just like you do in windows.
 
Old 04-20-2007, 03:37 PM   #5
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243

Original Poster
Blog Entries: 3

Rep: Reputation: 30
Thanks for bringing that up. I ran in a terminal: sudo nvidia-settings and can't change any orientation related stuff in there. I'll take a screenshot and post it. It's like something is missing.
 
Old 04-20-2007, 04:38 PM   #6
vtel57
Senior Member
 
Registered: Jul 2006
Location: USA
Distribution: Slackware64 - 14.2 w/ Xfce
Posts: 1,631

Rep: Reputation: 491Reputation: 491Reputation: 491Reputation: 491Reputation: 491
Disregard. Posting error.

Last edited by vtel57; 04-20-2007 at 04:40 PM.
 
Old 04-20-2007, 10:14 PM   #7
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243

Original Poster
Blog Entries: 3

Rep: Reputation: 30
Here is what my nvidia-settings box looks like:

http://img261.imageshack.us/img261/7...ettingsjt2.gif

Even when I click on 'Display Devices', I still don't get any options for TwinView.

I opened it with the command 'sudo nvidia-settings'. If I do it without sudo, it shows less options.
 
Old 04-20-2007, 10:23 PM   #8
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243

Original Poster
Blog Entries: 3

Rep: Reputation: 30
LOL

From man nvidia-settings:

TODO
There are many things still to be added to nvidia-settings, some of
which include:

- configurability of TwinView (NVIDIA is planning to implement
this)

- configurability of multiple X screens (NVIDIA is planning to
implement this)

I'll stop chasing my tail now.
 
Old 04-21-2007, 01:47 AM   #9
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243

Original Poster
Blog Entries: 3

Rep: Reputation: 30
I did a little more self-tail chasing but on IRC this time. Someone there told me that TwinView configuration was not available until version 9xxx of the nvidia driver. He pointed me to a repo that had a more updated version for Dapper and now I have a TwinView configuration option when nvidia-settings is open.
 
Old 04-21-2007, 04:23 AM   #10
kernel_geek
Member
 
Registered: Jan 2007
Location: UK
Distribution: Ubuntu/Arch
Posts: 161

Rep: Reputation: 30
Yeah your best bet is to download the latest of nvidia.com. Good Luck.
 
Old 04-23-2007, 06:05 PM   #11
hrp2171
Member
 
Registered: Aug 2004
Location: California, USA
Distribution: Ubuntu
Posts: 243

Original Poster
Blog Entries: 3

Rep: Reputation: 30
Ok, I would really like for my dual LCD setup to behave like it does in Windows. I'm beginning to think that Windows gives priority to the DVI connection while Linux prioritizes the VGA connection.

If turn off TwinView, then the DVI connected LCD is the main display. When TwinView is on, the VGA connected LCD becomes the main display. By that I mean the display that shows the taskbars and everything by default. Somehow in nvidia-settings I got the DVI LCD to display the way I want but it's not sticking. After a logoff and login, it's back to other way.
 
Old 04-23-2007, 06:43 PM   #12
DJNolz83
Member
 
Registered: Aug 2006
Distribution: Ubuntu
Posts: 91

Rep: Reputation: 15
Quote:
Originally Posted by hrp2171
Ok, I would really like for my dual LCD setup to behave like it does in Windows. I'm beginning to think that Windows gives priority to the DVI connection while Linux prioritizes the VGA connection.

If turn off TwinView, then the DVI connected LCD is the main display. When TwinView is on, the VGA connected LCD becomes the main display. By that I mean the display that shows the taskbars and everything by default. Somehow in nvidia-settings I got the DVI LCD to display the way I want but it's not sticking. After a logoff and login, it's back to other way.
Strange fo rhtat to happen. I have a CRT (Connected via VGA) and an LCD (DVI) and when I boot windows, it feeds the vision thru the VGA, then the DVI, making my CRT the main screen. When I boot Linux (either Ubuntu or fedora) it feeds the vision thru the DVI to the LCD. Becoz I dont have my twinview set up properly (yet), I can tuse my CRT when in Linux -- this is just a case of needing to read a bit more to get it going!
 
  


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
LXer: Book Review - SQL Hacks by Andrew Cumming and Gordon Russell LXer Syndicated Linux News 0 02-25-2007 07:46 PM
LXer: Book Review: Network Security Hacks: Tips & Tools for Protecting Your Privacy LXer Syndicated Linux News 0 11-24-2006 02:24 AM
LXer: Book Review: The Official Ubuntu Book LXer Syndicated Linux News 0 08-30-2006 05:54 PM
LXer: Book review: Linux Server Hacks, Volume Two LXer Syndicated Linux News 0 01-21-2006 04:16 AM
Help with Linux Server Hacks book: Turbo-mode SSH logins ToBe Linux - Security 4 12-21-2003 12:39 PM

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

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