Restore deleted locales by localepurge
Last update
2019-08-23
2019-08-23
«restore locales/change user default locale»
- reset locales:
1 2 3 4 5 6 7 8 | # choose locales to keep dpkg-reconfigure localepurge # reinstall files apt-get --reinstall install `dpkg -S /usr/share/locale/it | tr -d , | sed -r 's/: .+$//'` # choose locales to build and set the default one dpkg-reconfigure locales |
- set a different user locale for the shell:
1 2 | echo "LANGUAGE=it" >> ~/.profile echo "LANG=it_IT.utf8" >> ~/.profile |
- set a different user locale for the display manager in
~/.dmrc
:
1 2 3 | [Desktop] Session=xfce Language=it_IT.utf8 |
Source: Vitavonni, .profile settings, Debian wiki