Am Thu, 04 Mar 2010 19:56:15 +0100
schrieb Andreas Leha <[email protected]>:
>Hi,
>
>I am running R which produces graphics in a "R Graphics" window. This I
>would like to be floating by default, but I am unable to match on it.
...
>And this is output from xprop:
>
>_NET_WM_WINDOW_OPACITY(CARDINAL) = 3865470565
>_NET_WM_DESKTOP(CARDINAL) = 0
>WM_STATE(WM_STATE):
> window state: Normal
> icon window: 0x0
>WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW
>WM_NAME(STRING) = "R Graphics: Device 2 (ACTIVE)"
>WM_NORMAL_HINTS(WM_SIZE_HINTS):
> program specified location: 0, 0
> program specified size: 672 by 673
>
This is the full output of xprop, no lines like
WM_CLASS(STRING) = "urxvt", "URxvt"
I did not know such windows exist ...
>
>
>Ideas how I shoul match on this window?
>
in current awesome you can define a rule like
{ rule = { name="R Graphics" },
properties = { floating = true } },
in older versions without awful.rules you can add something like
if c["name"]=~"R Graphics" then
awful.client.floating.set(c, true)
end
in the manage hook, uhm, maybe the part floating.set is somehow
different, can not remember the right syntax.
Matthias
--
To unsubscribe, send mail to [email protected].