Code Monkey home page Code Monkey logo

Comments (19)

konkor avatar konkor commented on July 28, 2024 65

I don't know what to say guys. I'm affected by war in Ukraine. Right now I'm at a temporary refugee camp in Lviv waiting for military recruiting agency's decision. My family is going to Canada. I don't have any laptop nearby to help you.

I wish that war will end soon and Russians will be punished for what they done and doing.

Slava Ukraine!

from cpufreq.

vulpesfoxnik avatar vulpesfoxnik commented on July 28, 2024 6

https://pastebin.com/bZXLh0x6 Best I can do at the moment.

from cpufreq.

els8791 avatar els8791 commented on July 28, 2024 5

https://pastebin.com/bZXLh0x6 Best I can do at the moment.

Hi
For me it works in Ubuntu 22.04, thanks @vulpesfoxnik
I had to change the metadata.json and add "42" + replace with your extension.js

[email protected]
Copy the downloaded Zip to ~/.local/share/gnome-shell/extensions and unpack the zip file.
Delete the zip file.

Log out / in from the running gnome session.
Open gnome extension manager and activate the cpufreq extension.
i hope it will help!

i wish @konkor all the best and STAY strong & save!

grafik

from cpufreq.

Eimis-dev avatar Eimis-dev commented on July 28, 2024 3

https://pastebin.com/bZXLh0x6 Best I can do at the moment.

Hi For me it works in Ubuntu 22.04, thanks @vulpesfoxnik I had to change the metadata.json and add "42" + replace with your extension.js

[email protected] Copy the downloaded Zip to ~/.local/share/gnome-shell/extensions and unpack the zip file. Delete the zip file.

Log out / in from the running gnome session. Open gnome extension manager and activate the cpufreq extension. i hope it will help!

i wish @konkor all the best and STAY strong & save!

grafik

Thank you! The extension does work on Ubuntu 22.04

from cpufreq.

milhauzindahauz avatar milhauzindahauz commented on July 28, 2024 3

https://pastebin.com/bZXLh0x6 Best I can do at the moment.

Hi For me it works in Ubuntu 22.04, thanks @vulpesfoxnik I had to change the metadata.json and add "42" + replace with your extension.js

[email protected] Copy the downloaded Zip to ~/.local/share/gnome-shell/extensions and unpack the zip file. Delete the zip file.

Log out / in from the running gnome session. Open gnome extension manager and activate the cpufreq extension. i hope it will help!

i wish @konkor all the best and STAY strong & save!

grafik

this didn't work for me on Fedora 36.

I made a built from #202 fix as follow in docs

./autogen.sh && make && make zip-file

Then I unzipped it and done the rest as follow in your instructions.

Thanks @hermes83 for the fix.

Cheers.

from cpufreq.

ni-ka avatar ni-ka commented on July 28, 2024 2

On arch / manjaro I used "yay --editmenu -S gnome-shell-extension-cpufreq-git" and replaced the url in the pkg file with https://github.com/hermes83/cpufreq.git.

Good luck @konkor !

from cpufreq.

pipes80-collab avatar pipes80-collab commented on July 28, 2024 1

good work hermes83, it's work with gnome 42 on arch linux.
good luck @konkor

from cpufreq.

ferstar avatar ferstar commented on July 28, 2024 1

https://pastebin.com/bZXLh0x6 Best I can do at the moment.

Hi For me it works in Ubuntu 22.04, thanks @vulpesfoxnik I had to change the metadata.json and add "42" + replace with your extension.js

[email protected] Copy the downloaded Zip to ~/.local/share/gnome-shell/extensions and unpack the zip file. Delete the zip file.

Log out / in from the running gnome session. Open gnome extension manager and activate the cpufreq extension. i hope it will help!

i wish @konkor all the best and STAY strong & save!

grafik

Gnome itself support auto reloading by press "ALT + F2" and input r then press "Enter", and logout is not necessary.

from cpufreq.

gilvbp avatar gilvbp commented on July 28, 2024

Geting this error: Object 0x3d1e2d6288f8 is not a subclass of GObject_Object, it's a Object

from cpufreq.

BloodyIron avatar BloodyIron commented on July 28, 2024

Is this going to get Gnome 42 support or what?

from cpufreq.

BloodyIron avatar BloodyIron commented on July 28, 2024

I don't know what to say guys. I'm affected by war in Ukraine. Right now I'm at a temporary refugee camp in Lviv waiting for military recruiting agency's decision. My family is going to Canada. I don't have any laptop nearby to help you.

I wish that war will end soon and Russians will be punished for what they done and doing.

Slava Ukraine!

Hey that's totally understandable! Stay strong! I hope you make it! <3

from cpufreq.

neclimdul avatar neclimdul commented on July 28, 2024

Every day I find another awesome Ukrainian open source developer that built something I use daily. In its own way I think that says a lot about the sort of people Ukrainians are.

I also hope you and your family stay safe.

from cpufreq.

vulpesfoxnik avatar vulpesfoxnik commented on July 28, 2024

Geting this error: Object 0x3d1e2d6288f8 is not a subclass of GObject_Object, it's a Object

It wounds like some class needs a GObject interfaced object instead of a pain Javascript object somewhere. Without the stack trace, knowing the line or function upset a a plain object is going to have to be trial and error.
I'm going to be looking into this, but first I need to get up and started to a suggested change. No promises.
I'm going to be using: https://gjs.guide/extensions/upgrading/gnome-shell-42.html#metadata-json

from cpufreq.

vulpesfoxnik avatar vulpesfoxnik commented on July 28, 2024

JS ERROR: Extension cpufreq@konkor: TypeError: Object 0x33c051127940 is not a subclass of GObject_Object, it's a Object
_construct@resource:///org/gnome/gjs/modules/script/_legacy.js:536:31
wrapper@resource:///org/gnome/gjs/modules/script/_legacy.js:83:27
newClass@resource:///org/gnome/gjs/modules/script/_legacy.js:115:21
Class@resource:///org/gnome/gjs/modules/script/_legacy.js:66:16
@/home/enforcer/.local/share/gnome-shell/extensions/cpufreq@konkor/extension.js:113:28
_callExtensionInit@resource:///org/gnome/shell/ui/extensionSystem.js:440:13
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:361:27
_loadExtensions/<@resource:///org/gnome/shell/ui/extensionSystem.js:620:18
collectFromDatadirs@resource:///org/gnome/shell/misc/fileUtils.js:27:28
_loadExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:595:19
_enableAllExtensions@resource:///org/gnome/shell/ui/extensionSystem.js:626:18
_sessionUpdated@resource:///org/gnome/shell/ui/extensionSystem.js:646:14
init@resource:///org/gnome/shell/ui/extensionSystem.js:56:14
_initializeUI@resource:///org/gnome/shell/ui/main.js:293:22
start@resource:///org/gnome/shell/ui/main.js:170:5
@resource:///org/gnome/shell/ui/init.js:6:17

Ok I found the call stack of the error.
The API for Lang.Class must have changed.

from cpufreq.

vulpesfoxnik avatar vulpesfoxnik commented on July 28, 2024

I found this post of anther extension having a similar issue and it's patches. I'm going to give it a shot:
https://gitlab.manjaro.org/applications/pamac/-/issues/1252

from cpufreq.

vulpesfoxnik avatar vulpesfoxnik commented on July 28, 2024

Right it looks like it just needed to converted to a proper ES6 class. I've fixed it but I'm not quire sure how to upload a patch to github.
I've got it working locally.

from cpufreq.

hworoshch avatar hworoshch commented on July 28, 2024

https://pastebin.com/bZXLh0x6 Best I can do at the moment.

I confirm it works on Gnome 42. Thank you very much! It is good that there are people who can find and fix the problem instead of winding snot on their fist.

from cpufreq.

koroki avatar koroki commented on July 28, 2024

I confirm it works correctly!

Super thanks to @vulpesfoxnik

Also, Stay strong @konkor !!!

from cpufreq.

els8791 avatar els8791 commented on July 28, 2024

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.