|
|
| |
# 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 |
|
|
-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" \ |