This is a ananicy-cpp-rules collection for ananicy-cpp maintained by the CachyOS team and the community.
- 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.
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:
- Go to 00-default
- Go to Games
- Navigate to the desired folder depending on:
- Game is meant to be ran under with Proton:
ẁine_proton- Open the corresponding file depending on the letter. - Provides a native version for Linux:
linux-native- Open the corresponding file depending on the letter.
- Game is meant to be ran under with Proton:
- Open the corresponding file depending on the letter.
- Follow the examples from below.
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.
# https://store.steampowered.com/app/8190/Just_Cause_2/
{ "name": "JustCause2.exe", "type": "Game" }
# https://store.steampowered.com/app/578650/The_Outer_Worlds/
{ "name": "Indiana-Win64-Shipping.exe", "type": "Game" }
{ "name": "TheOuterWorlds.exe", "type": "Game" }
# https://store.steampowered.com/app/620/Portal_2/
{ "name": "portal2_linux", "type": "Game" }
You can also contribute by opening an issue and providing information about the application
Make sure the app is not already in the repository before opening an issue.
Here is a list of tools
- System Monitor KDE Plasma or GNOME
Don't use absolute paths for the executables. Process name alone is enough.
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.