Scroll to navigation

devilspie(1) General Commands Manual devilspie(1)

NAME

devilspie - perform actions on windows as they are created

SYNOPSIS

devilspie [OPTION]... configuration-files...

DESCRIPTION

devilspie is a program which can detect windows as they are created, and perform actions on them if they match as set of criteria.

The configuration files are a set of s-expressions. For documentation and examples, see /usr/share/doc/devilspie/.

Command-lines options:

Apply to all existing windows instead of just new windows.
Output debug information

ALLOWED SYMBOLS

In the input files, the following symbols are known by devilspie:

String equality, (is a b) means a is the same as b.
Substring, (contains haystack needle) means haystack contains needle.
Regexp matches, (matches str pattern) means the regexp pattern matches str.
Return the title of the current window (String).
Return the role (as determined by the WM_WINDOW_ROLE hint) of the current window (String).
Return the class of the current window (String).
Return the X11 window id of the current window (Integer).
Return the application name (as determined by libwnck) of the current window (String).
Returns the given property of the window, e.g. pass "_NET_WM_STATE" (String).
Returns the workspace a window is on (Integer).
Debugging function, outputs the current window's title, name, role and geometry (Returns TRUE).
Print args (without trailing 0 returns boolean).
Print args (with trailing 0 returns boolean).
Transform parameters into strings and concat them.
Transform the integer parameter into an unsigned hexadecimal string (with 0x prefix).
Set position + size (as tring) of current window (returns boolean).
Make the current window fullscreen (returns TRUE).
Focus the current window (returns TRUE).
Center position of current window (returns boolean).
Maximise the current window (returns TRUE).
Maximise vertically the current window (returns TRUE).
Maximise horizontally the current window (returns TRUE).
Un-maximise the current window (returns TRUE).
Minimise the current window (returns TRUE).
Un-minimise the current window (returns TRUE).
Shade ("roll up") the current window (returns TRUE).
Un-shade ("roll down") the current window (returns TRUE).
Close the current window (returns TRUE).
Pin the current window to all workspaces (returns TRUE).
Unpin the current window from all workspaces (returns TRUE).
Make the current window stick to all viewports (returns TRUE).
Unstick the window from viewports (returns TRUE).
Move the window to a specific workspace number, counting from 1 (returns boolean).
Move the window to a specific viewport number, counting from 1 (returns boolean).
Remove the current window from the window list (returns TRUE).
Remove the current window from the pager (returns TRUE).
Set the current window to be above all normal windows (returns TRUE).
Set the current window to be below all normal windows (returns TRUE).
Add the window manager decorations to the current window (returns boolean).
Remove the window manager decorations from the current window (returns boolean).
Set the window type of the current window (returns boolean). Accepted values are: normal, dialog, menu, toolbar, splashscreen, utility, dock, desktop.
Change the opacity level (as integer in 0..100) of the current window (returns boolean).
Execute a command in the background (returns boolean). Command is given as a single string, or as a series of strings (similar to execl).
Execute a command in the foreground (returns command output as string, or FALSE on error). Command is given as a single string, or as a series of strings (similar to execl).

BUGS

This manpage is almost useless, as it was thrown together on a train.

AUTHOR

This manual page was written by Ross Burton <ross@burtonini.com>.