cpufreq
cpufreq copied to clipboard
GNOME 41 compatibility
Thank you very much for this wonderful extension.
I want to ask you to add GNOME 41 compatibility to your extension.
Adding 41 to metadata.json seems to make the extension run. Is there any particular functionality which should be tested?
Adding 41 to metadata.json seems to make the extension run. Is there any particular functionality which should be tested?
Hi, I'm quite new to Linux and I've searched for where to find the file you mentioned but the plugin is not in my folder. I may be looking in the wrong place or something else? Could you give some details to execute this 'patch'. This extension is quite vital for my device. Allows me to stretch from 1h 30m all the way to 5h.
- Install the required dependencies
- Clone the repo
-
./autogen.sh
- Edit the metadata.json file to include "41" in shell-version
-
make
-
sudo make install
@GreenMan36
@idkwuu Thanks for the info but...
Sadly I still have the following error; The settings of extension cpufreq@konkor had an error:
Error: No property expand on GtkNotebook
Stack trace:
_init/Gtk.Widget.prototype._init@resource:///org/gnome/gjs/modules/core/overrides/Gtk.js:47:50
_init@/home/greenman36/.local/share/gnome-shell/extensions/cpufreq@konkor/prefs.js:127:25
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
_Base.prototype._construct@resource:///org/gnome/gjs/modules/script/_legacy.js:19:10
newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:115:21
buildPrefsWidget@/home/greenman36/.local/share/gnome-shell/extensions/cpufreq@konkor/prefs.js:518:18
_init@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:219:40
OpenExtensionPrefsAsync/<@resource:///org/gnome/Shell/Extensions/js/extensionsService.js:128:33
asyncCallback@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:115:22
run@resource:///org/gnome/Shell/Extensions/js/dbusService.js:177:20
main@resource:///org/gnome/Shell/Extensions/js/main.js:19:13
run@resource:///org/gnome/gjs/modules/script/package.js:206:19
start@resource:///org/gnome/gjs/modules/script/package.js:190:8
@/usr/share/gnome-shell/org.gnome.Shell.Extensions:1:17
@GreenMan36 Honestly, I have no idea what could be causing it. I've compiled the extension both on Arch and Fedora 35 (both on GNOME 41) and has worked just fine. Btw, what distro are you using?
@idkwuu I use Arch btw.
Latest update and everything. Used archfi to install default kernel, Gnome, etc. Shouldn't be a wierd config.
But I'll take a look around and see if I can manually do some stuff to make it work. Gonna try a fresh extentions install first.
* [Install the required dependencies](https://github.com/konkor/cpufreq/blob/master/INSTALL.md#building-dependencies) * Clone the repo * `./autogen.sh` * Edit the metadata.json file to include "41" in shell-version * `make` * `sudo make install`
Worked for me, thanks 👍
Edit: I did an uninstall first using https://github.com/konkor/cpufreq/blob/master/INSTALL.md#complete-uninstall-and-removing-of-stored-settings
Thanks allot @idkwuu I tried that, didn't work. No more error but its still not compatible and showed both settings and an empty window in Gnome Extentions.
I did manage to fix it;
Just manually edited ~/.local/share/gnome-shell/extensions/cpufreq@konkor/metadata.json
from bash with nano to include both "41" and "41.1" which is the one I'm on.
Seems to be working fine now without problems. Hope this helps anyone stumbling by.
@GreenMan36
I did manage to fix it; Just manually edited
~/.local/share/gnome-shell/extensions/cpufreq@konkor/metadata.json
from bash with nano to include both "41" and "41.1" which is the one I'm on.
Hmm, that's interesting. I just tried to recompile the extension under Arch with GNOME 41.1: I didn't have to add "41.1" (only 41) and according to this only the major version is required (41, not 41.1), but I'm glad it works anyway :)
@idkwuu yeah just didn't wanna take the guess, was in class 😅 Again, thanks!
@GreenMan36 Honestly, I have no idea what could be causing it. I've compiled the extension both on Arch and Fedora 35 (both on GNOME 41) and has worked just fine. Btw, what distro are you using?
Trying in Fedora 35 right now after installing dependencies and getting this errors:
[barraguesh@laptop cpufreq]$ make
make all-recursive
make[1]: Entering directory '/home/barraguesh/Downloads/cpufreq'
Making all in data
make[2]: Entering directory '/home/barraguesh/Downloads/cpufreq/data'
Making all in icons
make[3]: Entering directory '/home/barraguesh/Downloads/cpufreq/data/icons'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/barraguesh/Downloads/cpufreq/data/icons'
Making all in themes
make[3]: Entering directory '/home/barraguesh/Downloads/cpufreq/data/themes'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/barraguesh/Downloads/cpufreq/data/themes'
make[3]: Entering directory '/home/barraguesh/Downloads/cpufreq/data'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/barraguesh/Downloads/cpufreq/data'
make[2]: Leaving directory '/home/barraguesh/Downloads/cpufreq/data'
Making all in schemas
make[2]: Entering directory '/home/barraguesh/Downloads/cpufreq/schemas'
Makefile:497: *** missing separator. Stop.
make[2]: Leaving directory '/home/barraguesh/Downloads/cpufreq/schemas'
make[1]: *** [Makefile:655: all-recursive] Error 1
make[1]: Leaving directory '/home/barraguesh/Downloads/cpufreq'
make: *** [Makefile:396: all] Error 2
@Barraguesh I used to have that issue. After running autogen.sh
, try editing the Makefile
file in the schemas
folder and indenting the line 497 (the one that contains: @GSETTINGS_RULES@
)
495 .PRECIOUS: Makefile
496
497 @GSETTINGS_RULES@
498
499 # Tell versions [3.59,3.63) of GNU make to not export all variables.
@idkwuu Thanks! worked!!