Xorg.conf

From DeskTux
Jump to: navigation, search

My xorg.conf, optimized for NVidia usage.

# /etc/X11/xorg.conf
#
# Hand-crafted by Jens Vogel for Debian GNU/Linux 5.0 (Lenny)
# http://www.desktux.nl/

Section "Module"
	Load		"glx"
EndSection

Section "InputDevice"
	Identifier	"Cherry G81-3000"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us_intl"
EndSection

Section "InputDevice"
	Identifier	"Logitech RX1500"
	Driver		"evdev"
	Option		"Protocol"	"evdev"
	Option		"Device"	"/dev/input/by-id/usb-Logitech_USB_Laser_Mouse-event-mouse"	# For RX1500
	#Option		"Device"	"/dev/input/by-id/usb-Logitech_USB_Optical_Mouse-event-mouse"	# For RX1000
	Option		"Dev Name"	"Logitech USB Optical Mouse"
	Option		"Dev Phys"	"usb-*/input0"
	Option		"Buttons"	"8"
	Option		"ZAxisMapping"	"4 5"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"nVidia GeForce 9800GTX+"
	Driver		"nvidia"
	Option		"NoLogo"		"true"
	Option		"ConnectedMonitor"	"DFP"
	Option		"IgnoreDisplayDevices"	"CRT, TV"
EndSection

Section "Monitor"
	Identifier	"Samsung SyncMaster 215TW"
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"nVidia GeForce 9800GTX+"
	Monitor		"Samsung SyncMaster 215TW"
	DefaultDepth	24
	SubSection	"Display"
		Depth	24
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Cherry G81-3000"
	InputDevice	"Logitech RX1500"
EndSection

If you want to use the tilt wheel of your Logitech RX1000 or RX1500 you should also add this line to your ~/.xmodmaprc:

pointer = 1 2 3 4 5 8 9 6 7
Personal tools
Namespaces
Variants
Actions
Navigation
news
Toolbox