LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-29-2004, 04:15 AM   #1
mel82
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Rep: Reputation: 15
Question how to use two monitors with different resolution?


As in title, I want to use my notebook's external monitor with a resolution different from the notebook's primary monitor.

The reason is that I have a widescreen monitor (1680x1050) and therefore switching to a 4:3 resolution in order to use an external monitor brought the "virtual desktop" effect.

I use xfce4, Nvidia GeForceGO5200, Gentoo 2004.3, with latest driver and latest kernel.
The notebook is a Dell Inspiron 8600.

How can I do that? Councils? Howtos? RTFMs?
 
Old 12-29-2004, 09:06 AM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Since you don't have a distro posted, I'll use mine as an example. There are a couple of ways. Since your setup is a bit more dynamic, being a laptop and all, I think the key combo is ALT+CTRL+PLUS, that increases the res of the screen, and if you use the - key that decreases. I don't know as I've never tried to dynamically change my screen res, but the resolutions that are chosen are predicated via your xorg.conf file. Likewise, since I've never used those key combos, I don't know if having your mouse on one screen will change it just for that screen, as I've never done it.

Now, to your xorg.con file, it's in /etc/X11, it may be called something like XF86config or something like that as well.

In there you should have a section that looks like this ( Please, note the words "looks like", this doesn't mean exactly ):

Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024"
EndSubSection
EndSection

The part you should be interested in is the Modes. That's where you set your res. For a dual monitor setup you should have two "Screen" sections, one is your main, one is your other. You'll have to use your gray matter to figure it out, but once you change it to what you want, then just restart your windowed environment.
 
Old 12-29-2004, 09:44 AM   #3
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Here is my monitor section (crt + tv)

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "CRT-0"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 27 - 115

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 80 - 160
Option "DPMS"

EndSection


Section "Monitor"
Identifier "TV-0"
HorizSync 30 - 50
VertRefresh 75
EndSection

Last edited by Tuttle; 12-29-2004 at 09:49 AM.
 
Old 12-29-2004, 09:44 AM   #4
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
Card:
**********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "MX460"
Driver "nvidia"
Option "nologo" "1"
Option "CursorShadow" "0"
BusId "PCI:1:0:0"
Screen 0
#VideoRam 65536
# Insert Clocks lines here if appropriate

# Option "TwinView"
# Option "ConnectedMonitor" "CRT-0, TV-0"
# Option "TwinViewOrientation" "Clone"
# Option "SecondMonitorHorizSync" "10 - 60"
# Option "SecondMonitorVertRefresh" "50 - 60"
# Option "MetaModes" "1280x1024,;1280x960,;1024x768,;800x600,;640x480,;,400x3
00"
# Option "TVStandard" "PAL-I"
# Option "TVOutFormat" "COMPOSITE"
# Option "TvOverscan" "0.7"

EndSection

Section "Device"
Identifier "MX460TV"
Driver "nvidia"
Option "nologo" "0"
Option "CursorShadow" "0"
BusId "PCI:1:0:0"
Screen 1
Option "TVStandard" "PAL-I"
Option "TVOutFormat" "COMPOSITE"
Option "TvOverscan" "0.6"

EndSection
 
Old 12-29-2004, 09:45 AM   #5
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
and screens:
**********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.

Section "Screen"
Identifier "Screen0"
Device "MX460"
Monitor "CRT-0"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

# DefaultDepth 8
# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

# "1024x768" is also a conservative usable default resolution. If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

Subsection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "MX460TV"
Monitor "TV-0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "640x480" "400x300"
EndSubsection
EndSection
 
Old 12-29-2004, 09:47 AM   #6
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
At the moment I am trying to separate them with a mouse each so this section needs a little more tinkering!!

**********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.

Screen 0 "Screen0"
Screen 1 "Screen1" #rightOf "Screen0"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection
 
  


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
default screen resolution smaller than max. resolution ?? Thoddy Linux - General 2 11-10-2005 01:33 AM
Using LCD monitors at less than max resolution ahz10 Linux - Hardware 4 11-04-2005 02:38 PM
problems with resolution and dual monitors shinsplints Linux - General 0 08-10-2004 05:15 PM
2 monitors, nvidia, problem with window-size (maximize uses both monitors) meximex Linux - Hardware 1 05-19-2004 04:37 AM
TV's, CRT Monitors, LCD Monitors... refresh rates and other questions MasterC General 13 05-12-2003 04:00 AM


All times are GMT -5. The time now is 05:19 AM.

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