Novell LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 Deployment Manual page 316

Table of Contents

Advertisement

11.2.2 Configuration File Format
KDE configurations are stored in text files in UTF-8 format. Each configuration option
consists of a key and value pair and is placed inside a group:
[Group 1]
key=value
key 2=value 2
White space at the beginning or end of keys and values are ignored. However, both
may contain spaces as shown in the example above. If a value is supposed to start or
end with space or should contain line breaks or special characters, use the following
special codes:
• \s: space
• \t: tab
• \r: carriage return
• \n: new line
• \\: backslash
Shell Expansion
To use dynamically generated values, KDE allows you to use shell expansions. If a key
is followed by [$e], shell expansions are activated. When using this construct, the
value is written to the file the first time it is read. Using [$ie], lock down this behavior
so the expansion is evaluated every time the configuration file is read. Shell expansions
allow you to either use environment variables or the output of commands as values.
[example group]
UserName=$USER
Group=$(id -g)
HomeDirectory=$HOME
Localization
All configuration values can be localized with a language code added to the key entry:
300
Deployment Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents