Add Snap package deprecation notice
This commit is contained in:
parent
f0de797485
commit
5b01ce4d97
28
README.md
28
README.md
|
@ -81,8 +81,22 @@ Supported devices must have an Intel, AMD or ARM CPUs. This tool was developed t
|
|||
|
||||
## Installing auto-cpufreq
|
||||
|
||||
### auto-cpufreq-installer
|
||||
|
||||
Get source code, run installer and follow on screen instructions:
|
||||
|
||||
```
|
||||
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||
```
|
||||
#### Update using auto-cpufreq-installer
|
||||
|
||||
The feature is available from version *1.9.8*. For further information: [--update](#update---auto-cpufreq-update)
|
||||
|
||||
### Snap store
|
||||
|
||||
*Please note: due to [Snap package confinement limitations](https://forum.snapcraft.io/t/pkexec-not-found-python-gtk-gnome-app/36579) please consider installing auto-cpufreq using [auto-cpufreq-installer](#auto-cpufreq-installer)*
|
||||
|
||||
auto-cpufreq is available on the [snap store](https://snapcraft.io/auto-cpufreq), or can be installed using CLI:
|
||||
|
||||
```
|
||||
|
@ -94,20 +108,6 @@ sudo snap install auto-cpufreq
|
|||
|
||||
* Fedora users will [encounter following error](https://twitter.com/killyourfm/status/1291697985236144130) due to `cgroups v2` [being in development](https://github.com/snapcore/snapd/pull/7825). This problem can be resolved by either running `sudo snap run auto-cpufreq` after the snap installation or by using the [auto-cpufreq-installer](#auto-cpufreq-installer) which doesn't have this issue.
|
||||
|
||||
### auto-cpufreq-installer
|
||||
|
||||
Get source code, run installer and follow on screen instructions:
|
||||
|
||||
```
|
||||
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||
```
|
||||
### Update using auto-cpufreq-installer
|
||||
|
||||
The feature is available from version *1.9.8*. For further information: [--update](#update---auto-cpufreq-update)
|
||||
|
||||
In case you encounter any problems with `auto-cpufreq-installer`, please [submit a bug report](https://github.com/AdnanHodzic/auto-cpufreq/issues/new).
|
||||
|
||||
### AUR package (Arch/Manjaro Linux)
|
||||
|
||||
*AUR is currently unmaintained & has issues*! Until someone starts maintaining it, use the [auto-cpufreq-installer](#auto-cpufreq-installer) if you intend to have the latest changes as otherwise you'll run into errors, i.e: [#471](https://github.com/AdnanHodzic/auto-cpufreq/issues/471). However, if you still wish to use AUR then follow the [Troubleshooting](#aur) section for solved known issues.
|
||||
|
|
|
@ -60,7 +60,7 @@ class ToolWindow(Gtk.Window):
|
|||
|
||||
def snap(self):
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, halign=Gtk.Align.CENTER, valign=Gtk.Align.CENTER)
|
||||
# reference: https://forum.snapcraft.io/t/pkexec-not-found-python-gtk-gnome-app/36579/12
|
||||
# reference: https://forum.snapcraft.io/t/pkexec-not-found-python-gtk-gnome-app/36579
|
||||
label = Gtk.Label(label="GUI not available due to Snap package confinement limitations.\nPlease install auto-cpufreq using auto-cpufreq-installer\nVisit the GitHub repo for more info")
|
||||
label.set_justify(Gtk.Justification.CENTER)
|
||||
button = Gtk.LinkButton.new_with_label(
|
||||
|
|
|
@ -104,6 +104,9 @@ def gnome_power_detect_install():
|
|||
# notification on snap
|
||||
def gnome_power_detect_snap():
|
||||
print("\n----------------------------------- Warning -----------------------------------\n")
|
||||
print("Due to Snap package confinement limitations please consider installing auto-cpufreq using")
|
||||
print("auto-cpufreq-installer: https://github.com/AdnanHodzic/auto-cpufreq/#auto-cpufreq-installer")
|
||||
print("")
|
||||
print("Unable to detect state of GNOME Power Profiles daemon service!")
|
||||
print("This daemon might interfere with auto-cpufreq and should be disabled.")
|
||||
print("\nSteps to perform this action using auto-cpufreq: power_helper script:")
|
||||
|
|
Loading…
Reference in New Issue