From 362609cd2379f2c049595e08229143796ec940f7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 21 Aug 2007 12:55:33 +0000 Subject: do configure XFS if installed --- lib/Xconfig/xfree.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/Xconfig') diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm index 5c3f5bc..c1e57d0 100644 --- a/lib/Xconfig/xfree.pm +++ b/lib/Xconfig/xfree.pm @@ -812,6 +812,19 @@ Section "ServerFlags" AllowMouseOpenFail # allows the server to start up even if the mouse does not work END +if (-x '/usr/bin/xfs') { + warn "Configuring X11\n"; + $default_header .= <<'END'; +Section "Files" + # font server independent of the X server to render fonts. + FontPath "unix/:-1" + # minimal fonts to allow X to run without xfs + FontPath "/usr/share/fonts/misc:unscaled" +EndSection +END +} + + require detect_devices; $default_header .= <<'END_XBOX' if detect_devices::is_xbox(); Option "PciProbe1" "false" -- cgit v1.2.1