Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!kepler1!fcaggian From: fcaggian@kepler.com (Frank Caggiano) Newsgroups: comp.windows.open-look Subject: Re: an example of sticky windows in a .Xdefaults file for olvwm Summary: needs WM_CLASS set Message-ID: <574@kepler1.kepler.com> Date: 7 May 91 13:46:15 GMT References: <1991May3.000802.29165@wlbr.imsd.contel.com> <1991May3.090758.699@ifi.unizh.ch> Organization: Kepler Financial Mgmt., Setuket, NY Lines: 61 In article <1991May3.090758.699@ifi.unizh.ch>, sinkwitz@ifi.unizh.ch (Rainer Sinkwitz) writes: > In article jc@raven.bu.edu (James Cameron) writes: > >>>>>> On 3 May 91 00:08:02 GMT, mh@roger.imsd.contel.com (Mike Hoegeman) said: > > > >Try the following: > > > > > >OpenWindows.VirtualSticky: xclock xload xbiff > > > > > > > >Now, my question to yall is this: how can you get the root menu > >sticky? > > > >I have used xprop and found that the name is "Root Menu" but when > >I add this to the list like this: > > > >OpenWindows.VirtualSticky: xclock xload xbiff "Root Menu" > > > >it does not work. Any suggestions?? > > > >jc > > > Another Question: How do I set then DeskSet Perfmeter sticky ? > > From the olvwm man page: `Windows are sticky if their class name (set via the WM_CLASS) property is in the list of strings for VirtualSticky.' When looking at a window with xprop you are looking to see if WM_CLASS(STRING) is set. The first string shown is the instance name the second string is the class name. Either name will work in VirtualSticky. It appears that a number of the xview tools supplied do not set the WM_CLASS property. Calendar Manager doesn't (I know I wannted to make it sticky), performance meter and the root menu do not set it, hence it isn't possible to make them sticky (at least as far as I can tell). Some of the X tools will set the instance name from the command line via the -name switch. So to make my console xterm sticky (but none of the other xterm's I bring up) I run 'xterm -name Console' and in the VirtualSticky string I add Console. By choseing between the class name and the instance name in VirtualSticky you can control wheather all windows of a particular tool are sticky or just one instance of a tool is sticky. Finally I'd like to congratulate Mr. Oaks for a job well done. I compiled olvwm last week and have been using it ever since. The thought of going back to a desktop the same size as the screen sends shivers down my spine. -- Frank Caggiano INTERNET: fcaggian@kepler.com Kepler Financial Management, Ltd. UUCP: ..!uunet!kepler1!fcaggian 100 North Country Rd. fax: (516) 751-8678 Sekauket, NY 11733 voice: (516) 689-6300