[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561185: xkb-data: support custom layouts



Hi,

Shai Berger <shai@platonix.com> (04/04/2010):
> > I think if one is skilled enough to modify this file to support a
> > custom layout, one should be expected to deal with such a modified
> > file through usual dpkg tools.
> 
> Is there another way to system-widely support a custom layout, which
> I missed?

setxkbmap/xkbcomp have -I; you could put stuff wherever you want
(e.g. /etc/…) and use -Ithere. If you want to impose that system-wide,
create /usr/local/bin/{setxkbmap,xkbcomp} with:
  #!/bin/sh
  exec {setxkbmap,xkbcomp} -Ithere "$@"

> > I'm not sure we want or need to support those things in a specific
> > manner.
> 
> By "those things", do you mean my specific way of achieving custom
> layouts, or custom layouts in general?
> 
> What I want is what we used to have -- that xkb layouts be
> considered as configuration, rather than data. I realize you (and
> upstream) are unsympathetic, but I do not understand why.

Managing stuff in /etc is always painful and possibly error-prone
(conffiles, etc.), and if upstream doesn't ship anything under /etc by
default, I'm not very keen on introducing that.

KiBi.

Attachment: signature.asc
Description: Digital signature


Reply to: