[ubuntu-za] Devilspie - Application name

Bill Cairns cairnsww at gmail.com
Sun Jun 28 18:14:58 BST 2009


What is an "Application name"?

In using devilspie, I successfully get Thunderbird to always run on
workspace 2 by including the instruction to devilspie:

(if (is (application_name) "Thunderbird")
  (begin (set_workspace 2) (maximize) ) )

Now I want to always run Open Office writer in workspace 3. I have tried:

(if (is (application_name) "swriter")
  (begin (set_workspace 3) (maximize) ) )

(if (is (application_name) "Swriter")
  (begin (set_workspace 3) (maximize) ) )

(if (is (application_name) "soffice")
  (begin (set_workspace 3) (maximize) ) )

(if (is (application_name) "Writer")
  (begin (set_workspace 3) (maximize) ) )

All without success.  The devilspie instruction says:

The "application_name"
function returns the name of the application which created the window, and
"XMMS" is a literal string.  So if the application name is "XMMS", then the
second argument will be evaluated.

What is the "Application Name" for OO3 Writer?

Bill



More information about the ubuntu-za mailing list