Better window placement for every WM

I’m using xfce window manager since a while now. I’m only using the taskbar and the wm in fact. But i was looking for a feature for a long time. Xfce wm doesn’t support matched window placement (ala sawfish).

For example, there is no way to place gkrellm on every workspace, or tell Kmail for stick on workspace 2. Yesterday, while surfing, i discover devilspie.

Example:

<!-- For gkrellm: place on every desktop, and hide in the tasklist -->
<flurb name="gkrellm on all Desktops">
  <matchers>
    <matcher name="DevilsPieMatcherWindowName">
      <property name="application_name" value="gkrellm"/>
    </matcher>
  </matchers>
  <actions>
    <action name="DevilsPieActionSetWorkspace">
      <property name="pinned" value="TRUE"/>
    </action>
    <action name="DevilsPieActionHide">
      <property name="skip_tasklist" value="TRUE"/>
    </action>
  </actions>
</flurb>

<!-- stick Kmail on desktop 4 -->
<flurb>
  <matchers>
    <matcher name="DevilsPieMatcherWindowName">
      <property name="application_name" value="KMail"/>
    </matcher>
  </matchers>
  <actions>
    <action name="DevilsPieActionSetWorkspace">
      <property name="workspace_index" value="4"/>
    </action>
  </actions>
</flurb>

Related posts :

admin September 14th, 2004


One Response to “Better window placement for every WM”

  1. clon 06 Jun 2007 at 11:45 am

    ‘wmctrl’ may also helps

Comments RSS

Leave a Reply