Running different scripts for each display
Use this procedure to run a particular script for a specific display.
where path is the path name of the file to be used, and file is the file name of the file to be used. The startup script is run as root after the user has logged in, before the Common Desktop Environment session is started.
The script /usr/dt/config/Xreset can be used to reverse the setting made in the Xstartup file. The Xreset file runs when the user logs out.
The
following example shows lines in the Xconfig file which
specify different scripts for two displays:
Dtlogin.sysaaa_0*startup: /etc/dt/config/Xstartup0
Dtlogin.sysaaa_1*startup: /etc/dt/config/Xstartup1
Dtlogin.sysaaa_0*setup: /etc/dt/config/Xsetup0
Dtlogin.sysaaa_1*setup: /etc/dt/config/Xsetup1
Dtlogin.sysaaa_0*reset: /etc/dt/config/Xreset0
Dtlogin.sysaaa_1*reset: /etc/dt/config/Xreset1