how to extend ModulePath using xorg.conf.d/mymodule.conf
Sergio Monteiro Basto
sergio at sergiomb.no-ip.org
Mon Feb 14 14:20:13 PST 2011
On Mon, 2011-02-14 at 22:39 +0100, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi folks,
>
> I've got a problem with registering an additional module directory:
>
> If I add a file /etc/X11/xorg.conf.d/mymodule.conf saying
>
> Section "Files"
> ModulePath "/usr/lib/xorg/my-modules"
> EndSection
>
> then the default /usr/lib/xorg/modules is not searched.
>
> If I add a "Files" section to /etc/X11/xorg.conf
>
> Section "Files"
> ModulePath "/usr/lib/xorg/modules"
> EndSection
>
> then the Files section in mymodule.conf is ignored, even though
> multiple ModulePaths are allowed, according to the man page.
> Writing just
>
> Section "Files"
> EndSection
>
> doesn't help, either. Obviously multiple "Files" sections are
> not allowed.
>
> What would be your suggestion to get around this for n>2 ?
For FontPath works like that
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
EndSection
, so for ModulePath should be :
Section "Files"
ModulePath "/usr/lib/xorg/modules"
ModulePath "/usr/lib/xorg/my-modules"
EndSection
Regards,
--
Sérgio M. B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3309 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20110214/42a0ef4f/attachment.bin>
More information about the xorg
mailing list