Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If you could add support for Solus that would be swell. #107

Closed
Kernel-Panic-Gaming opened this issue Sep 6, 2020 · 5 comments
Closed

Comments

@Kernel-Panic-Gaming
Copy link

Distribution: Solus
Release: 4.1
Codename: fortitude

@AdnanHodzic
Copy link
Owner

Can you tell me what's the problem you get after installing the snap, and what's the error you get during the installation of auto-cpufreq-installer?

@natri23
Copy link
Contributor

natri23 commented Sep 23, 2020

Solus snap version is 2.39.3 so snap is out.
I tried the installer:

$ - sudo ./auto-cpufreq-installer
Password:

-------------------------- auto-cpufreq installer -----------------------------

Welcome to auto-cpufreq tool installer.

Options:

[I]nstall
[R]emove
[Q]uit

Select a key: [i/r/q]: i


Didn't detect Debian or RedHat based distro.

To complete installation, you need to:
Install: python3, pip3 and inxi

Install necessary Python packages:
pip3 install psutil click distro power

Run following sequence of lines:


python3 setup.py install --record files.txt
mkdir -p /usr/local/share/auto-cpufreq/
cp -r scripts/ /usr/local/share/auto-cpufreq/


After which tool is installed, for full list of options run:
auto-cpufreq


Consider creating a feature request to add support for your distro:
https://github.com/AdnanHodzic/auto-cpufreq/issues/new

Make sure to include following information:

Distribution: Solus
Release: 4.1
Codename: fortitude


$ - python3 setup.py install --record files.txt
running install
running bdist_egg
running egg_info
error: [Errno 13] Permission denied

I can force-install it with:

sudo python3 setup.py install --record files.txt

After that I edited /usr/local/share/auto-cpufreq/scripts/auto-cpufreq.service and replaced

ExecStart=/usr/local/bin/auto-cpufreq --daemon

with

ExecStart=/usr/bin/auto-cpufreq --daemon

then it would work with --install

@AdnanHodzic
Copy link
Owner

AdnanHodzic commented Sep 23, 2020

@natri23 I would encourage you to create a PR request with changes to installer which work for you. If changes are accepted and merged with master I would gladly add you as contributor for upcoming release.

@natri23
Copy link
Contributor

natri23 commented Sep 24, 2020

#122 Added simple instruction lines for Solus. @AdnanHodzic Please make changes as you see fit.

@AdnanHodzic
Copy link
Owner

Support for Solus have been added as part of #122, changes are live as part of 1.3.3 release.

Closing this issue, if the problem persists please feel free to re-open it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants