next up previous contents
Next: When do the Preference Up: Customizing tkDerm Previous: Customizing tkDerm   Contents

Three steps in setting preferences

The preference settings come into effect through three steps as is the case of the appearance settings described above.

Default settings hardcoded in the script
The default settings are hardcoded in the script file named ''tkderm.tcl''. The settings will be loaded when you click the Default button on the Preferences dialog.
Default settings of the installation basis
The ''tkderm_profile'' file in the ''res'' directory in the tkDerm installation directory has default settings of the installation basis. If tkDerm finds it at the startup, it will load the settings, thus overriding the default settings hardcoded in itself.
Settings of the user basis
The settings in the Preferences dialog are saved in the ''.tkderm_profile'' file in your home directory. If it exists, tkDerm will read it at the startup and override the settings of the installation basis.

Caution : The ''.tkderm_profile'' file is saved in the home directory of a current user. tkDerm cannot find .tkderm_profile if it starts up by a user other than the user who saved it because it will look for .tkderm_profile in the home directory of the one who is executing tkDerm. To circumvent this problem, copy the ''.tkderm_profile'' file in the home directory of the one who saved it to home directories of all the users who are going to execute tkDerm.


next up previous contents
Next: When do the Preference Up: Customizing tkDerm Previous: Customizing tkDerm   Contents
manabu 2010-11-14