Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Using system settings I changed my language to Arabic and deleted the English language from the settings. Then the computer lagged and it logged out - now I can't log back in because the login is in Arabic.

So is there a way to default my language via terminal, default the login password language, or login via terminal which is still in English. I only have access to guest and a terminal.


I changed the pasword to something that could be translated into arabic http://www.psychocats.net/ubuntu/resetpassword - then loged in and used system settings to default.

share|improve this question

1 Answer 1

If you are familiar with using vi from terminal, try the following:

  1. edit /etc/default/locale:

    LANG="en_US"
    LANGUAGE="en_US:en"
    
  2. edit ~/.pam_environment:

    LANG=en_US
    LANGUAGE=en_US
    

Logout and Login or Reboot.

share|improve this answer
2  
Nano is also installed by default. :-) –  LiveWireBT May 7 '12 at 17:29
1  
If you want to understand what changing these variables means: help.ubuntu.com/community/Locale –  YuriC Apr 29 '13 at 17:25

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.