Re: gnome-terminal and multiple locales?

On Mon, 2007-05-28 at 11:19 +1200, Grant McLean wrote:
> On Sun, 2007-05-27 at 18:02 -0500, Jonathon Jongsma wrote:
> > On 5/27/07, Grant McLean <grant mclean net nz> wrote:
> > > It seems that because gnome-terminal uses one process to manage all
> > > terminal windows, the locale of the first window launched will 'win' and
> > > that locale will be applied to all other windows.
> > >
> > > Is there any way to work around this behaviour?  It would seem desirable
> > > for example to be able to specify a locale in a terminal profile.
> >
> > you might try the --diable-factory commandline option as a workaround
> Thanks for that suggestion.  It works as long as it's used to launch
> *every* gnome-terminal.  For example if the first terminal is launched
> with a Latin-2 locale and --disable-factory, then later terminals that
> are launched *without* the --disable-factory option will inherit the
> Latin-2 locale.

this happens because gnome-terminal is a single instance application:
every time you launch a new terminal it'll check for a running instance
and will ask that to spawn a new window. if the first instance happened
to be launched under a different locale then you'll have all new windows
running under that very locale. unfortunately handling a locale switch
at run time is not easy and prone to breakage.


Emmanuele Bassi,  E: ebassi gmail com

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