Linux

Where Is the Devilspie2 Config Folder?

Devilspie2 Lua script dir with folder override flag.

Last updated

Devilspie2 reads every Lua script in one XDG folder. The dir auto-creates on first run and exits when empty. An optional main script joins the set.

Upstream README plus man pages agree. A folder flag redirects anywhere for testing. Keep the folder whole.

Where Devilspie2 stores this, by platform

Linux
~/.config/devilspie2

Every Lua script in one XDG folder, auto-created, exits when empty. Folder flag redirects. README plus man agree.

Frequently asked questions

How do I back up Devilspie2?

Copy the devilspie2 folder with the daemon stopped. Every Lua script travels together. Restoring means putting the folder back before launch.

How do I use a custom folder?

Pass a custom folder with the folder flag at launch. Default lives under XDG config and auto-creates. Empty defaults exit, so keep at least one script.

Notice an outdated path? Let us know.