"Dominique_Dumont via RT" <bug-Config-Model-Xorg@rt.cpan.org> writes:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=27143 >
>
> For the xorg.conf location problem, you can work around it with
> -read_conf_dir and -write_conf_dir options.
>
> For a real solution, I'll need to infer xorg location from
> $Config{osname}. What's is osname value on FreeBSD ?
It's "freebsd". My guess is that other BSD-like systems ("netbsd",
"openbsd", "dragonfly", "darwin") use the same location, but I cannot
confirm this.
Maybe it's better to have a list of possible locations (possible with
different ordering on BSD systems and other systems) and use the first
existing one?
Show quoted text>
> For the other problems (which I fully acknowledge as xorg is a
> tremendously complex config), you can either send me patches to update
> the models (which is probably easier said than done ...) or send me your
> xorg.conf and I'll update myself the models.
>
I think it's better to parse the information elsewhere. For instance
information about available keyboard parameter might be found under
lib/X11/xkb/rules/xorg. I see there references to my keyboard model
("logicdit", which is defined in $inetkbds and used in a "model"
section), the layout ("de" is defined in $qwertz and used in a
"layout" section) etc. Graphics drivers seem to be located in
lib/modules/drivers on my system, e.g. "nv_drv.so" for "nv". I guess
other missing information might be collected from elsewhere.
Regards,
Slaven
--
Slaven Rezic - slaven <at> rezic <dot> de
tkruler - Perl/Tk program for measuring screen distances
http://ptktools.sourceforge.net/#tkruler