Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] preventing keyboard layout files from being overritten during system upgrades
Date: Sun, 06 Dec 2015 17:53:05
Message-Id: 0FAB6926-6E8F-4B3E-83A4-1B682F7B4685@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] preventing keyboard layout files from being overritten during system upgrades by gevisz
1 > On Fri, 4 December 2015, at 4:13 p.m., gevisz <gevisz@×××××.com> wrote:
2 >>
3 >> Surely it should go in somewhere like /usr/local/share/X11/xkb/symbols/ instead.
4 >
5 > I do not have /usr/local/share directory at all. Do you think it is wrong?
6
7 Local directories are ones which you can create to put system stuff in, system stuff which isn't supplied by the distro.
8
9 The package manager won't install into local directories, so your changes won't be overwritten.
10
11 Use of a directory like /usr/local/share/X11/xkb/symbols/ would require X11 to honour that path - you'd need to check.
12
13 Stroller.
14
15 * https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/3/html/Reference_Guide/s1-filesystem-fhs.html
16 http://unix.stackexchange.com/questions/11544/what-is-the-difference-between-opt-and-usr-local
17 https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s3-filesystem-usr-local.html
18 http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY