HP Visualize J210XC IRIX to HP-UX Migration Guide - Page 123
Xresources, Xstartup, Xsession
View all HP Visualize J210XC manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 123 highlights
The Desktop Environment 1. The dtlogin executable is started as part of the init process that occurs during the system boot sequence. 2. dtlogin reads /usr/dt/config/Xconfig to get a list of resources with which to configure the login process. It is at this point that dtlogin first reads configuration files like Xaccess, Xservers, Xresources, Xstartup, Xsession, and Xreset and gets the values of a number of appearance and behavior resources. 3. dtlogin reads two files in /usr/dt/config: • Xservers or the file identified by the Dtlogin*servers resource setting in Xconfig • Xresources or the file identified by the Dtlogin*resources resource setting in Xconfig 4. dtlogin starts an X server and a child dtlogin for each local display. 5. Each child dtlogin invokes dtgreet, the login screen. 6. When a login and password are validated, a child dtlogin sets certain environment variables to default values. 7. The child dtlogin runs /usr/dt/config/Xstartup. 8. The child dtlogin runs /usr/dt/config/Xsession. 9. Xsession runs dthello, the copyright screen. 10. Xsession reads $HOME/.dtprofile, setting any additional environment variables or overwriting those set previously by dtlogin. 11. The child dtlogin invokes the session manager, dtsession. 12. dtsession restores the appropriate session. For instance, to restore the current session, dtsession, reads dt.resources and dt.session in $HOME/.dt/sessions/current. At logout, the reverse occurs. The session is saved, and dtlogin runs /usr/dt/config/Xreset. After Xreset runs, dtlogin again displays the login screen as in step 4. Customizing CDE CDE can be customized in many ways to give the desktop environment a personal appearance. CAUTION: Before any customizations are begun it is a good idea to make hardcopy printouts of all configuration files that will be edited. Doing so will ensure that if serious mistakes are made and CDE does not respond correctly, you have copies of the original that you can use to return the environment to its pristine un-edited form. Adding or Removing Objects from the Front Panel There are two ways to add objects to the front panel: • Drag and drop the new objects into a slideup subpanel, and then make them the default for that subpanel. • Modify the /etc/dt/appconfig/types/C/dtwm.fp configuration file. To add an object using the first method: 1. Drag the application icon that you want as a front panel button from an application manager view and drop it onto the installation section of the appropriate subpanel. 118