[NBLUG/talk] Possible X11 hack?

A'fish'ionado afishionado at gmail.com
Sun Apr 3 10:17:35 PDT 2005


I've been playing with my Debian Sarge install. :-)

To get OpenGL working, I downloaded nVidia's latest driver, installed
it, and copied my XF86Config file from the SuSE partition (where the
nVidia driver was already installed). This broke the mouse, but I
copied the appropriate device entries over from the old config file,
and everything worked fine again.

I left things like this for a few days, then I remembered that I was
still using the SuSE "Files" section with the SuSE font paths instead
of the Debian ones. So, I fired up VI, commented out the SuSE "Files"
section and pasted in the section from the original Debian config
file, and rebooted.

Oddly enough, GDM took at least five times as long to start as before.
Curious, I commented out *both* "Files" sections from XF86Config-4,
and rebooted. GDM started up quickly again, and everything still seems
to work.

So the question is, why is this? Why are these entries taking forever
to load that don't seem to do anything important? Most importantly,
have I done something that will come back to bite me in a few days?

Gnome starts up just fine. Enlightenment works as well as ever, and
right now I'm typing this in Firefox with Gnome-Terminal running in
the background (I'd be using Eterm, but I've gotten addicted to
opening several sessions in tabs in one window).

I've pasted the contents of my X86Config-4 file below in case anyone
wants to take a peek.

William
(Wannabe Linux hacker ;-) )



# Original Debian files
#Section "Files"
#	FontPath	"unix/:7100"			# local font server
#	# if the local font server has problems, we can fall back on these
#	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/usr/lib/X11/fonts/cyrillic"
#	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
#	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
#	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/lib/X11/fonts/CID"
#	FontPath	"/usr/lib/X11/fonts/Speedo"
#	FontPath	"/usr/lib/X11/fonts/100dpi"
#	FontPath	"/usr/lib/X11/fonts/75dpi"
#EndSection

# SuSe files...
#Section "Files"
#  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/local"
#  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
#  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
#  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
#  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
#  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
#  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
#  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
#  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
#  FontPath     "/usr/X11R6/lib/X11/fonts/uni:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
#  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
#  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
#  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
#  InputDevices "/dev/ttyS0"
#  InputDevices "/dev/ttyS1"
#  InputDevices "/dev/ttyS2"
#  InputDevices "/dev/ttyS3"
#  InputDevices "/dev/ttyS4"
#  InputDevices "/dev/ttyS5"
#  InputDevices "/dev/ttyS6"
#  InputDevices "/dev/ttyS7"
#  InputDevices "/dev/ttyS8"
#  InputDevices "/dev/psaux"
#  InputDevices "/dev/logibm"
#  InputDevices "/dev/sunmouse"
#  InputDevices "/dev/atibm"
#  InputDevices "/dev/amigamouse"
#  InputDevices "/dev/atarimouse"
#  InputDevices "/dev/inportbm"
#  InputDevices "/dev/gpmdata"
#  InputDevices "/dev/mouse"
#  InputDevices "/dev/usbmouse"
#  InputDevices "/dev/adbmouse"
#  InputDevices "/dev/input/mice"
#  InputDevices "/dev/input/event0"
#  InputDevices "/dev/pointer0"
#  InputDevices "/dev/pointer1"
#  InputDevices "/dev/pointer2"
#  InputDevices "/dev/pointer3"
#EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "type1"
  Load         "freetype"
  Load         "extmod"
  Load         "speedo"
  Load         "dbe"
  Load         "v4l"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection
Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "ButtonNumber" "2"
  Option       "Device" "/dev/mouse"
  Option       "InputFashion" "Mouse"
  Option       "Name" "USB-Mouse;PS/2"
  Option       "Protocol" "imps/2"
  Option       "ZAxisMapping" "4 5"
EndSection


Section "Monitor"
  HorizSync    31-48
  Identifier   "Monitor[0]"
  ModelName    "1024X768 at 60HZ"
  Option       "DPMS"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
EndSection


Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      15
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1024x768" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x768" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "GeForce4 Ti 4200"
  BusID        "1:0:0"
  Driver       "nvidia"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "NVidia"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Configured Mouse"
  InputDevice  "Generic Mouse"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection



More information about the talk mailing list