[ubuntu-za] Devilspie - Application name

Bill Cairns cairnsww at gmail.com
Mon Jun 29 09:27:37 BST 2009


On Mon, Jun 29, 2009 at 10:08 AM, Jonathan Hitchcock<jonathan at vhata.net> wrote:
> Hi,
>
> On 28 Jun 2009, at 7:14 PM, Bill Cairns wrote:
>> What is the "Application Name" for OO3 Writer?
>
> You should be able to run 'xprop', and click on a window you're
> interested in - xprop will return a large amount of information about
> it, including the application_name.
>
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>

Wow.

Thanks Jonathan. I have no idea what that stream of characters means,
but in the middle I did find:

WM_CLASS(STRING) = "VCLSalFrame", "OpenOffice.org 3.1"

So I tried

(if (is (application_name) "OpenOffice.org 3.1")
  (begin (set_workspace 3) (maximize) ) )

and to my great surprise it worked!

So thanks.

But I would still be interested to know what an "Application Name" is.
Somewhere the application must tell the system what its name is. How
does it do that? Where is it held?

Bill



More information about the ubuntu-za mailing list