T&L Episode 1: Show Notes

Attached to this post you will find two of the pictures I took that show how the movie windows look when Devil’s Pie is applied. Sorry that they are a little bit grainy as they were taken with my iPhone (no flash) in a darkened room.

You can find the Devil’s Pie application in many distributions. For Debian, Ubuntu and other .deb based distributions, you may install using:

apt-get install devilspie

For Red Hat, Fedora, OpenSuSE and other .rpm based distributions:

yum install devilspie

Find the source code and revision history for Devil’s Pie here:

  • http://burtonini.com/blog/computers/devilspie

Find the GTK GUI configuration tools here:

  • http://code.google.com/p/gdevilspie

You may run Devil’s Pie at the command line, but the recommended way is to put it as a startup application. In Ubuntu, use the System menu, go to Preferences and then Startup Applications. Use /usr/bin/devilspie as the application. Call it something meaningful.

Here is the s-expression code for my xmbc.ds file which is located on my system in /etc/devilspie. You can also use ~/.devilspie as a directory for your .ds files if you just want them to work for your specific login.

/etc/devilspie/xmbc.ds:
(if
  (contans (application_name) "xbmc")
     (geometry 1180x720+49+49)
     (undecorate)
  )
)

There are many other options you can specify in Devil’s Pie. You can have any number of combinations based on single applications, or you can use a globalized configuration if you have a .ds file which excludes (if) statements.

Other Devil’s Pie Options

  • (center) - Center a window in your desktop
  • (focus) - Give a window focus upon initial draw
  • (below) - Open a window below other windows
  • (fullscreen) - Make a window fullscreen
  • (opacity x) - Set opacity to x (0 - 100)
  • (pin) - Pin a window to all workspaces
  • (set_workspace x) - Open window on workspace x
  • (maximize) - Maximize
  • (minimize) - Minimize
  • (debug) - Enable debugging

Leave a Reply

Your email address will not be published.