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
Linux improvements #7
Comments
I have added support for cinnamon and created a pull request |
I think this addition might have broken the wallpaper changes for the normal gnome desktop. Since both share I figured this out while i investigated why your module doesn't work on my Ubuntu MATE image for the Raspberry Pi. In that case But i'm a little bit out of practice with Linux, so i'm not sure, if i did something wrong. |
@kernelkiller it might be better to try both gsettings and gconftool-2 in a sequence if one changes the wallpaper we might stop without executing the next |
@Rafi993 I think one problem in my distribution is, that i have settings within the org.gnome and org.mate namespace. So i get the same file on GET that i've set, but the wallpaper didn't change. I've tested the three commands again that are available within my system, and only those two show an effect:
The first one works perfect, the second one only works for one session, but falls back to the initial wallpaper after a restart. In conclusion the dconf rule has to be on top of the appsList for my distribution, the get changing wallpapers. But as i already mentioned, the system to determine the right command for the current environment doesn't work so well. Adding your cinnemon rule to the appsList has overridden the gsettings rule for distributions that keep their wallpaper file within org.gnome.desktop.background. Currently it's not possible to provide different settings paths for one command. Today i spend some time to find a proper solution to fix this, but i didn't succeed. My approach was to execute gsettings list-keys org.mate.background dconf list /org/mate/desktop/background/ The idea was to override the default rule for a config tool at the first successful lookup. But i've had issues to combine my code with the existing promises. Maybe a simple childProcess.execSync would solve the problem, but currently i ran out of time to take further investigations. |
Stumbled upon https://github.com/reujab/wallpaper/blob/master/linux.go Maybe there's something there we could borrow. |
@Rafi993 I'm using wallpaper on my Ubuntu 16.04, which uses gnome. I run the script and errors were thrown telling me I don't have |
@SevenOutman see my PR #17, it fixes that issue. Psstif you need a quick fix, try using my fork for now... until the PR is merged 😄 |
Hi, I encounter another problems. Like you said previously there is so many software to manage the background. For example in my case, I use i3 as window manager, nitrogen to manage my background and gsettings to manage GTk+. In this version of wallpaper when gsettings is detected the other manager or omitted. I think it is an error not just for my case. |
Is anyone else having trouble getting this to work with Ubuntu 18.04? I'm on regular ol' Gnome Shell + Wayland and |
@xd1936 Can you try my changes at #36 and see if that fixes it? I have the same setup and it seemed to me like the detection command had a small typo. |
Closing because of #42 |
The text was updated successfully, but these errors were encountered: