Description of problem: [root@turing ~]# localectl set-locale en_US.utf8 Failed to issue method call: Invalid argument [root@turing ~]# localectl list-locales| grep en_US.utf8 en_US.utf8 I think that also applies for other locales, in fact, I didnt found any working. Version-Release number of selected component (if applicable): rpm -q systemd systemd-204-6.fc19.x86_64
# man localectl ... set-locale LOCALE... Set the system locale. This takes one or more assignments such as "LANG=de_DE.utf8", "LC_MESSAGES=en_GB.utf8", and so on. See locale(7) for details on the available settings and their meanings. Use list-locales for a list of available locales (see below). ... # localectl set-locale LANG=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 # localectl System Locale: LANG=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 VC Keymap: de-latin1 X11 Layout: n/a
The syntax for "localectl set-locale" is not clear from the man page. At the least, the man page should provide examples like the one in Comment 1: # localectl set-locale LANG=de_DE.UTF-8 LC_MESSAGES=en_US.UTF-8 Further, the syntax should be specified explicitly: localectl set-locale [LANG=<locale-spec>] [LC_MESSAGES=<locale-spec>] ... (List all possibilities, here.) "localectl -h" should show the same information. Please reopen this for the inadequate documentation.
And explicitly refer to the "locale" command: $ locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=
For reference, here is the online documentation: http://www.freedesktop.org/software/systemd/man/localectl.html