4. Operating
Barco – Argus X Terminal – DOC-3265-2 – user's manual – Revision 06 – February-2005
___________________________________________________________________
4-33
4.6.6
The resource files
You can adjust the behavior of an X client by providing options on the command line when you call it. These
options specify the values of certain attributes of clients called resources. In addition, you can place specifications
that establish defaults for resources in resource files.
The concept of resource files is complex and therefore only the basics necessary for fundamental understanding
can be treated here.
Further documentation
A detailed and complete description can be found in:
•
X Window System User’s Guide - Volume 3
Valerie Quercia, Tim O'Reilly
O’Reilly & Associates, January 1993
ISBN: 1565920155
Syntax
The
resource
syntax knows
loose binding
and
tight binding
:
name*variable:value
loose binding
name.variable:value
tight binding
Table 4-18
The
loose binding
:
xvideo*title:my video
determines both the title of the
control panel
and the title of the
canvas panel
. Whereas the
tight binding
:
xvideo.ctrl.title:my xvideo control panel
xvideo.canvyas.title:my xvideo canvas panel
determines the titles of control and canvas panel separately.
-name option
The
xforms
toolkit option
-name
allows to control which resource is evaluated when starting
xvideo
. So, if
two different
resources
for
foo
and for
dummy
are defined:
xvideo-foo.ctrl.title:foo control panel
xvideo-foo.canvas.title:foo control panel
xvideo-dummy.ctrl.title: dummy control panel
xvideo-dummy.canvas.title: dummy control panel
xvideo
can be started two times with different settings:
eos:/root # xvideo -name xvideo-foo
eos:/root # xvideo -name xvideo-dummy