View | Details | Raw Unified
Collapse All | Expand All

(-) mkxf86config.sh.orig (-1 / +5 lines)
 Lines 197-205    Link Here 
# VMWare special handling
# VMWare special handling
VMWARE=""
VMWARE=""
MOUSEDRIVER=""
if [ "$XMODULE" = "vmware" ]; then
if [ "$XMODULE" = "vmware" ]; then
VMWARE='s|^.*BusID.*PCI.*$|BusID "PCI:0:15:0"|g;'
VMWARE='s|^.*BusID.*PCI.*$|BusID "PCI:0:15:0"|g;'
DEPTH='s|DefaultColorDepth |# DefaultColorDepth |g;'
DEPTH='s|DefaultColorDepth |# DefaultColorDepth |g;'
if [ -e /usr/lib/xorg/modules/input/vmmouse_drv.so ]; then
  MOUSEDRIVER='s|^.*Driver.*"mouse".*$|\tDriver\t"vmmouse"|g;'
fi
fi
fi
#VPC special handline
#VPC special handline
 Lines 228-234    Link Here 
    -e '/@@MONITOR@@/r '"$MONITORTMP" \
    -e '/@@MONITOR@@/r '"$MONITORTMP" \
    -e 's|@@MONITOR@@||g' \
    -e 's|@@MONITOR@@||g' \
    -e 's|@@NOPM@@|'"$NOPM"'|g' \
    -e 's|@@NOPM@@|'"$NOPM"'|g' \
    -e 's|@@XMODULE@@|'"$XMODULE"'|g;'"$VMWARE""$VPC""$SERIALMOUSE""$USBMOUSE""$PSMOUSE""$SWCURSOR""$WHEEL""$SYNMOUSE" \
    -e 's|@@XMODULE@@|'"$XMODULE"'|g;'"$VMWARE""$VPC""$SERIALMOUSE""$USBMOUSE""$PSMOUSE""$SWCURSOR""$WHEEL""$SYNMOUSE""$MOUSEDRIVER" \
    -e 's|@@SYNDEV@@|'"$SYNDEV"'|g' \
    -e 's|@@SYNDEV@@|'"$SYNDEV"'|g' \
    -e 's|@@MODES@@|'"$MODES"'|g;'"$DEPTH" \
    -e 's|@@MODES@@|'"$MODES"'|g;'"$DEPTH" \
    -e 's|"XkbLayout" *"[^"]*"|"XkbLayout" "'"$XKEYBOARD"'"|g;'"$DEADKEYS" \
    -e 's|"XkbLayout" *"[^"]*"|"XkbLayout" "'"$XKEYBOARD"'"|g;'"$DEADKEYS" \