Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: smarks@eng.sun.COM (Stuart Marks) Newsgroups: comp.windows.x Subject: Re: OpenWindows: olwm icons Message-ID: <9101050132.AA20784@trantor.Eng.Sun.COM> Date: 5 Jan 91 01:32:03 GMT References: <1991Jan4.163755.26179@ssd.kodak.com> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 33 jeffv@bisco.kodak.com (Jeff Van Epps) writes: | Can anyone tell me how to associate icons with applications when running | OpenWindows 2.0 with the olwm window manager? With the applications I'm | interested in I can't use the XView command line arguments -icon_image or | -WI because they aren't XView applications (stuff from the MIT X11R4 | distribution, like xterm). So it has to be done in .Xdefaults. | | The XView man page (or excuse for one anyway) says that the resource name | is "Icon.Pixmap". I've tried every permutation I could think of, in | the .Xdefaults and after "xterm -xrm", but nothing works. I use xterm -xrm "XTerm*iconPixmap: $HOME/lib/bitmaps/letters" under olwm, and it works OK. In my .Xdefaults file, I have an entry of the form XTerm*iconPixmap: /usr/parkway/smarks/lib/bitmaps/xterm and it works, too. In general, you can't use XView-style command line options and resources with non-XView programs. Xterm is an Xt-based application, and it uses Xt-style command line options and resources. Other Xt clients, xclock for instance, also respond to the iconPixmap resource. s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.