Effect of rules in different rule files
The relationship between the different types of rule file,
and the rule clauses they can contain, is shown below.
- 
Local rule files:
 icon_rules
- 
affect icons in the directory containing the rule file
 locked_on_desktop
- 
ignored
 desktop_layout
- 
ignored
 initial_actions
- 
occur when the directory is opened
 final_actions
- 
occur when the directory is closed
 menu
- 
available in the directory containing the rule file
 
 
 
- 
Desktop rule files:
 icon_rules
- 
affect icons on the desktop
 locked_on_desktop
- 
applies to the desktop
 desktop_layout
- 
applies to the desktop
 initial_actions
- 
occur when the desktop is opened
 final_actions
- 
occur when the desktop is closed
 menu
- 
available on the desktop
 
 
 
- 
User rule files:
 icon_rules
- 
affect all of the user's icons
 locked_on_desktop
- 
applies to the main Desktop.
 desktop_layout
- 
applies to desktops not already holding a desktop_layout
clause
 initial_actions
- 
occur when the Desktop starts (after the system rule file's
initial_actions)
 final_actions
- 
occur when the Desktop exits (before the system rule file's
final_actions)
 menu
- 
available to all directories and desktops
 
 
 
- 
System rule file, user type rules, and modules:
 icon_rules
- 
affect all icons
 locked_on_desktop
- 
applies to the main Desktop
 desktop_layout
- 
applies to desktops not already holding a desktop_layout
clause
 initial_actions
- 
occur when the Desktop starts (before the user rule file's
initial_actions)
 final_actions
- 
occur when the Desktop exits (after the user rule file's
final_actions)
 menu
- 
available to all directories and desktops
 
 
 
- 
Dynamic rules:
 icon_rules
- 
affect all icons while loaded
 locked_on_desktop
- 
apply to the main Desktop
 desktop_layout
- 
applies to desktops not already holding a desktop_layout
clause
 initial_actions
- 
occur when the rule is installed, if the -x option
is used when loading the rule
 final_actions
- 
occur when the rule is removed, if the -x option
is used when unloading the rule
 menu
- 
available to all directories and desktops
 
 
 
- 
Built-in rules:
 icon_rules
- 
affect all icons
 locked_on_desktop
- 
none
 desktop_layout
- 
none
 initial_actions
- 
none
 final_actions
- 
none
 menu
- 
available to all directories and desktops
 
See also:
- 
icon_rules,
locked_on_desktop,
desktop_layout,
initial_actions,
final_actions,
and
menu
in the
xdt3(XC)
manual page
Next topic: 
Rule file precedence
Previous topic: 
Classes
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003