Bug 974039
| Summary: | localectl: Failed to issue method call | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matthias Runge <mrunge> |
| Component: | systemd | Assignee: | systemd-maint |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dan.mashal, harald, johannbg, lnykryn, lzachar, msekleta, notting, plautrba, stephent98, systemd-maint, vpavlin, zbyszek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-06-13 13:43:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Matthias Runge
2013-06-13 10:39:02 UTC
# 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 |