
Property syntax
The following example shows the RGS property syntax:
Rgreceiver.Network.Timeout.Warning=10000
In this example, the name of the property is Rgreceiver.Network.Timeout.Warning, and the value
of the property is 10000. This setting specifies that the RGS Receiver will wait 10,000 milliseconds (10
seconds) before displaying a warning dialog that indicates that it is no longer able to communicate with the
RGS Sender. This particular setting is duplicated in the Network tab of the RGS Receiver Control Panel
settings.
A property could also be set to an empty value like in the following example:
Rgreceiver.Browser.Name=
Properties with empty values initialize as follows:
●
If the value of the property is of type string, the value will be set as an empty string.
●
If the value of the property is of type int, int vector, or bool, the value will be set to 0.
IMPORTANT: No user notification is provided if a property name is misspelled, and the property will not
take effect. If you specify a property in a configuration file or on the command line and it does not take
effect, verify that the property name is spelled correctly (including uppercase and lowercase usage).
Setting property values in a configuration file
RGS property values can be set in a configuration file. The RGS Receiver uses the file rgreceiverconfig
for its properties, while the RGS Sender uses the file rgsenderconfig file for its properties. On Windows,
these files are located in the directory where the RGS Receiver and RGS Sender are installed. The defaults are
as follows:
RGS Receiver: C:\Program Files\Hewlett-Packard\Remote Graphics Receiver
\rgreceiverconfig
RGS Sender: C:\Program Files\Hewlett-Packard\Remote Graphics Sender
\rgsenderconfig
On Linux, these files are located as follows:
RGS Receiver: /etc/opt/hpremote/rgreceiver/rgreceiverconfig
RGS Sender: /etc/opt/hpremote/rgsender/rgsenderconfig
The configuration files contain one property per line. Empty lines 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.
NOTE: All properties in the configuration files are initially commented out with the “#” character. To set a
property in a configuration file, first delete the “#” character preceding the property name, and then set the
property to the desired value.
NOTE: RGS properties set in a configuration file might not take effect until the computer is restarted.
Setting properties on the command line
Properties can be set on the command line like in the following examples:
Property syntax 81
Komentarze do niniejszej Instrukcji