summaryrefslogtreecommitdiffstats
path: root/conf/xorg.conf.tpl (plain)
blob: 8b807a2b318ea52e51504aa64ecf5939882cdcf2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
# 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.
#
#    FILE generated by configurexorg at __date__
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"/usr/share/X11/fonts/misc"
	FontPath	"/usr/share/X11/fonts/100dpi"
__enable_font_server__	FontPath        "unix/:7100"                    # local font server
__enable_font_server__	FontPath        "tcp/__xfontserver__:7101" # Truetype xfstt fonts
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"__xkbmodel__"
	Option		"XkbLayout"	"__xkbmap__"
EndSection

Section "InputDevice"
	Identifier	"Serial Mouse0"
	Driver		"mouse"
	Option		"SendCoreEvents"
	Option		"Device"		"/dev/ttyS0"
	Option		"Protocol"		"Microsoft"
	Option		"Emulate3Buttons"	"true" 
EndSection

Section "InputDevice"
	Identifier	"Serial Mouse1"
	Driver		"mouse"
	Option		"SendCoreEvents"
	Option		"Device"		"/dev/ttyS1"
	Option		"Protocol"		"Microsoft"
	Option		"Emulate3Buttons"	"true" 
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"__xmousedev__"
__xmousenowheel__	Option		"Protocol"		"__xmouseprotocol__"
__xmousewheel__	Option		"Protocol"		"__xmouseprotocol__"
__xmousewheel__	Option		"Emulate3Buttons"	"true" 
__xmousewheel__	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"Generic Video Card"
	Driver		"__xdriver__"
__xdriver_via__        Option          "EnableAGPDMA"
__xdriver_via__        Option          "DisableIRQ"
__xdriver_via__        #Option          "VBEModes" "true"
__xdriver_via__        #Option          "VBERestore"    "true"

EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
__xdpms__	Option		"DPMS"
__disablesync__	HorizSync	__xhorizsync__
__disablesync__	VertRefresh	__xvertsync__
__xdriver_amd__	UseModes	"Cimarron"
EndSection

__usemodes__

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Video Card"
	Monitor		"Generic Monitor"
	DefaultDepth	__xdepth__
	SubSection "Display"
		Depth		__xdepth__
		Modes		"__xres__" "1024x768" "800x600" "640x480" 
	EndSubSection
EndSection

Section "ServerLayout"
	Option		"AutoAddDevices" "off" # HAL disabled
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Serial Mouse0"
	InputDevice	"Serial Mouse1"
EndSection

Section "DRI"
	Mode	0666
EndSection

#Section "ServerFlags"
#    Option      "blank time"    "0"
#
#     # DPMS options
#     Option      "standby time"  "5"
#     Option      "suspend time"  "10"
#     Option      "off time"      "0"
#EndSection

__dontzap__

#xdriver=__xdriver__
#xres=__xres__
#xdepth=__xdepth__
#xhorizsync=__xhorizsync__
#xvertsync=__xvertsync__
#disablesync=__disablesync__
#xrefresh=__xrefresh__
#xmousedev=__xmousedev__
#xmouseprotocol=__xmouseprotocol__
#xmousenowheel=__xmousenowheel__
#xmousewheel=__xmousewheel__
#xdpms=__xdpms__
#xfontserver=__xfontserver__
#enablefontserver=__enable_font_server__
#xdontzap=__xdontzap__
#xdriver_via=__xdriver_via__
#xkbmap=__xkbmap__
#xkbmodel=__xkbmodel__