auto-cpufreq 3.2.1

Automatic CPU speed & power optimizer for Linux
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/sh

# load python virtual environment
venv_dir=/opt/auto-cpufreq/venv
. "$venv_dir/bin/activate"
python_command="$venv_dir/bin/auto-cpufreq-gtk"

# if [ "$XDG_SESSION_TYPE" = "wayland" ] ; then
#     # necessary for running on wayland
#     xhost +SI:localuser:root
#     pkexec $python_command
#     xhost -SI:localuser:root
#     xhost
# else
#     pkexec $python_command
# fi

$python_command