Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!mit-eddie!mintaka!think!zaphod.mps.ohio-state.edu!usc!apple!sun-barr!newstop!sun!kimba!hvr From: hvr@kimba.Sun.COM (Heather Rose) Newsgroups: comp.windows.x Subject: Re: How do I get custom Icons under olwm? Message-ID: <131514@sun.Eng.Sun.COM> Date: 9 Feb 90 02:21:22 GMT References: <294@venice.SEDD.TRW.COM> Sender: news@sun.Eng.Sun.COM Reply-To: hvr@sun.UUCP (Heather Rose) Organization: Sun Microsystems, Mountain View Lines: 29 In article <294@venice.SEDD.TRW.COM> baur@venice.sedd.trw.com (Steven L. Baur) writes: > >I have read the documentation, and don't see anything about how to set >icons from olwm. I would like to be able to set different icons for things >like xterm that do not specify their own icons. Preferably from the >command line, so they can but put into lines in my .olwmmenu. This is not really a window manager issue... The client program should provide a way to set its icon's bitmap image. I'm not sure about xterm, but I believe it lacks this kind of command line argument. When I type in "xterm -help" I do not see anything like icon image. In the case of XView programs, they all understand some standard command line arguments. (to see a list type "cmdtool -help") So, do XView programs take an X bitmap as a command line argument for an icon? Not currently. The support for X bitmap images is there. However, the frame code which parses the common command line arguments assumes the incoming file is in SunView icon format. One possible solution is to look for some majik cookie to tell an X bitmap file from a SunView icon file and then just do the right thing. Another possible solution is to add a command line argument to tell the frame code that this is an X bitmap instead of a SunView icon. Regards, Heather