Enables users to customize X applications.
custom [ -h | -e Browser | [ -s ResourceFile ] [ Application ] ]
The custom command starts the customizing tool, which is used to customize various aspects of applications.
The customizing tool can change the look of an application. It provides a user-friendly way to add resource values to your .Xdefaults file. Resources are customizable items such as colors, fonts, and other attributes that allow you to customize resources of a client application. Each application has its own set of unique resources, which are listed in an app-custom file. The customizing tool describes the resources available for modification for an application and the possible resource values you can select.
Most standard X Toolkit
command-line options are understood by the custom command.
See the following table that lists the standard command-line options:
Option | Resource | Value | Sets |
-bg | *background | Next argument | Background color |
-background | *background | Next argument | Background color |
-bd (1) | *borderColor | Next argument | Border color |
-bordercolor (1) | *borderColor | Next argument | Color of border |
-bw | .borderWidth | Next argument | Width of border in pixels |
-borderWidth | .borderWidth | Next argument | Width of border in pixels |
-display | .display | Next argument | Server to use |
-fn (2) | *font | Next argument | Font name |
-font (2) | *font | Next argument | Font name |
-fg | *foreground | Next argument | Foreground color |
-foreground | *foreground | Next argument | Foreground color |
-geometry | .geometry | Next argument | Size and position |
-iconic | .iconic | On | Start as an icon |
-name | .name | Next argument | Name of application |
-reverse | *reverseVideo | On | Reverse video |
-rv | *reverseVideo | On | Reverse video |
+rv | *reverseVideo | Off | No Reverse video |
-selection- Timeout | .selection- Timeout | Next argument | Selection timeout |
-synchronous | *synchronous | On | Synchronous debug mode |
+synchronous | *synchronous | Off | Synchronous debug mode |
-title | .title | Next argument | Title of application |
-xrm | value of argument | Next argument | Depends on argument |
-xnllanguage | .xnlLanguage | Next argument | Locale |
1 These options often have no visible effect on AIXwindows applications if the AIXwindows Window Manager (mwm) is running.
2 Motif applications do not generally respond to these options.
Note: Resources beginning with an* (asterisk) set the resource of every widget in the application to the same value. Resources that begin with a . (period) set the resources of only the application's top-level Shell widget.
Application | Specifies the name or class of the application to customize. |
custom
custom -s /usr/lib/X11/app-defaults/XCalc xcalc
The customizing tool has the
following application resources:
This command returns the following
exit values:
0 | Indicates successful completion. |
>0 | Indicates an error occurred. |
How to Start the Customizing Tool in AIX 5L Version 5.1 AIXwindows Programming Guide.