Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!wuarchive!csus.edu!ucdavis!csusac!unify!openlook!openlook-request From: Stuart.Marks@Eng.Sun.COM (Stuart Marks) Newsgroups: comp.windows.open-look Subject: Re: Specifying icon bitmaps in olwm Message-ID: Date: 8 May 91 20:07:26 GMT Lines: 25 Is there any way to attach a bitmap file as the icon for a precompiled X application running under olwm. twm allowed you to specify "class-name" "icon-filename" pairs in .twmrc. Does olwm allow something similar ? Not exactly, but there is an interface whereby applications can request that the window manager display a particular icon, and most applications allow this to be customized from the command line or by using resources. For example, XView applications use the -WI option to specify an alternate icon. Xterm uses the iconPixmap resource to do this. (NOTE: XView's icon files are in SunView icon format, editable by iconedit, whereas Xterm's are in X bitmap format.) Examples: shelltool -WI /usr/include/images/hello_world.icon xterm -xrm '*iconPixmap: /usr/openwin/include/X11/bitmaps/xlogo32' s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.