Alessandro Massignan wrote:

> Hi Johannes,
> 
>> to actually work. Is there an easy way to figure out with what class name
>> an app is seen by awesome?
> Fire up "xprop" in a terminal and click to any window, it'll return
> few informations about
> that (WM_CLASS too)... On a "xterm" you should see:
> 
> [...]
> WM_CLASS(STRING) = "xterm", "XTerm"
> [...]
> 
> 
> Cheers,
> ff0000

Hmmm ... for Kontact xprops says:
    WM_CLASS(STRING) = "kontact", "Kontact"
But adding this to my config
    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 } },
    ...
    -- Set Firefox to always map on tags number 2 of screen 1.
    -- { rule = { class = "Firefox" },
    --   properties = { tag = tags[1][2] } },
    { rule = { class = "Kontakt" },
      properties = { tag = tags[1][1] } },
    }

does NOT make kontact go to tag 1 on screen 1 ...

What's wrong?

Thanks, Joh


-- 
To unsubscribe, send mail to [email protected].

Reply via email to