View previous topic :: View next topic |
Author |
Message |
omnicloud Guru
Joined: 10 Mar 2005 Posts: 550 Location: California
|
Posted: Wed May 18, 2005 9:05 pm Post subject: Virtual Desktop size different than default size in X |
|
|
Sorry it's worded weird, but when I start X, it sets my physical resolution to 1152x864-24@75 but it sets the virtual resolution to 1280x1024. This causes the screen to scroll as you move the mouse and I don't want that.
Code: | Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
# Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx"
# Load "speedo"
# Load "xtt"
# Load "dri"
EndSection
Section "Files"
RgbPath "/usr/lib/X11/rgb"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/encodings"
FontPath "/usr/share/fonts/libdockapp-fonts"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/ukr"
ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "ServerFlags"
# Option "NoTrapSignals"
# Option "DontVTSwitch"
# Option "DontZap"
# Option "Dont Zoom"
# Option "DisableVidModeExtension"
# Option "AllowNonLocalXvidtune"
# Option "DisableModInDev"
# Option "AllowNonLocalModInDev"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
# Option "Protocol" "Xqueue"
Option "AutoRepeat" "500 30"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "Buttons" "3"
Option "Resolution" "800"
Option "ZAxisMapping" "4 5"
Option "ChordMiddle"
EndSection
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
Section "Monitor"
Identifier "Elo Touch Monitor"
HorizSync 30-70
VertRefresh 50-160
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
# Chipset "generic"
Driver "vga"
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
EndSection
Section "Device"
Identifier "NVIDIA GeForce FX 5700LE"
Driver "nvidia"
Option "NvAGP" "1"
Option "SWCursor" "false"
Option "HWCursor" "true"
Option "CursorShadow" "true"
# Option "TwinView" "true"
Option "RenderAccel" "true"
# Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "EnableDepthMoves" "true"
VideoRam 262144
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen 1"
Device "NVIDIA GeForce FX 5700LE"
Monitor "Elo Touch Monitor"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1152x864" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1152x864" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1152x864" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
# Section "DRI"
# Mode 0666
# EndSection
#Section "Extensions"
# Option "Composite" "Enable"
#EndSection |
Last edited by omnicloud on Wed May 18, 2005 9:08 pm; edited 1 time in total |
|
Back to top |
|
|
Gherald Veteran
Joined: 23 Aug 2004 Posts: 1399 Location: CLUAConsole
|
Posted: Wed May 18, 2005 9:07 pm Post subject: |
|
|
It might help to see your Xorg.conf. |
|
Back to top |
|
|
omnicloud Guru
Joined: 10 Mar 2005 Posts: 550 Location: California
|
Posted: Wed May 18, 2005 9:09 pm Post subject: |
|
|
Yeah, I was getting to that, but I didn't expect a reply so fast. |
|
Back to top |
|
|
|