Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hplabs!hpfcso!hpfcdc!stroyan From: stroyan@hpfcdc.HP.COM (Mike Stroyan) Newsgroups: comp.sys.hp Subject: Re: question about HPWM and icons on HP9000/340 Message-ID: <5570290@hpfcdc.HP.COM> Date: 13 Sep 89 23:43:21 GMT References: <1566@ruuinf.cs.ruu.nl> Organization: HP Ft. Collins, Co. Lines: 14 > What I want is to run a "normal" UNIX tool in a HPTERM client and > specify a dedicated icon for it. The example below shows how I > run the Elm Mail Agent from a HPWM menu: I'm afraid that you are out of luck with hpwm. The WM_CLASS property consists of a resource name and resource class. The -name option to hpterm sets the resource name, but leaves the resource class as "HPterm". The client class specific resources in hpwm only look at the resource class part of the property. To get different hpterm icons you will need to use twm or wait for mwm, which will ship with HP-UX 7.0. Twm can set icons based on window titles. Mwm can set icons based on either field in the WM_CLASS property, and would work with your example. Mike Stroyan, stroyan@hpfcla.hp.com