MyNixOS website logo
Description

Place GUI applications into systemd scopes for systemd-oomd compatibility.

Automatically assign a dedicated systemd scope to the GUI applications launched in the same cgroup as the compositor. This could be helpful for implementing cgroup-based resource management and would be necessary when systemd-oomd is in use.

Limitations: The script is using i3ipc window:new event to detect application launches and would fail to detect background apps or special surfaces. Therefore it's recommended to supplement the script with use of systemd user services for such background apps.

Metadata

Version

0.4.0

License

Maintainers (1)

Executables (1)

  • bin/assign-cgroups.py

Platforms (21)

    Linux
Show all
  • aarch64-linux
  • armv5tel-linux
  • armv6l-linux
  • armv7a-linux
  • armv7l-linux
  • i686-linux
  • loongarch64-linux
  • m68k-linux
  • microblaze-linux
  • microblazeel-linux
  • mips-linux
  • mips64-linux
  • mips64el-linux
  • mipsel-linux
  • powerpc64-linux
  • powerpc64le-linux
  • riscv32-linux
  • riscv64-linux
  • s390-linux
  • s390x-linux
  • x86_64-linux