Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!csus.edu!ucdavis!csusac!unify!openlook!openlook-request From: smarks@Eng.Sun.COM (Stuart Marks) Newsgroups: comp.windows.open-look Subject: Re: icons under olwm, xcpu no title Message-ID: Date: 3 Apr 91 19:40:44 GMT Lines: 32 under TWM its easy to specify individual icons for applications like xterm's. Can anybody tell me, how I can specify icons in OLWM ? Olwm doesn't let you specify icons as easily as twm does. The reason is that most programs already request the window manager to display a particular icon. Many programs also provide some way for the user to customize this icon. For example, xterm supports the "iconPixmap" resource. If you put the following in your .Xdefaults file, XTerm*iconPixmap: /usr/lib/X11/include/bitmaps/xlogo32 then xterm icons will use the X logo pixmap. Also, I have found no way to display xcpu without a title bar, OpenWindows.MinimalDecor doesen't work. I'm not familiar with xcpu, but I can guess at what might be going on. The names you need to specify for the MinimalDecor resource are the class and instance names provided by the program in its WM_CLASS property. This are often slightly different from the name of the program, typically differing in case only. I suspect the class name of the xcpu program might be "Xcpu" or "XCpu" or something like that. You can use the "xprop" program to discover the contents of this property. (Unfortunately, most XView programs don't write the WM_CLASS property, so you can't use MinimalDecor with them. Sigh.) s'marks Stuart W. Marks ARPA: smarks@eng.sun.com Windows & Graphics Software UUCP: sun!smarks Sun Microsystems, Inc.