Closed error23 closed 2 weeks ago
I have this issue as well. I am on Fedora Atomic Silverblue with Gnome 46.
Hello @error23 and @1amnotmad ,
There is a bug in stylesheet code, the next update will include the fix. For now, you can get the fix by running following command. It will replace local stylesheets.js with updated version from GitHub.
cd ~/.local/share/gnome-shell/extensions/openbar@neuromorph/; curl -LJO https://raw.githubusercontent.com/neuromorph/openbar/main/stylesheets.js; cd
After running this, you will need to logout and login again for the changes to take effect.
Note: You only need the above for this issue. But if you don't mind then you can download the entire code or git clone from the 'main' branch. There is at least one more fix there for another issue and I will be adding there if anything else pops up today and then upload it to Gnome Extensions for review and release.
Let me know how it goes.
Thanks!
Hey @neuromorph
I have the same issue, same as @error23 and @1amnotmad that's why im here. But i think there is an error in your answer. Instead of CURLing stylesheets.js, it should be stylesheet.css. Replacing .css file resolves the issue, but .js does not.
Hello @vrecek
Thanks for writing! The stylesheet css is dynamic and will be regenerated so without the updated 'js' you will face the same issue again. The key is to make sure you logout and login after replacing the 'js' file. If you did that and still facing the issue then most likely the stale faulty stylesheet prevented the extension from enabling. In that case, yes, you can replace Both files.
There is another simpler way as well - If you turn on 'Auto FG Color' under 'Bar Foreground' tab then it will fix the stylesheet and the error will go away. So css will not be problem anymore. However, you do still need to replace the 'js' so that the error does not occur when you disable 'Auto FG Color'.
@neuromorph
Yeah i replaced the javascript file first, and it did not work even after couple of logouts, so I decided to replace the css as well.
Thanks for answer
Arch, GNOME 46.2 on Wayland, in case someone's wondering
Thanks a lot @neuromorph
I cloned master branch just to have the latest version reimported my settings and it's fixed now :)
Thank you @neuromorph ! I grabbed main, and I'm back in business. Coffee incoming! Thanks.
Thank you guys for informing that the fix worked! It will be part of the next update coming soon.
@1amnotmad , Thanks much for the coffee! Truly appreciate your support for the project.
Cannot parse CSS for some raison since last update
All it's written in French is just the classical boilerplate to say hey extension is not working, you should consider disabling it until it starts working correctly again.
Then I have this Gio.IOErrorEnum exception that basically says me cannot parse stylesheet.css with errorcode 15
I tried to google it a bit but didn't found what does it means
Screen
Settings