On Sun, Aug 31, 2008 at 02:55:47PM +0200, Bernd Ernesti wrote:
| On Sun, Aug 31, 2008 at 09:57:16PM +1000, Tyler Retzlaff wrote:
| > Hi folks,
| >
| > There is an open pr 30982 a change request to store xkb maps under /var
| > instead of under /usr/X11R{6,7}/lib/X11/xkb/ since we are tinkering with
| > xorg I think this might be the right time to make this change.
| >
| > 1. Any objections to storing them under /var?
| > 2. What path under /var would be most reasonable?
|
| The complete xkb directory or only the compiled directory under it?
|
| The 'original' XFree86 use symlinks for a few directories (including xkb) in
| /usr/X11R6/lib/X11 pointing them to /etc/X11
| And then one symlink for /etc/X11/xkb/compiled to /var/db/xkb/compiled
|
| IMHO there is no need to move all files into /var
|
| : ls -la /usr/X11R6/lib/X11/
| [...]
| lrwxr-xr-x 1 root wheel 23 Apr 23 2006 xkb ->
../../../../etc/X11/xkb
|
| > ls -la /etc/X11/xkb/
| [...]
| lrwxrwxrwx 1 root wheel 19 Nov 13 2005 compiled ->
../../../var/db/xkb
I think that this is the appropriate solution. My NetBSD 3.1 system
has a similar set of symlinks, although I don't run an Xserver on it.
To recap:
- store config in /etc/X11
- symlink from /usr/X11R6/lib/X11 to /etc/X11 where appropriate
- symlink "writable scratch" dir from /etc/X11 to /var/db/X11
cheers,
Luke.
Attachment:
pgpy8_K550LA9.pgp
Description: PGP signature