mpeter@vision.ethz.ch (Martin Peter) (04/02/91)
under TWM its easy to specify individual icons for applications like xterm's. Can anybody tell me, how I can specify icons in OLWM ? Also, I have found no way to display xcpu without a title bar, OpenWindows.MinimalDecor doesen't work. Are there any comments to that ? thanks for help martin -- ------------------------------------------------------------ Martin Peter e-mail: mpeter@vision.ethz.ch ETH Zuerich tel: 41 1 256 5286 Computer Vision Group fax: 41 1 251 2172 IKT/BIWI Gloriastrasse 35 8092 Zurich/ Switzerland
baumgart@esquire.dpw.com (Steve Baumgarten) (04/03/91)
In article <1991Apr2.134232.27050@bernina.ethz.ch> mpeter@vision.ethz.ch (Martin Peter) writes:
under TWM its easy to specify individual icons for applications
like xterm's.
Can anybody tell me, how I can specify icons in OLWM ?
I'd also be interested in finding out. Nothing in the olwm man page
has jumped out at me, though perhaps I'm looking in the wrong place.
I'm also somewhat of an X novice, so don't worry about explaining
*too* much...
--
Steve Baumgarten | "New York... when civilization falls apart,
Davis Polk & Wardwell | remember, we were way ahead of you."
baumgart@esquire.dpw.com |
cmcl2!esquire!baumgart | - David Letterman
sinkwitz@ifi.unizh.ch (Rainer Sinkwitz) (04/04/91)
In article <1991Apr2.134232.27050@bernina.ethz.ch> mpeter@vision.ethz.ch (Martin Peter) writes: > > under TWM its easy to specify individual icons for applications > like xterm's. > Can anybody tell me, how I can specify icons in OLWM ? > I have the following line in my .Xdefaults - it does all very fine: OpenWindows.MinimalDecor: xeyes xfd xpostit xlogo xbiff dclock xclock xchrom oclock xload Perfmeter xnetload xcpustate PostItNote postitnote xpostitnote xlogout topBox -- Rainer Sinkwitz | E-mail: sinkwitz@ifi.unizh.ch Dept. of Computer Science | sinkwitz%ifi.unizh.ch@relay.eu.net University of Zuerich | {backbone}!mcsun!unizh!sinkwitz
doug@crdgw1.ge.com (Doug Becker) (04/04/91)
Can anybody tell me, how I can specify icons in OLWM ? "iconPixmap" is the resource you're looking for (i.e., "<appname>*iconPixmap: bitmap" in your .Xdefaults file). This should work for any window manager (although exactly what the wm does with the hint is a different story, of course; see the ICCCM for details). Also, I have found no way to display xcpu without a title bar, OpenWindows.MinimalDecor doesen't work. I don't have xcpu here to test, but assuming you're using MinimalDecor correctly, my guess would be that xcpu may not be setting its WM_CLASS property correctly. You can use xprop to test this. -- Doug Becker doug@nmri.ge.com crdgw1!sane!doug
smarks@Eng.Sun.COM (Stuart Marks) (04/04/91)
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.