View previous topic :: View next topic |
Author |
Message |
the-Jer n00b
Joined: 02 Dec 2003 Posts: 14 Location: Columbus, OH
|
Posted: Mon Dec 08, 2003 11:11 pm Post subject: LCD / Monitor Switching |
|
|
I've been having a problem with XFree switching to my LCD.
My setup is, when I'm at home I have the laptop plugged into my monitor. XFree, however, likes to swtich back to the LCD as soon as it starts up. Then I have open the laptop and use the function keys to switch the display back to the monitor.
Now if I get into XFree and then Crtl-Alt-Backspace out of it, when it comes back to the console it will go back to diplaying on the monitor.
Is there a way to make XFree use the monitor if it's hooked up?
I hope all that made sense.
TIA! _________________ Jeremy Wood |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Tue Dec 09, 2003 1:46 am Post subject: |
|
|
You could just have X use both by default. It will send data to both, but if the monitor isn't hooked up, no signal will be sent. Granted, X will show up on both monitors, but it sounds like that will solve your problem. _________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
the-Jer n00b
Joined: 02 Dec 2003 Posts: 14 Location: Columbus, OH
|
Posted: Tue Dec 09, 2003 9:54 pm Post subject: |
|
|
OK. That sounds reasonable.
Is there a place in the X config I can tell it to do this? or do I need to RTFM? _________________ Jeremy Wood |
|
Back to top |
|
|
steel300 Veteran
Joined: 10 Jul 2003 Posts: 1155
|
Posted: Wed Dec 10, 2003 7:08 pm Post subject: |
|
|
Code: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
# Option "omit xfree86-dga"
EndSubSection
Load "freetype"
Load "type1"
Load "speedo"
Load "glx"
Load "dri"
Load "drm"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/share/fonts/afms/adobe"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/msfonts"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
EndSection
Section "ServerFlags"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "Resolution" "300"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
Identifier "LCD"
HorizSync 31.5 - 57.0
VertRefresh 50-70
EndSection
Section "Monitor"
Identifier "TV"
HorizSync 30-50
VertRefresh 60
EndSection
Section "Device"
Identifier "NVIDIA GeForceFX 5600"
Driver "nvidia"
VideoRam 262144
Option "DPMS"
Option "NoLogo" "1"
Option "RenderAccel" "1"
Option "UseEdidFreqs" "1"
Option "PageFlip" "on"
Option "NoBandWidthTest" "1"
Option "DigitalVibrance" "3"
Option "NvAGP" "1"
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "64"
Screen 0
BusID "PCI:01:00:0"
EndSection
Section "Device"
Identifier "NVIDIA GeForce FX 5600 - TV"
Driver "nvidia"
Option "ConnectedMonitor" "TV"
Option "TVStandard" "NTSC-M"
Screen 1
BusID "PCI:01:00:0"
EndSection
Section "Screen"
Identifier "Screen 0"
Device "NVIDIA GeForceFX 5600"
Monitor "LCD"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA GeForce FX 5600 - TV"
Monitor "TV"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1024x768"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen 0"
Screen 1 "Screen 1" rightOf "Screen 0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
|
Here's my config file. It should get you started. _________________ Rationality is the recognition of the fact that nothing can alter the truth and nothing can take precedence over that act of perceiving it. |
|
Back to top |
|
|
|