how to extend ModulePath using xorg.conf.d/mymodule.conf

Pat Kane pekane52 at gmail.com
Mon Feb 14 14:24:10 PST 2011


The xorg.conf man pages says:

       ModulePath "path"
              sets the search path for loadable Xorg server modules.
              This path is a comma  separated  list  of
              directories  which  the Xorg server searches
              for loadable modules loading in the order specified.
              Multiple ModulePath entries may be specified,
              and they will be concatenated to build  the  module
              search path used by the server.

Pat
---


On Mon, Feb 14, 2011 at 3:39 PM, Harald Dunkel <harri at afaics.de> 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 ?
>
>
> xorg-server is 1.7.7, as found in Squeeze. Any helpful comment
> would be highly appreciated.
>
>
> Regards
>
> Harri
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk1ZoSEACgkQUTlbRTxpHjdcoACeM6ZShYb0dq5KD8/8iInoSqD9
> rAgAniQnWGWZ7Krm2idegRTOa8XNjyar
> =JZzR
> -----END PGP SIGNATURE-----
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: pekane52 at gmail.com
>



More information about the xorg mailing list