Hi all.
At the and of the letter xprop output for matlab figure.
I have tried to assign it to sctrain tag but failed.
Here is how I was doing it. (changing sun-awt-X11-XFramePeer to
com-mathworks-util-PostVMInit had no effect)
All other rules are working.
Can I use some kind of regular expression here?.
Thanks in advance.
Petro.

-- {{{ Rules
awful.rules.rules = {
    -- All clients will match this rule.
    { rule = { },
      properties = { border_width = beautiful.border_width,
                     border_color = beautiful.border_normal,
                     focus = true,
                     keys = clientkeys,
                     buttons = clientbuttons } },
    { rule = { class = "MPlayer" },
      properties = { floating = true } },
    { rule = { class = "pinentry" },
      properties = { floating = true } },
    { rule = { class = "gimp" },
      properties = { floating = true } },
    -- Set Firefox to always map on tags number 2 of screen 1.
    { rule = { class = "Conkeror" },
       properties = { tag = tags[1][2] } },
    { rule = { class = "sun-awt-X11-XFramePeer"},
       properties = { tag = tags[1][9] } },
    { rule = { class = "Emacs"},
       properties = { tag = tags[1][8] } },
    { rule = { name = "PyMOL Viewer" },
       properties = { tag = tags[1][4] } },





_NET_WM_DESKTOP(CARDINAL) = 7
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x1, 0x1, 0x0, 0x0
_NET_WM_STATE(ATOM) =
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: False
                Initial state is Normal State.
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 5, 43
                program specified location: 5, 43
                program specified size: 1270 by 361
                window gravity: NorthWest
_NET_WM_ICON(CARDINAL) =        Icon (48 x 48):
        ████████████████████████████████████████████████
        ████████████████████████████████████████████████
        ████████████████████████████████████████████████
        █████████████████████████████▓▒▓▓███████████████
        ████████████████████████████▓▒▓▒▒▓██████████████
        ███████████████████████████▓▒▒▒░▒▒▓█████████████
        ███████████████████████████▓▒▓▒ ░▒▓█████████████
        ██████████████████████████▓▒▒▓▒ ░▒▒▓████████████
        ██████████████████████████▒▒▓▓░  ▒▒▓████████████
        █████████████████████████▓▒▒▓▒░  ░▒▒████████████
        ████████████████████████▓▒▒▓▓▒░  ░▒▒▓███████████
        ███████████████████████▓▒▒▒▓▓▒░  ░▒▒▒███████████
        ███████████████████████▒▒▒▓▓▓▒░  ░▒▒▒▓██████████
        █████████████████████▓▓▒▒▒▓▓▒▒░  ░░▒▒▓██████████
        ███████████████████▓▓▒▒▒▒▓▓▓▒▒░  ░░▒▒▒██████████
        █████████████████▓▓▒▒▒▒▒▒▓▓▓▒▒░░ ░░▒▒▒▓█████████
        ████████████████▓▒▒▒▒▒▒▒▒▓▓▒▒▒░░ ░░▒▒▒▓█████████
        ███████████████▓▒▒▒▒▒▒▒▒▓▓▓▒▒▒░░░░░▒▒▒▒█████████
        ██████████████▓▒▒▒▒▒▓▓▒▒▓▓▓▒▒▒░░░░░░▒▒▒▓████████
        ██████████████▓▓▓▓▓▓▓▓▒▓▓▓▒▒▒▒░░░░░░▒▒▒▓████████
        ███████████▓▓▒▒▓▓▓▓▓▓▒▓▓▓▓▒▒▒░░░░░░░▒▒▒▒████████
        █████████▓▒▒░░░▒▓▓▓▓▓▒▓▓▓▓▒▒▒░░░░░░░▒▒▒▒▓███████
        ██████▓▓▒░░░░░░░▒▓▓▓▒▓▓▓▓▒▒▒▒░░░░░░░▒▒▒▒▓███████
        ████▓▒░░░░░░░░░░░▒▓▓▒▓▓▓▓▒▒▒▒░░░░░░░░▒▒▒▒███████
        █▓▓▒░░░░░░░░░░░░▒▒▒▒▓▓▓▓▓▒▒▒▒░░░░░░░░▒▒▒▒▓██████
        █▒░░░░░░░░░░░░░░▒▒▒▓▓▓▓▓▒▒▒▒▒░░░░░░░░▒▒▒▒▓██████
        ██▓░░░░░░░░░░░░░▒▒▒▓▓▓▓▒▒▒▒▒▒░░░░░░░░▒▒▒▒▒▓█████
        ███▓▒░░░░░░░░░░░▒▒▓▓▓▓▓▒▒▒▒▒░░░░░░░░░░▒▒▒▒▓█████
        █████▒░░░░░░░░░▒▒▓▓▓▓▓▒▒▒▒▒▒░░░░░░░░░░▒▒▒▒▒█████
        ██████▓▒░░░░░░▒▒▓▓▓▓▓▒▒▒▒▒▒▒░░░░░░░░░░▒▒▒▒▒▓████
        ███████▓▒░░░░▒▒▓▓▓▓▓▒▒▒▒▒▒▒░░░░░░░░▒▒▓▒▒▒▒▒▓████
        █████████▓▒▒▓▒▓▓▓▓▓▓▒▒▒▒▒▒▒░░░░░░▒▓████▓▒▒▒▒▓███
        ██████████▓███▓▓▓▓▒▒▒▒▒▒▒▒░░░░░░▒▓██████▓▒▒▒▓███
        ███████████████▓▓▒▒▒▒▒▒▒▒░░░░░░▒▓█████████▓▒▒███
        ████████████████▓▒▒▒▒▒▒░░░░░░░▒▓███████████▓▒▓██
        ████████████████▓▒▒▒░░░░░░░░░░▓█████████████▓▓██
        █████████████████▒░░░░░░░░░░░▓███████████████▓██
        █████████████████▓░░░░░░░░░░▒███████████████████
        █████████████████▓░░░░░░░░░▒████████████████████
        ██████████████████▒    ░░░▒█████████████████████
        ██████████████████▓░    ░▒██████████████████████
        ███████████████████░   ░▓███████████████████████
        ███████████████████▓░░▒▓████████████████████████
        ████████████████████████████████████████████████
        ████████████████████████████████████████████████
        ████████████████████████████████████████████████
        ████████████████████████████████████████████████
        ████████████████████████████████████████████████

        Icon (16 x 16):
        ████████████████
        █████████▓▒▓████
        ████████▓▒░▒████
        ███████▓▒▓ ▒▓███
        ██████▓▓▒▒░░▓███
        █████▓▒▒▓▒░░▒███
        ███▓▓▓▓▓▓▒░░▒▓██
        █▓▒▒░▒▓▓▒▒░░▒▓██
        ▓░░░░▒▒▓▒▒░░▒▒▓█
        █▓▒░░▒▓▒▒░░░░▒▓█
        ██▓▒▓▓▒▒▒░░▒▓▒▒█
        █████▓▒▒░░▓███▓▓
        █████▓░░░▒█████▓
        ██████░ ▒███████
        ██████▓▓████████
        ████████████████


WM_PROTOCOLS(ATOM): protocols  WM_TAKE_FOCUS, WM_DELETE_WINDOW
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", "com-mathworks-util-PostVMInit"
WM_CLIENT_LEADER(WINDOW): window id # 0x1200005
_NET_WM_ICON_NAME(UTF8_STRING) = 0x46, 0x69, 0x67, 0x75, 0x72, 0x65, 0x20, 0x31
WM_ICON_NAME(STRING) = "Figure 1"
_NET_WM_NAME(UTF8_STRING) = 0x46, 0x69, 0x67, 0x75, 0x72, 0x65, 0x20, 0x31
WM_NAME(STRING) = "Figure 1"

Reply via email to