You are not logged in.

#1 2005-09-26 16:37:24

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

pekWM autoproperty for oo2

Why won't my pekwm autoproperty work?

I use the open office 2 beta from unstable. It has the little window titled "Styles and Formatting" I want that window to be always on top.

This is my autoproperty:

  Property = "VCLSalFrame,OpenOffice.org 1.9.122" {
      Title = "^Styles and Formatting"
      ApplyOn = "Start New"
      Layer = "OnTop"
  }

I got the Property using the auxillery propstring function. If I don't have the Title line in there, it makes the full open office window always on top (not pleasant). Putting the Title line in doesn't work... what am I doing wrong???

Thanks,
Dusty

Offline

#2 2005-09-26 16:39:14

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pekWM autoproperty for oo2

Oh, and BTW, if I select 'always on top' from the stacking menu for the window, it works properly.

Dusty

Offline

#3 2005-09-27 06:37:09

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: pekWM autoproperty for oo2

I've had this problem with Mozilla Thunderbird.

Turns out, as the program is loading, you can see the window title changes. That may be the case here. You need to tell pekwm about the original window title, or it won't recognise it.

I doubt OOo would have the window Role set, but that's the best way to set autoproperties (which is what i do with gaim). check xprops output for it.

Offline

#4 2005-09-27 06:40:43

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: pekWM autoproperty for oo2

OH!

smile you're going to like this one. it's a transient window.

ApplyOn = "Start New TransientOnly"

Transient will work too, but TransientOnly makes sure it doesn't match any other window by... mistake. as if that would really happen.

Offline

#5 2005-09-27 15:31:04

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pekWM autoproperty for oo2

perfect! I owe you one.

Dusty

Offline

#6 2005-09-30 18:53:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pekWM autoproperty for oo2

Ok, with updting to the oo rc1 it doesn't work anymore. :?

Offline

#7 2005-09-30 18:58:30

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: pekWM autoproperty for oo2

Dolt, perhaps its because the class has changed from OpenOffice.org 1.9.######### ho OpenOffice.org 2.0...

Dusty

Offline

#8 2005-10-01 05:55:29

paranoos
Member
From: thornhill.on.ca
Registered: 2004-07-22
Posts: 442

Re: pekWM autoproperty for oo2

smile the properties accept regular expressions.

Property = "^VCLSalFrame,^OpenOffice.org "

that way you don't have to muck around every time you upgrade.

Offline

#9 2005-10-01 19:35:33

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

Board footer

Powered by FluxBB