[PATCH setxkbmap] Eliminate limitations on path length.

Van de Bugger van.de.bugger at gmail.com
Thu Feb 17 12:28:19 PST 2011


Hi, guys, if you are happy with /usr/share/xkb it does not mean that
everybody should be happy too. I started looking into keyboard stuff
because I am not satisfied with system-provided configuration. I want to
customize keyboard a bit and keep my customizations in my private
directory, not in /usr/share/X11/xkb, because (1) I may have no
permissions to modify that files, (2) I want my changes survive after
system upgrade. 

Thus, I want my keyboard stuff to be located in a place of my choice.
Probably, I like very-very-very-long directory and file names, and my
names are not in Latin alphabet, so 1024 bytes may actually mean just
512 characters or even lesser.

Thus, please stop thinking the people not like you are idiots and let us
fix the idiot limit.

On Thu, 2011-02-17 at 10:01 -0800, Alan Coopersmith wrote:
> On 02/17/11 07:25 AM, olafBuddenhagen at gmx.net wrote:
> > In short, using dynamic allocation and checking for error returns is
> > actually the *pragmatic* approach.
> 
> I'd think the pragmatic approach would be to tell anyone putting a XKB
> config file in a path longer than 1024 characters to stop being an idiot.
> 
> /usr/share/xkb is not that long.
> 





More information about the xorg-devel mailing list