https://github.com/impiaaa/frontpriority
Automatically prioritize the process of the active X window
https://github.com/impiaaa/frontpriority
desktop-utility performance x11
Last synced: 10 months ago
JSON representation
Automatically prioritize the process of the active X window
- Host: GitHub
- URL: https://github.com/impiaaa/frontpriority
- Owner: impiaaa
- License: mit
- Created: 2019-06-09T04:55:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-09T22:12:56.000Z (about 7 years ago)
- Last Synced: 2025-07-24T02:21:54.754Z (11 months ago)
- Topics: desktop-utility, performance, x11
- Language: C
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# frontpriority
Automatically prioritize the process of the active X window
Doesn't need to be run as root as long as you follow the directions below
In order for this to work, your user needs to be able to elevate process
priority, which can be done by editing /etc/security/limits.conf. Here is
how to allow just your user to use "nice" levels lower than the default of 0:
username - nice -10
or the same, but a user group:
@groupname - nice -10
You can also do more advanced stuff. For example, set all users (except root)
to a low priority by default:
* - priority 1
except for yourself:
username - priority 0
and then allow your processes to go higher:
username - nice -10
Source: https://unix.stackexchange.com/q/8983
Should be run in the same X session as the one you'd like the adjustment to
take place in