New answers tagged locale
You are probably on Ubuntu 16.04, and have run into this bug. I recommend that you either wait a few days until it has been fixed through the package updates, or install accountsservice from xenial-proposed in accordance with comment #5 in the bug report.
by changing locale update-locale LANG=en_US.UTF-8 LC_MESSAGES=POSIX
The answer was indeed PAM-related, as Gunnar Hjalmarsson mentioned in a comment. PAM was disabled via sshd_config, although I honestly do not remember doing so myself. To summarize: If /etc/default/locale seems being ignored, check if PAM is enabled.
Run the following commands: locale-gen en_US.UTF-8 dpkg-reconfigure locale dpkg-reconfigure keyboard-configuration localedef -i en_US -c -f UTF-8 en_US.UTF-8 reboot locale
You can try this, this is somewhat cleaner and more robust: it doesn't involve customising Ubuntu's locale files. In Ubuntu, you can assign locale components by editing the file /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" Which means: I want software messages in American, but time, ...
Ok, well nothing new since Gunnar Hjalmarsson posted on March 14. The answer has two parts: 1) when open/save with a program, the program itself chooses how it sorts the files shown, potentially ignoring the user's choice of sort type 2) LC_COLLATE is somehow broken in Ubuntu 14.04. I, the original poster, did not really answer anything. I just want ...
Top 50 recent answers are included