No description
Find a file
2024-11-08 13:13:30 -03:00
00-default world of tanks 2024-11-05 02:33:20 +03:00
00-cgroups.cgroups fixup! 2022-10-01 23:26:53 +02:00
00-types.types types: Adjust some rules 2024-05-10 13:57:39 +02:00
ananicy.conf 🚧 ananicy.conf: disable cgroup realtime workaround 2024-06-30 00:02:15 +04:00
LICENSE Create LICENSE 2023-09-29 08:08:51 +02:00
README.md Update README.md 2024-06-05 16:27:27 +03:00

Ananicy-cpp-rules for CachyOS

This is a ananicy-cpp-rules collection for ananicy-cpp maintained by the CachyOS team.

Ananicy-cpp & ananicy-cpp-rules

  • ananicy-cpp - daemon that automatically adjusts the nice levels of processes.
  • ananicy-cpp-rules - list of rules used to assign specific nice values to specific processes.

The nice value determines the priority of a process, with higher values indicating lower priority and making the process "nicer" to other processes. By default, on Linux workstations, the nice value is set to 0.

How to contribute

You can add your favorite games, apps, and more. Any help would be greatly appreciated!
For example, let's say you want to add a game.

  1. Go to 00-default
  2. Go to games
  3. Create a new file with the same name as your game, for example, gamename.rules

Examples of rules

The first example is simple. In the second example, it is different because some games generate multiple processes. In such cases, you need to add all the processes related to the game.

1. Example rule for Just Cause 2

# https://store.steampowered.com/app/8190/Just_Cause_2/
{ "name": "JustCause2.exe", "type": "Game" }

2. Example rules for The Outer Worlds

# The Outer Worlds https://store.steampowered.com/app/578650
{ "name": "Indiana-Win64-Shipping.exe", "type": "Game"}
{ "name": "TheOuterWorlds.exe", "type": "Game"}

3. Example rules for Portal 2 which is Linux native game

# https://store.steampowered.com/app/620/Portal_2/
{ "name": "portal2_linux", "type": "Game" }

How to find out proper process name?

Here is a list of tools

CLI

GUI

GameMode + ananicy-cpp = bad idea

GameMode and ananicy-cpp both adjust the nice levels of processes. However, combining both tools is not recommended, and we strongly advise against doing so.