Enabling support a language seems wrong



Hi,

I was trying have GNOME use a different language than English using the method described in the page http://www.gnome.org/i18n/ under the section "To enable support for your language, you need to add this to /~/.profile/:" and it didn't work.

It seems that when the GNOME session is started that the file ~/.profile is not read. I am currently using GNOME 2.12.0, my shell is tcsh and my linux distribution is Ubuntu Breezy.

GNOME doesn't seem to start a login before starting the session, so the modifications to the file ~/.profile seem useless. Specially under tcsh since the shell doesn't even load the ~/.profile. I took a look at the xsession start up scripts found under /etc/X11/Xsession.d/ and all the startup scripts are written in sh and I noticed that the startup scripts load the file ~/.gnomerc if it exists. If the environment variables that control the locale are inserted in that file the GNOME session will respect the locale change. Because the file ~/.gnomerc is sourced by the xsession startup scripts, which are written in sh, the format of this file must also be in sh no matter the shell that's used by the end user.



Emmanuel Rodriguez







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