6

KDE Plasma has an extremely useful set of features ("KWin Rules") that can automatically apply a number of characteristics (position, size, workspace, etc.) to windows according to a flexible set of rules (window title, WM_CLASS, etc.).

Is there anything like this for GNOME (as an extension) or something that is desktop-agnostic and works for X11? It is surely something that is extremely valuable for workflow optimization and so far I've found nothing of the kind.

The most common scenario is wanting to place new windows of a certain application (for example, Nautilus) always in the same position and size.

1 Answer 1

1

I believe you are looking for devilspie 2: https://github.com/dsalt/devilspie2 / https://www.nongnu.org/devilspie2/

Devilspie 2 is based on the excellent program Devil's Pie by Ross Burton, and takes a folder as indata, and checks that folder for Lua scripts. These scripts are run each time a window is opened or closed, and the rules in them are applied on the window.

It can easily support automatically placing, sizing, controlling, and other actions when windows are opened. It has many built-in lua functions to enable easy scripts for doing window management.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.