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

One thought on “Better window placement for every WM

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>