helps‎ > ‎

set locale


set new default locale

run
su
dpkg-reconfigure locales

find the locale to add -usually you want UTF-8 -listed here http://www.science.co.il/...
hit Space bar and Enter

or manually, 
sudo nano /etc/locale.gen
and uncomment the languages you need (delete #), then Ctrl-O, Enter, Ctrl-X

or
sudo locale-gen xx_YY.UTF-8

to set your default language
sudo nano /etc/default/locale
change content to 
LANG=xx_YY.UTF-8 
and save (replace x and Y with your language to be default for system)
or try sudo update-locale xx_YY.UTF-8

run
locale-gen

log out and back in


UTC time and Debian's clock
If the BIOS clock is local time, and debian's clock is shifted to what it thinks is local time, that's simply because UTC is set to "yes" in /etc/default/rcS, so make it a "no" so that Debian knows that the BIOS is not set to UTC.

sudo nano /etc/default/rcS
# assume that the BIOS clock is set to UTC time (recommended)
UTC=no
Ctrl-O Enter Ctrl-X

You can set your time-zone with
sudo dpkg-reconfigure tzdata

Comments