-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working on RHEL8 #83
Comments
Hi, Can you please tell me what version of gnome-shell and the extension you're using? Just from the errors, it looks like you could be using a version of the plugin that doesn't support your version of gnome-shell, but I want to make sure. Thanks! |
Sorry about that.
I installed via the gnome-software. I've also encountered something a bit weird. The metadata.json says 'version: "22"', but the source code is the same as "version-32" available on Github. $ diff -u -r [email protected]/ ~/Downloads/desk-changer-version-32/[email protected]/
diff -u -r [email protected]/metadata.json /home/sdaniele3/Downloads/desk-changer-version-32/[email protected]/metadata.json
--- [email protected]/metadata.json 2021-08-17 23:29:34.000000000 -0400
+++ /home/sdaniele3/Downloads/desk-changer-version-32/[email protected]/metadata.json 2021-08-17 19:02:37.000000000 -0400
@@ -1,17 +1,16 @@
{
- "_generated": "Generated by SweetTooth, do not edit",
"description": "Simple wallpaper changer with multiple profile support. Integrates into the shell by providing it's own panel icon. The daemon is written using gjs and runs independently of the extension as a background process.",
"gettext-domain": "desk-changer",
"name": "Desk Changer",
"settings-schema": "org.gnome.shell.extensions.desk-changer",
"shell-version": [
- "3.34",
"3.32",
+ "3.34",
"3.36",
"3.38",
"40"
],
"url": "https://github.com/BigE/desk-changer/",
"uuid": "[email protected]",
- "version": 22
-}
\ No newline at end of file
+ "version": "32"
+}
Only in /home/sdaniele3/Downloads/desk-changer-version-32/[email protected]/resources: .gitkeep
Binary files [email protected]/resources/org.gnome.Shell.Extensions.DeskChanger.gresource and /home/sdaniele3/Downloads/desk-changer-version-32/[email protected]/resources/org.gnome.Shell.Extensions.DeskChanger.gresource differ
Binary files [email protected]/schemas/gschemas.compiled and /home/sdaniele3/Downloads/desk-changer-version-32/[email protected]/schemas/gschemas.compiled differ |
Unfortunately this is just because of the way the gnome-shell site packages things. For whatever reason.. it modifies my metadata.json. I should just sync my versions here with there to reduce confusion... but I digress. You're likely going to need to install a different version.. if you go to the extension site https://extensions.gnome.org/extension/1131/desk-changer/ you should be able to select your version of gnome-shell and get the correct plugin. It looks like the build there you're looking for is Thanks for reporting this issue! |
Unfortunately v17 doesn't work either. I'm able to successfully open the settings dialog (progress!) but attempting to enable the Daemon I get:
|
@Sxderp welp. I'll have to fix that soon :) I might work with you, if you're willing, to test some changes out to ensure everything with the next version works with your version of gnome-shell. It's looking like there might not currently be a version that does... so, that's obviously not good! Thanks for reporting all of this and digging in! I'll have updates soon. |
RHEL8 full support continues through 2024, so would be nice to work with that OS. I don't have any problems testing. |
@Sxderp If you're available for testing, I've updated the release/version-28 branch with a fix that will hopefully work. If we can get this fully working, I'll just push a fixed version to the extension store for the gnome-shell versions and disable everything else there. Thanks! |
The settings dialog no longer immediately crashes, but it doesn't do anything when I set "Status" to "On". I set the interval to 15 seconds and have not encountered a switch. Reopening the settings dialog shows "Status" as "Off".
I don't see any other error messages. |
Hi @Sxderp, Thanks for the info. It appears that version-28 tagged here is incompatible with 3.32, so I've backtracked again and opened release/version-27 to test. This one has the daemon written in Python, unfortunately, so you will need to make sure you have Python3 installed as well as the GIR libraries. This is also the last release of the extension before the ES6 rewrite, which is where the 3.32 support ends. If this works for you, I might be willing to put more effort to this release and possibly remove the reliance on Python, at the very least. Thanks again for the feedback!! |
Progress! The extension doesn't load, but I can get the daemon to run and change my background after a small patch. Gnome Tweaks reports "Error loading extension". "Looking Glass" displays an error message I can open the settings dialog and fiddle with it. Everything saves and works properly. After applying a small patch, I was able to get the daemon open and backgrounds are changing. RHEL8 does not have a --- desk-changer-daemon.py.orig 2021-09-20 14:12:48.218404520 -0400
+++ desk-changer-daemon.py 2021-09-20 14:12:51.738381606 -0400
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import os
import os.path |
Okay, knowing it works in this state makes me feel a bit better. I'll work to get the extension to a fully working state and then maybe retrofit the daemon so we're not at all reliant upon python. Thanks for testing this out!! |
This may have to do with the recent updates, I'm not sure if it has ever worked. I only just recently switched from RHEL7 to RHEL8.
--
Hopefully useful Information:
When opening the settings window I get the following error
I can also see the following error in "LookingGlass"
The text was updated successfully, but these errors were encountered: