Devilspie

Differences between revisions 1 and 16 (spanning 15 versions)
Revision 1 as of 2005-12-17 22:15:41
Size: 4487
Editor: 82
Comment: Basic stuff, painfully lacking examples and actual description of usage.
Revision 16 as of 2006-06-19 16:06:39
Size: 53
Editor: 127
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Devilspie =

== What is Devilspie? ==
Devil's pie is an non-gui utility that lets you to make applications based on their names starts in specified workplaces, in specified sizes and placements, minimized or maximized and much more based on simple config files. The homepage can be found [http://www.burtonini.com/blog/computers/devilspie here]

== How can I get it? ==
There is precompiled deb package in Ubuntu repository which you of course can get via Synaptic or apt-get, but only the 0.10 version. However, Devil's pie was totally rewrited in version 0.13 so I recommend in order of future compatibility and easier configuration you compile the latest version yourself. It is a piece of cake since it is an lightweighted application without gui. In order to get the latest version (0.16 at the time of writing this document), follow these steps:

1. ''Download the latest source from the [http://www.burtonini.com/blog/computers/devilspie homepage]'' in your favourite download location.

2. ''Unpack it using the followin command:
{{{
tar -xvf dev<TabKey>.tar.gz
}}}''

3. ''Go to the directory where you unpacked the source.
{{{
cd devil<TabKey>
}}}''

4. ''Prepare for compiling, you should not need any additional options.
{{{
./configure
}}}
Hopefully you got something like:
{{{
configure: creating ./config.status
config.status: creating devilspie.spec
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating src/config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
}}}
If not, read the output and install the packages you need. They should be indicated as dev in Synaptic.''

5. ''If everything went fine, let us compile.
{{{
make
}}}''

6. ''If the compilation went fine and you did not get any errors (possible warnings should not probably concern you), it is time to install.
{{{
sudo make install
}}}

== How do I set it up? ==

 * Devil's pie is configured with s-expressions stored in files ending with ".ds".

 * Syntax is not difficult and is much more effective than it was in versions previous to 0.13, which used .xml files.

 * For details, see:
     * ''README, which should be placed in the directory where you unpacked the source (see above)''
     * ''Forum [http://www.ubuntuforums.org/showthread.php?t=98071 thread] with list of logical operations and many examples''
     * ''Another forum [http://ubuntuforums.org/showthread.php?t=75749 thread] which is mainly about the 0.10 version but begins with great HowTo which includes also some very useful stuff about later versions.''
     * ''Great non-Ubuntu wiki [http://wiki.foosel.net/linux/devilspie page] which can be a great reference.''

== How do I use it? ==
 * You can start Devil's pie with simple
{{{
devilspie
}}}
in gnome-terminal.

 * It will read all the s-expressions stored in those two directories. $HOME/.devilspie/ $SYSCONFDIR/devilspie which should be /home/<YourUserName>/.devilspie and /etc/devilspie - the former will apply just when you start devilspie, the latter will apply for all users.

 * You can use several options:
     * ''-d or --debug for debbuging purposes, when run in terminal, it will print some useful information''
     * ''-a or --apply-to-existing should apply DEvil's pie also to existing windows. However, it seems that it applyes regardless this option.''
     * ''<file.ds> or <file1.ds> <file2.ds> etc will explicitly specify which config files should be used.

 * However, after setting it up, you will probably want to run it on start up, so that every window you open will open the way you want it. For further info as to how to do that, read[https://wiki.ubuntu.com/AddingProgramToSessionStartup this] nice wiki page.

== How other people use it? ==
Feel free to add you working config files with explanation.

== How can I improve this wiki page? ==
Simply add any useful stuff! Especially the section about setting up should be improved so that it more then just linking somewhere else, also some examples would be greatly appreciated. Aslo feel free to correct anything wrong.

 * Does anybody know how to make a list not italize first sentence of new item? If so, could you please correct it and then remove this note? Thanks.
----
CategoryDocumentation
#REFRESH 0 http://help.ubuntu.com/community/Devilspie

Devilspie (last edited 2008-08-06 16:15:19 by localhost)