Re: sensible-x-terminal and x-terminal-emulator
Tomohiro KUBOTA <firstname.lastname@example.org> writes:
> GNU libc 2.1 (locale database [locales packages] is included in GNU
> libc.) supports 'de_DE' but doesn't support 'de'. It is within
> discretion of GNU libc developers.
> Next, on condition that GNU libc supports 'de_DE' locale but doesn't
> support 'de', gettext should obey the locale behavior of libc.
It does make sense, since for the purpose of gettext, the region
specifiers are simply superflous. If all I care about is message
translation, the langauge is enough. Of course, it may be confusing to
newbies, but I think they should use the aliases, anyway. We'd need to
heavily expand /usr/share/locale/locale.alias first, though.
> > s-x-t should not call x-t-e, but the original (diverted) version of
> > x-t-e. For example, if you used
> > dpkg-divert --package sensible-x-terminal --divert \
> > /usr/bin/x-terminal-emulator.insensible /usr/bin/x-terminal-emulator
> > you should call "/usr/bin/x-terminal-emulator.insensible".
> I see. However, I wonder what will occur if I installed some packages
> which provides /usr/bin/x-t-e after I installed s-x-t...
You're right, that wouldn't work. There's still one way: register
s-x-t as a high-priority alternative to x-t-e, then in s-x-t parse
/var/lib/dpkg/alternatives/x-terminal-emulator, taking into account
all alternatives except s-x-t itself. This should do it, but is an
ugly kludge from hell.