Code Monkey home page Code Monkey logo

Comments (13)

GreenMan36 avatar GreenMan36 commented on July 28, 2024 3

@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

from cpufreq.

 avatar commented on July 28, 2024 1

@GreenMan36

from cpufreq.

 avatar commented on July 28, 2024 1

@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.

from cpufreq.

belegdol avatar belegdol commented on July 28, 2024

Adding 41 to metadata.json seems to make the extension run. Is there any particular functionality which should be tested?

from cpufreq.

GreenMan36 avatar GreenMan36 commented on July 28, 2024

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.

from cpufreq.

 avatar commented on July 28, 2024

@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?

from cpufreq.

GreenMan36 avatar GreenMan36 commented on July 28, 2024

@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.

from cpufreq.

cookiEoverdose avatar cookiEoverdose commented on July 28, 2024
* [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

from cpufreq.

GreenMan36 avatar GreenMan36 commented on July 28, 2024

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.

from cpufreq.

 avatar commented on July 28, 2024

@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 :)

from cpufreq.

GreenMan36 avatar GreenMan36 commented on July 28, 2024

@idkwuu yeah just didn't wanna take the guess, was in class 😅
Again, thanks!

from cpufreq.

Barraguesh avatar Barraguesh commented on July 28, 2024

@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

from cpufreq.

Barraguesh avatar Barraguesh commented on July 28, 2024

@idkwuu Thanks! worked!!

from cpufreq.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.