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

Re: common locale configuration



Hi

Eduard Bloch schrieb:
> -- realisation --
> Fronend:
> This would be a database (ASCII, editable, or binary with an
> config-tool), which would contain at least the following settings:
[...]
> Backend:
> a script (let's call it locale-changer) would create include files for
> the shells (e.g. /etc/environment for the bash), change console fonts
> if needed, change keyboard map on console and in X11 and so one.

> The locale settings may be configured during the first Debian
> installation (I could imagine a nice Text- or Gtk-frontend) or later.

You should not try to reinvent the wheel and use debconf for
this. You can use a shared variable space to store the data,
reconfiguration can be triggered by dpkg-reconfigure, you get
all the frontends that will ever exist for debconf for free plus
you bother the user as little as possible with repetitive
querying.

And do not put eg settings for keymaps anywhere else than the
console-tools package, locale settings belong into locales, etc.

ciao, 2ri
-- 
locate sunny|grep place|xargs cat|paste ~/me
sleep 4h



Reply to: