Thanks for the tips. 

I've got a proper rule now,

    { rule = { class = "Houdini", instance = "MPlay" }, properties = {tag = 
tags[2][2]}},
       
Mplay does spawn on tag 2 of my second monitor, and it stays put for a
breif period of time, but as soon as pixels are rendered it snaps back
to my main monitor. Exactly the same behavior I was seeing with shifty.

I suppose this is something I'll have to live with. It's a bit
disappointing. 

>On Sat, Jul 24, 2010 at 04:08:39PM +0200, Vivian Brégier wrote:
> I personally use the following function in my rc.lua, mapped to
> [modkey][i]. It outputs the info in naughty.
> 
> Why use an external program when you can have awesome give you the info ? :)
> 
> function client_prop(c)
>     f = function (prop, str)
>         return
>             prop and
>                 ( str
>                 .. ((type(prop)=="boolean") and "" or (" = " .. prop))
>                 .. "\n"
>                 )
>             or ""
>     end
> 
>     naughty.notify({
>         title = "Client info",
>         text = ""
>         .. f(c.class, "class")
>         .. f(c.instance, "instance")
>         .. f(c.name, "name")
>         .. f(c.type, "type")
>         .. f(c.role, "role")
>         .. f(c.pid, "pid")
>         .. f(c.window, "window_id")
>         .. f(c.machine, "machine")
>         .. f(c.skip_taskbar, "skip taskbar")
>         .. f(c.floating, "floating")
>         .. f(c.minimized, "minimized")
>         .. f(c.maximized_horizontal, "maximized horizontal")
>         .. f(c.maximized_vertical, "maximized vertical")
>     })
> end
> 
> 
> 2010/7/24 Adrian C. <an...@sysphere.org>:
> > On Fri, 23 Jul 2010, Alan Warren wrote:
> >
> >> is the first the "class" ?  I believe I've got this correct as I've
> >> got mplay to behave
> >
> > No.
> >
> > http://awesome.naquadah.org/wiki/FAQ#How_to_find_window.27s_class_and_other_identifiers.3F
> > http://awesome.naquadah.org/wiki/FAQ#How_to_start_clients_on_specific_tags_and_others_as_floating.3F
> >
> >
> > --
> > Adrian C. (anrxc) | anrxc..sysphere.org | PGP ID: D20A0618
> > PGP FP: 02A5 628A D8EE 2A93 996E  929F D5CB 31B7 D20A 0618
> >
> > --
> > To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.
> >
> 
> 
> 
> -- 
> Vivian Brégier
> http://www.are-ata.org/Vivian.vcf
> 
> --
> To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

-- 
To unsubscribe, send mail to awesome-unsubscr...@naquadah.org.

Reply via email to