Gnome per user language encoding configuration using .dmrc file
Sometime you may see different language encoding in X than on your console (tty) prompt. Sometime two different user need two have different language encodings.
~/.dmrc file - Per-user language support
In theory this file should be shared between GDM (Gnome) and KDM (KDE), so users only have to configure things once. This is a standard .ini kind / style configuration file. It has only one section called [Desktop] which has two keys: Session and Language. There are some per user configuration settings that control how GDM behaves. GDM is picky about the file ownership and permissions of the user files it will access, and will ignore files if they are not owned by the user or files that have group/world write permission. Normally GDM will write this file when the user logs in for the first time, and rewrite it if the user chooses to change their default values on a subsequent login.
Setup language encoding in X
Defining LANG variable is not sufficient, you need to setup language encoding using ~/.dmrc file.
cat ~/.dmrc
Output:
[Desktop] Session=gnome Language=cs_CZ.UTF-8
Refer to Gnome Display Manager Reference Manual for more information.
Want to stay up to date with the latest Linux tips, news and announcements? Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
You may also be interested in other helpful articles:
- Weird GNOME problem: INIT: Id respawning too fast: disabled for 5 minutes
- Difference between KDE and Gnome Desktop systems
- Humor: The Last Language War and Linus vs Chuck Norris
- Gnome Desktop Add Folder Shortcut To Left Panel File Browser ( Places )
- GNOME 2.16 released and available for download
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: configuration_file, configuration_settings, dmrc, gdm, Gnome, Kde, kdm, utf_8



Recent Comments
Today ~ 5 Comments
Today ~ 12 Comments
Today ~ 2 Comments
Today ~ 18 Comments
Today ~ 5 Comments