Anthony's X Icon Library (version 1.4) X Resource Settings for using Icons with Xterm Windows ------------------------------------------ EMail: anthony@cit.gu.edu.au This file contains a set of example resource settings for Xterm windows to various machines here at Griffith University (Australia). These should be changed to suit your local machines. The xterm client is assumed to have been started with either the `xon', `xrlogin' or `xrsh' shell scripts. These scripts start the xterm window with the resource name of ``xterm-'' (See below). If this is not the case, then you will need to either :- 1/ Use the TWM `f.identify' function to figure out the resource name used ( if any ). or 2/ Move the icon settings into your .twmrc file to set the icons through its window title name matching ability (if any). The reason I use the following resources is that I can insert them into a global resource file that all users read in via the `xrdb' program. This insures that any new machines can be given an icon without need to notify the users (who are typically not experts in X windows). This is the original reason for the standard sized icons. Also in this file are resource settings for clients which MUST have icons given to them as resource settings. That is, these clients must NOT have their icons forced onto them by the TWM window manager. The main reason for this is that the client modifies its icon as a status indicator to the user. The window manager would thus just get in the way if it forced a icon onto these application clients. While most applications do provide a user definable resource for the icon they are to use, some applications hardcode the icon into the application, and provide no alturnative means of changing the default icon. The Icons for these applications must have the icon forced onto them by the window manager to have it changed. For this reason almost all the application icons are set in the .twmrc file instead of by resource. See the ``README.twm'' file for the example application icon settings. --------------8<-----------CUT HERE--------------8<--------------- ! Example Icon resource settings to use `standard sized' icons from ! `` Anthony's Icon Library Collection '' ! ! ! Specialized xterm usage icons (twm menu, or alias executed) ! Console.iconPixmap: std/terminal.xbm News.iconPixmap: std/news.xbm Archie.iconPixmap: std/archie.xbm XMailEd.iconPixmap: std/scroll.xbm xterm-library.iconPixmap: std/library.xbm ! ! Local machine xterm icons (xrlogin) ! xterm-kurango.iconPixmap: std/kurango.xbm xterm-gucis.iconPixmap: std/gucis.xbm xterm-lyrch.iconPixmap: std/lyrch.xbm xterm-dragon.iconPixmap: std/dragon.xbm xterm-citadel.iconPixmap: std/citadel.xbm xterm-shawnee.iconPixmap: std/shawnee.xbm xterm-tyger.iconPixmap: std/tyger.xbm xterm-cornet.iconPixmap: std/cornet.xbm xterm-sisyphus.iconPixmap: std/sisyphus.xbm xterm-bilby.iconPixmap: std/bilby.xbm xterm-ballet.iconPixmap: std/ballet.xbm xterm-mandarin.iconPixmap: std/mandarin.xbm xterm-firebird.iconPixmap: std/phoenix.xbm xterm-coppelia.iconPixmap: std/dancer.xbm xterm-swanlake.iconPixmap: std/swan.xbm xterm-opera.iconPixmap: std/opera.xbm xterm-aida.iconPixmap: std/opera.xbm xterm-bizet.iconPixmap: std/opera.xbm xterm-carmen.iconPixmap: std/opera.xbm xterm-kraken.iconPixmap: std/kraken.xbm ! ! Icons that should be set by resource only (not by twm) ! All others should be set by twm to force icon to be used ! XTerm.iconPixmap: std/terminal.xbm Xarchie.busyIcon: std/archie-busy.xbm Xarchie.defaultIcon: std/archie.xbm XBiff*geometry: 70x70 XBiff*shapeWindow: true XBiff*flip: false XBiff*fullPixmap: mail/MailFull.xbm XBiff*fullPixmapMask: mail/MailFull_mask.xbm XBiff*emptyPixmap: mail/MailBox.xbm XBiff*emptyPixmapMask: mail/MailBox_mask.xbm !XMail.icon*geometry: 64x64 !XMail.icon*noMailFlag: mail/mailbarrel.xbm !XMail.icon*mailFlag: mail/mailbarrel.full.xbm ! ! NOTE: Xman should also have the following resource set to reduce ! the length of the icon name of a manpage (which is overly long). Xman.manualBrowser.iconName: Manual ! --------------8<-----------CUT HERE--------------8<--------------- Anthony Thyssen - (SysProg @ Griffith University) anthony@cit.gu.edu.au ------------------------------------------------------------------------------ The SUN was afraid of the dark, so it never appeared before day came. Piers Anthony - "Ogre, Ogre" (Xanth series) ------------------------------------------------------------------------------