|
|
Individual users can use their own unique set of fonts for the Desktop and other clients. These font settings do not change the default resources that are available to other users on the system.
To change fonts for an individual user, perform the following steps.
When you are finished, save your changes and exit the resource file.
Individual users can assign their own values to font resource specifications. You can either change the value of a font resource already set in the resource database, or you can set an entirely new font resource, perhaps a resource that changes only a particular aspect of a client's font usage. User-specified resources always override system defaults, allowing different users running the same clients to specify personal font preferences.
Individual resource settings are placed in a file called .Xdefaults-hostname, where hostname is the name of the host, or machine, where the client is running.
You can add an .Xdefaults-hostname file to a user's home directory in one of two ways:
When the user invokes a client, the X server checks to see if
an .Xdefaults-hostname file exists in
$HOME. If such a file does exist, the resource
values specified in the user resource file take precedence over
any values assigned to the same resource in the resource database.
See also:
Font resource specifications must use the correct format:
client*resource_name: fontname
client refers to the client you want to affect.
You can supply either the client's binary or class name.
resource_name
is the actual resource variable you want to define.
You can use either the resource's class or instance name.
fontname is the actual
name of the font you are selecting. You can use the
full font name, font name wildcards, or a font alias
when setting this value.
There are two resources from which you can choose when specifying fonts:
ScoColor*fontList: -adobe-helvetica-bold-r-normal--20-140-100-100-p-105-iso8859-1
See also:
If you generated an .Xdefaults-hostname file for a user from the root account, whether by creating the file or by copying the file from files in /usr/lib/X11/app-defaults, you must assign the file the correct ownership permissions. Run the chown command to assign the correct owner and the chgrp command to assign the correct group to the .Xdefaults-hostname file.
If you created your own .Xdefaults-hostname file, you can ignore this step. Your ownership permissions are already correct.
To see your new font settings, start a Graphical Environment session, either through scologin or by running startx from the command line.
Run the desired clients. When a client is started, it reads the $HOME/.Xdefaults-hostname file for your personal resource specifications. The new font settings are noted and the client's text is displayed accordingly.
If you created your own .Xdefaults-hostname file during a session, and you want the new font values applied to clients that are currently running, you need to restart the clients.
If you want the Desktop client to reflect your new font specifications, you must end your current session and then start the X server again, either by logging in through a scologin window or by running the startx script from the command line.