[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-knoppix] [PATCH] new cheatcode "newx11"; "superior" alternative X11-probing by Kano



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

after many and hard discussions on #knoppix-de, we decided that its best if 
the new X11-Modelines provided by Kano are used as an alternative to the 
current probing.

Source-Packages and patches attached.

cu

Fabian

PS: Send to list, to show you theres development and for developers of 
derivates (hi alextreme!) to get the chance to build it in also :-).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE/JZIQI0lSH7CXz7MRArajAJ4vpbeu5B8PKfwxOrMgDr2VtFgISwCfbBUM
h4FENs0CqCIpzAhuE719hJY=
=g5Vk
-----END PGP SIGNATURE-----

Attachment: xf86config-knoppix2_0.8-3.tar.gz
Description: application/tgz

--- knoppix-autoconfig.orig	2003-07-28 22:36:32.000000000 +0200
+++ knoppix-autoconfig	2003-07-28 22:36:20.000000000 +0200
@@ -660,7 +660,13 @@
 
 # KNOPPIX automatic XFree86 Setup
 if ! checkbootparam "nomkxf86config"; then
-[ -x /usr/sbin/mkxf86config ] && /usr/sbin/mkxf86config
+  if ! checkbootparam "newx11"; then
+    [ -x /usr/sbin/mkxf86config ] && /usr/sbin/mkxf86config
+  else
+    [ -x /usr/sbin/mkxf86config2 ] && /usr/sbin/mkxf86config2
+    echo "XDETECTION_METHOD='2'" >> /etc/sysconfig/xserver
+    echo "XDETECTION_METHOD='2'" >> /etc/sysconfig/knoppix
+  fi
 fi
 
 # Read in changes
--- xsession.orig	2003-07-28 22:37:42.000000000 +0200
+++ xsession	2003-07-28 22:37:56.000000000 +0200
@@ -20,6 +20,8 @@
 [ -f /etc/sysconfig/knoppix ] && . /etc/sysconfig/knoppix
 
 [ -n "$BACKGROUND" -a -e "$BACKGROUND" ] || BACKGROUND="-solid black"
+MKXF86CONFIG="mkxf86config"
+[ "$XDETECTION_METHOD" = "2" ] && MKXF86CONFIG="mkxf86config2"
 
 # See how we were called.
 case "$1" in
@@ -77,7 +79,7 @@
 	echo "${NORMAL}"
 	echo -n "${BLUE}Retrying with Server ${GREEN}XFree86(${YELLOW}$X${GREEN})${NORMAL} "
 	rm -f /etc/X11/XF86Config-4
-	mkxf86config >/dev/null 2>&1
+	$MKXF86CONFIG >/dev/null 2>&1
 	X=XFree86 ; XCONFIG="/etc/X11/XF86Config-4"; BPP="-depth"; NORESET="-noreset"; XOPTIONS=""
 	;;
 esac

Attachment: ddcxinfo-knoppix2_0.6-3.tar.gz
Description: application/tgz


Reply to: