How to remove other languages?

Dear friends,

When I enter into GDM, there are two options for many languages. But I just need English and Chinese. So, how can I remove other languages?

Thanks in advance!
 
First, copy /usr/local/share/gdm/locale.alias to /etc/X11/gdm/locale.alias

Edit /etc/gdm/custom.conf for add this line in [greater] section.
Code:
LocaleFile=/etc/X11/gdm/locale.alias

Remove all of the languages entries that you don't want to see in /etc/X11/gdm/locale.alias file.
 
Thanks! I will try. But I need more, What I mean is to remove all parts of other languages.

No gdm under /etc/X11. I find /usr/local/etc/gdm, but no local.alias.
 
Yes, locate for locale.alias:

/usr/local/share/gdm/locale.alias and /var/usr/local/share/gdm/locale.alias regarding gdm.
 
Thanks again and need help again. In locale.alias:

Code:
.....This file will be removed in the future once gdm setup tool is generated....

So, what's the gdm setup tool? I try to Google, but no answer.
 
Note that /etc/gdm/custom.conf contains GDM configuration which was configurable via gdmsetup (deprecated since GNOME version 2.22)
 
Thanks!

Sometimes Unix-like system give up a good thing and become worse than before.
 
Back
Top