Dell Wyse Enhanced Ubuntu Linux T50 Bedienungsanleitung Seite 174

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 220
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 173
Chapter 14. Server Configuration
The fields name, description, icon, cmdline and testcmd will all be implicitly filled in by the system
configuration. You can override those values individually by specifying a different value in the
ThinLinc configuration.
Multiple values can be specified in this field. The first matching configuration will be used. If no
matching configuration can be found then the profile will not be shown.
Note: If the configuration is listed in /etc/upstart-xsessions then the specified command is
ignored and an Upstart user session will be started instead. A manually specified cmdline can
still be used to override the command.
name
A short description of the profile, shown in the profile list.
description
A longer description, shown under the screen shot when the profile is selected.
icon
A 22x22 image shown next to the name in the profile list. Paths can be absolute or relative
/opt/thinlinc/share/tl-select-profile.
screenshot
A 200x150 image shown when the profile is selected. Paths can be absolute or relative
/opt/thinlinc/share/tl-select-profile.
cmdline
The command to execute if this profile has been chosen.
If xdg_session is set then the environment variable XDG_EXEC will be set to the original command
line from the system desktop session configuration.
testcmd
A shell expression or command that is executed to determine if this profile should be visible or not.
A non-zero return code causes the entry to be hidden. If this field is empty or missing then the entry
will always be shown.
If xdg_session is set then the environment variable XDG_TRY_EXEC will be set to the expected
binary from the system desktop session configuration. Note that this value differs in behaviour from
testcmd. XDG_TRY_EXEC should only name a executable binary in PATH , whilst testcmd will be
executed and its return code inspected.
The name and description variables mentioned above also support Pango Markup
(http://developer.gnome.org/pango/stable/PangoMarkupFormat.html) format styling which provides a
simple way to display formatted text (for example, bold or italicized words).
The following example changes the name to be displayed using a blue foreground color and a large font,
and the description with a boldface tag to emphasise the machine’s operating system type.
164
Seitenansicht 173
1 2 ... 169 170 171 172 173 174 175 176 177 178 179 ... 219 220

Kommentare zu diesen Handbüchern

Keine Kommentare