Open remjg opened 11 years ago
Hi,
I agree, it'd be a shame not to be able to use it anymore in Fedora 19 (and others soon).
But I doubt the use of "sudo" would be allowed in an extension published on extensions.gnome.org. Already spawning commands like it's done in this extension is not "right". Quoting the gnome reviewer "I must say I don't like spawning arbitrary shell commands. But given that the alternative is direct sysfs frobbing..."
I don't have a proper solution yet. The ideal would be to have someone writing an equivalent to cpufreq-selector that's available through dbus.
I was able to get this extension working again by manually copying over some of the files in the F18 gnome-applets package to their designated targets. It is not elegant and is not really the proper way to do things but at least it is working now. The files that you will need to copy are as follows:
cpufreq-applet cpufreq-selector org.gnome.CPUFreqSelector.conf cpufreq-applet.schemas org.gnome.cpufreqselector.policy org.gnome.panel.applet.CPUFreqAppletFactory.service org.gnome.CPUFreqSelector.service
You will copy them to the proper locations by referring to the locations in the rpm package. The locations are shown when opening the package file using Archive Manager in Fedora 19. After you are done you should be able to use the cpu-freq extension as before, without installing the rest of the applets or applet files.
The drawback is that you will be asked to authenticate for each and every processor core to set. It can get tedious if you have more than two cores. But, a workaround is a workaround and a hack is a hack.
Maybe these files can be repackaged for F19 and later by someone as a support package for this extension so that they can be installed and removed as normally and as expected. Here is a screenshot of the extension working:
Hi,
It seems that in Fedora 19, it's not possible to install cpufreq-selector anymore. The solution on Fedora 18 was to install the package gnome-applets (which had a lot of dependencies) but it's not available in the upcoming Fedora release.
After a quick research, I found the following command to be useful if I want to change the CPU governor: sudo cpupower frequency-set -g powersave
I have used your extension since a long time and I would love to see it adapted to support Fedora 19. This is so useful on some laptops to avoid unexpected shutdowns! Thank you for all the work you have done so far,
Rémi.