Hot to set ModulePath of xorg
In General, Xorg will get drivers and modules from "/usr/lib/xorg/modules". But in a customized OS image(based on Ubuntu10.04), we found "ModulePath set to "/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules" " from /var/log/Xorg.0.log. That lead to the X will load some .so files from "/usr/lib/xorg/extra-modules", while not from /usr/lib/xorg/extra-modules, but the latter is what we needed.Because in the former directory situation, some applications, such as glegears, will not run normally.
So is there anybody who can tell me how to change the ModulePaht of Xorg to only "/usr/lib/xorg/modules".
Thanks in advance.
|