Privacy and Legal Notice

Frequently Asked Questions for XFTP

Q: How do I customize attributes such as colors and fonts for XFTP?

You will have to obtain and customize a private copy of XFTP's application defaults file, XFTP. (An application defaults file is a text file associated with an X-based application that can be modified by the user to change the way the application looks and/or behaves.) There are two steps to perform:

1. Obtain the application defaults file, Xftp.

The XFtp file comes with the Xftp distribution. If your system administrator installed Xftp, he/she probably placed XFtp in /usr/lib/X11/app-defaults (or perhaps in /usr/local/bin). If you have not already done so, my recommendation is for you to create a directory in your home directory named "app-defaults". Copy XFtp to $HOME/app-defaults. Add the path $HOME/app defaults to your XUSERFILESEARCHPATH environment variable. If you are not using this environment variable, add the line

setenv XUSERFILESEARCHPATH "$HOME/app-defaults"

to your .cshrc file (and then execute "source .cshrc").

2. Edit the application defaults file, XFTP.

3: Use your favorite text editor to modify XFTP.
Look for lines containing the patterns "foreground", background", "font", and "Font". Here are some examples.



XFtp*foreground: brown


XFtp*foreground: red

to change much of the foreground color to red.



XFtp*defaultFontList: *hel*-b*-r-*-12-*,variable


XFtp*defaultFontList: fixed

to change the font of certain components such as menus and push buttons.

Caveat. Changing a line of the application defaults file might not result in the desired effect (for example, replacing a font with a larger font might mess up the geometry of some of XFTP's windows). You will probably have to experiment.