Created
March 7, 2009 23:06
-
-
Save anonymous/75484 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /usr/bin/mkxcfg 2009-03-01 02:14:14.000000000 -0500 | |
+++ mkxcfg 2009-03-07 12:42:12.081254930 -0500 | |
@@ -85,12 +85,13 @@ | |
#Search | |
DriverModule | |
-[ -f /usr/X11R6/bin/xorgcfg ] && X_SERVER="Xorg" | |
-[ -f /usr/bin/xorgconfig ] && X_SERVER="Xorg" | |
-[ -f /usr/X11R6/bin/xorgcfg ] && X_CONFIG="xorg.conf" | |
-[ -f /usr/bin/xorgconfig ] && X_CONFIG="xorg.conf" | |
-[ -f /usr/X11R6/bin/xf86cfg ] && X_SERVER="XFree86" | |
-[ -f /usr/X11R6/bin/xf86cfg ] && X_CONFIG="XF86Config-4" | |
+#[ -f /usr/X11R6/bin/xorgcfg ] && X_SERVER="Xorg" | |
+#[ -f /usr/bin/xorgconfig ] && X_SERVER="Xorg" | |
+#[ -f /usr/X11R6/bin/xorgcfg ] && X_CONFIG="xorg.conf" | |
+#[ -f /usr/bin/xorgconfig ] && X_CONFIG="xorg.conf" | |
+#[ -f /usr/X11R6/bin/xf86cfg ] && X_SERVER="XFree86" | |
+#[ -f /usr/X11R6/bin/xf86cfg ] && X_CONFIG="XF86Config-4" | |
+X_SERVER="Xorg" && X_CONFIG="xorg.conf" | |
if [ -n "$X_SERVER" ]; then | |
# Removing if still exists from previous version. | |
@@ -98,11 +99,11 @@ | |
#Check xorg version | |
if [ "$X_SERVER" = "Xorg" ]; then | |
-XVER=`pacman -Q xorg-server | sed 's/xorg-server //g'` | |
-case "$XVER" in 1.5.*) | |
+#XVER=`pacman -Q xorg-server | sed 's/xorg-server //g'` | |
+#case "$XVER" in 1.5.*) | |
XVER="1.5.x" | |
-;; | |
-esac | |
+#;; | |
+#esac | |
fi | |
echo -e "${NORMAL}/etc/X11/$X_CONFIG.$SUB_XDRIVER" | |
@@ -238,22 +239,23 @@ | |
Xauto() { | |
-[ -f /usr/X11R6/bin/xorgcfg ] && X_SERVER="Xorg" | |
-[ -f /usr/bin/xorgconfig ] && X_SERVER="Xorg" | |
-[ -f /usr/X11R6/bin/xorgcfg ] && X_CONFIG="xorg.conf" | |
-[ -f /usr/bin/xorgconfig ] && X_CONFIG="xorg.conf" | |
-[ -f /usr/X11R6/bin/xf86cfg ] && X_SERVER="XFree86" | |
-[ -f /usr/X11R6/bin/xf86cfg ] && X_CONFIG="XF86Config-4" | |
+#[ -f /usr/X11R6/bin/xorgcfg ] && X_SERVER="Xorg" | |
+#[ -f /usr/bin/xorgconfig ] && X_SERVER="Xorg" | |
+#[ -f /usr/X11R6/bin/xorgcfg ] && X_CONFIG="xorg.conf" | |
+#[ -f /usr/bin/xorgconfig ] && X_CONFIG="xorg.conf" | |
+#[ -f /usr/X11R6/bin/xf86cfg ] && X_SERVER="XFree86" | |
+#[ -f /usr/X11R6/bin/xf86cfg ] && X_CONFIG="XF86Config-4" | |
+X_SERVER="Xorg" && X_CONFIG="xorg.conf" | |
if [ -n "$X_SERVER" ]; then | |
#Check xorg version | |
if [ "$X_SERVER" = "Xorg" ]; then | |
-XVER=`pacman -Q xorg-server | sed 's/xorg-server //g'` | |
-case "$XVER" in 1.5.*) | |
+#XVER=`pacman -Q xorg-server | sed 's/xorg-server //g'` | |
+#case "$XVER" in 1.5.*) | |
XVER="1.5.x" | |
-;; | |
-esac | |
+#;; | |
+#esac | |
fi | |
#Search |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment