10 Comments

  1. Jimmy

    OMG!! - Ubuntu is destroying the spirit of the well constructed shell

    Reply

  2. I followed the instructions in this post and rebooted, but Sunday was still displayed as the first day of the week, and now manual pages don't display certain characters correctly and man(1) shows this error:

    man: can't set the locale; make sure $LC_* and $LANG are correct

    Total fail.

    Reply
  3. Mike

    This didn't work for me at all.

    I tried changing it in /etc/environment and in /etc/default/locale, and neither worked.

    I also tried the locale-gen trick mentioned above, but that failed too.

    At one point, the change had been made, but Firefox complained about an unknown locale, and wouldn't start. Undoing the changes fixed the problem.

    This really ought to be easy.

    Reply
  4. peter

    thanks for the tutorial.
    there is just one minor issue :) - it is unable to start NetBeans (v6.7.1) after the path to LC_TIME is changed to a custom file.

    Reply
  5. arielCo

    Editing /etc/default/locale worked perfectly for me.
    @Denis: maybe you did the same mistake as I - the quotation marks shown in Fer's comment are "typographical", as opposed to "standard" plain old quotes (ASCII 34); I blame WordPress. If you copied from the browser and pasted, the locale variables will include the funny characters and for example "cal" will say:
    cal: setlocale: No such file or directory

    I ran "sudo vi /etc/default/locale", replaced the quotes (in this particular case the quotes aren't even needed), logged out/in, and everything's peachy.

    Reply
  6. Denis

    In 9.10 do not change environment OR /etc/defaults/locale
    For example ccsm will not run after that !!!

    After you change and save:

    first_weekday 2

    run in terminal

    sudo locale-gen

    then log out and log in

    Wollaaaa

    Reply
  7. Fer

    Ohhh I forgot to change my /etc/environment
    That did the trick.

    By the way, during the search I also found that editing the file /etc/defaults/locale this way (adding the last three lines):

    $ sudo gedit /etc/default/locale
    LANG="en_US.UTF-8"
    LC_TIME="en_GB.UTF-8"
    LC_PAPER="en_GB.UTF-8"
    LC_MEASUREMENT="en_GB.UTF-8"

    I will get American english, but time, paper size and units in British i.e. weeks starting with Mondays, A4, metric.
    (In this case is not necessary edit the /etc/environment)

    Thanks a lot

    Reply
  8. Linerd

    Fer - I just tried this on Jaunty and it worked for me. My computer has been upgraded from 8.04 to 8.10 to 9.04. I don't know if it would be different on a fresh install.

    My /etc/environment file looks like this:
    PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
    LC_TIME=”en_US_custom.UTF-8?

    Reply
  9. Linerd

    Fer - I have not tried this yet in Jaunty. I'll try to take a look at it tonight and see what's going on.

    Reply
  10. Fer

    Sorry commenting out of subject, but I could't find a "contact" link.
    In past December you posted about how to "Change the Week Start Day in Ubuntu". It is not working for me in Jaunty. Does it change something from Hardy or I'm doing something wrong? Did you try in Jaunty? Same way? Thanks a lot.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>