press CTRL+ALT+F1, to switch session
Write:
Xorg -configure
this will generate an xorg.conf file (with the current drivers) on the root folder
Edit xorg.conf file:
if you are having problems with Refresh rate(having an old CRT screen) add into Section "Monitor" this line "VertRefresh 70"(with out quotes and the refresh rate your monitor will support )
To change resolution goto Section "Screen" SubSection "Display" with the default section you chose and put "800x600" first
After you finishediting xorg.conf copy it to /usr/lib/X11/xorg.conf.d/ and use the command startx and you will have your resolution fixed
PHP Code:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg
#
# this xorg.conf is working for me (Voland666) on Ubuntu 7.04 Feisty Fawn with
# xserver-xorg-video-intel_2.1.0-1ubuntu1_i386 xf86-video-intel-2.1.0 driver
# Dell Latitude D630 - Intel X3100, AUOptronics 1440x900 local flat panel
# Wacom CTF-420 Volito2 graphics tablet, Alps GlidePoint touchpad
#
Section "ServerFlags"
Option "DefaultServerLayout" "ServerLayout0"
EndSection
Section "ServerLayout"
Identifier "ServerLayout0"
Screen "Screen0" 0 0
InputDevice "Keyboard0"
InputDevice "Mouse0"
# InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Stylus0" "SendCoreEvents"
# InputDevice "Eraser0" "SendCoreEvents"
InputDevice "Touchpad0"
EndSection
Section "Files"
EndSection
Section "Module"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "Touchpad0"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "HorizScrollDelta" "10"
Option "VertScrollDelta" "10"
# Option "HorizTwoFingerScroll" "true"
# Option "VertTwoFingerScroll" "true"
Option "LockedDrags" "false"
Option "EdgeMotionUseAlways" "true"
Option "EdgeMotionMinSpeed" "10"
Option "EdgeMotionMaxSpeed" "200"
Option "EmulateMidButtonTime" "100"
Option "MinSpeed" "0.5"
Option "MaxSpeed" "1.0"
Option "AccelFactor" "0.1"
EndSection
Section "InputDevice"
Identifier "Stylus0"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "USB" "on"
Option "Suppress" "6"
Option "Threshold" "50"
Option "PressCurve" "25,0,100,75"
Option "KeepShape" "on"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection
#Section "InputDevice"
# Identifier "Eraser0"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "eraser"
# Option "USB" "on"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Identifier "Mouse1"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "cursor"
# Option "Mode" "relative"
# Option "USB" "on"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
#Section "InputDevice"
# Identifier "Tablet0"
# Driver "wacom"
# Option "Device" "/dev/input/wacom"
# Option "Type" "pad"
# Option "ButtonsOnly" "on"
# Option "Button9" "2"
# Option "Button10" "3"
# Option "USB" "on"
# Option "ForceDevice" "ISDV4" # Tablet PC ONLY
#EndSection
Section "Device"
Identifier "Device0"
Driver "intel"
BusID "PCI:0:2:0"
# Option "AccelMethod" "EXA"
# Option "MonitorLayout" "LFP,NONE"
# "<PIPEA>,<PIPEB>" e.g.: "CRT+DFP,LFP"
# CRT, LFP, DFP, TV, CRT2, LFP2, DFP2, TV2, NONE
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "AU Optronics"
ModelName "B141PW01"
# DisplaySize 305 190
VertRefresh 70
Option "DPMS"
Gamma 0.75 0.65 0.60 #see also /etc/X11/Xsession.d/95x11-xgamma
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection