HP Xw460c Remote Graphics Software 4.2.0 User Guide - Page 82

Properties

Page 82 highlights

HP Remote Graphics 4.2.0 User's Guide Properties Remote Graphics Software has a configuration mechanism that allows specifying many controls. This configuration mechanism is called Properties. Properties are name/value pairs. Properties are created with default values and can enable or disable window borders, set the codec quality, set the audio quality, adjust the connection timeouts, etc. Properties are set in a configuration file, on the command line, or using the RGS Enterprise Service. Properties specified on the command line override properties set in a configuration file or RGS Enterprise Service. Syntax Properties are name/value pairs and can contain any non whitespace characters except "=" and "#". The property name and property value are separated by an "=". For example: Rgreceiver.Network.Timeout.Warning=10 The name of this property is Rgreceiver.Network.Timeout.Warning, and the value of the property is 10. All RGS Receiver properties begin with "Rgreceiver". All RGS Sender properties begin with "Rgsender". Property values cannot contain the "=" or "#" characters. Properties can contain values of the following types: string, int, bool, string vector and int vector. Properties of type bool are set to either "1" or "0" representing true or false. Any property set to an empty value, Rgreceiver.Browser.Name= initializes as follows: if the value of the property is of type STRING, the value will be set to an empty string. If the value of the property is of type INT or BOOL, the value will be set to "0". This can be used to initialize properties in a configuration file or on the command line. Configuration Files All RGS properties can be set in a configuration file. The RGS Receiver uses a file named rgreceiverconfig to read for its properties. The RGS Sender uses a file named rgsenderconfig to read for its properties. On Windows these files are installed in the directory where RGS is installed. On Linux and HP-UX these files are installed in /etc/opt/hpremote/rgreceiver and /opt/opt/hpremote/rgsender respectively. The configuration files contain properties (name/value pairs) with only one property per line. Empty lines (containing only whitespace characters) are ignored. The "#" character begins a comment on the line extending to the end of the line. If a property is listed more than once, the value of the last entry is used. 74

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155

HP Remote Graphics 4.2.0 User's Guide
74
Properties
Remote Graphics Software has a configuration mechanism that allows specifying
many controls. This configuration mechanism is called Properties. Properties are
name/value pairs. Properties are created with default values and can enable or
disable window borders, set the codec quality, set the audio quality, adjust the
connection timeouts, etc.
Properties are set in a configuration file, on the command line, or using the RGS
Enterprise Service. Properties specified on the command line override properties set
in a configuration file or RGS Enterprise Service.
Syntax
Properties are name/value pairs and can contain any non whitespace characters
except "
="
and "
#"
. The property name and property value are separated by an "
="
.
For example:
Rgreceiver.Network.Timeout.Warning=10
The name of this property is
Rgreceiver.Network.Timeout.Warning
, and the value
of the property is
10
.
All RGS Receiver properties begin with "
Rgreceiver
". All RGS Sender properties
begin with "
Rgsender
". Property values cannot contain the "=" or "#" characters.
Properties can contain values of the following types:
string
,
int
,
bool, string
vector
and
int vector
. Properties of type
bool
are set to either "1" or "0" -
representing
true
or
false
.
Any property set to an empty value,
Rgreceiver.Browser.Name=
initializes as follows: if the value of the property is of type STRING, the value will be
set to an empty string. If the value of the property is of type INT or BOOL, the value
will be set to "0". This can be used to initialize properties in a configuration file or on
the command line.
Configuration Files
All RGS properties can be set in a configuration file. The RGS Receiver uses a file
named
rgreceiverconfig
to read for its properties. The RGS Sender uses a file
named
rgsenderconfig
to read for its properties. On Windows these files are
installed in the directory where RGS is installed. On Linux and HP-UX these files are
installed in
/etc/opt/hpremote/rgreceiver
and
/opt/opt/hpremote/rgsender
respectively.
The configuration files contain properties (name/value pairs) with only one property
per line. Empty lines (containing only whitespace characters) are ignored. The "#"
character begins a comment on the line extending to the end of the line. If a
property is listed more than once, the value of the last entry is used.