sub xserver4 {
return xserver_bin() . '/XFree86';
}
sub xserver3 {
改为:
}
sub xserver4 {
return xserver_bin() . '/Xorg';
}
sub xserver3 {
找到3052行,内容如下:
# string. Maybe it will once it settles down.
if ($xversionAll eq "0.0.0") {
$xversionAll = direct_command(shell_string(xserver4()) . '
-version 2>&1') =~
/X.org Foundation/ ? '4.4.0' : '0.0.0';
}
# This search order is issued from the XF86Config man page.
改为
# string. Maybe it will once it settles down.
if ($xversionAll eq "0.0.0") {
$xversionAll = direct_command(shell_string(xserver4()) . '
-version 2>&1') =~
/X.org Foundation/ ? '4.3.0' : '4.3.0';
}
# This search order is issued from the XF86Config man page.