dynamic-wallpaper
dynamic-wallpaper copied to clipboard
[Ubuntu 20.04] Wallpaper not change
Hello there, thanks for the amazing repository.
It's not working on my Ubuntu 20.04 here, and as required the output of $DESKTOP_SESSION
is
$ echo $DESKTOP_SESSION
ubuntu
In addition, my system runs on Linux 5.14.0-1042-oem
and has applied a custom gnome-look theme.
Thank you.
Since you have a custom gnome-look theme, that can be causing the issue, i think that the theme is dark based and uses the dark colors of gnome. The way to fix is:
Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here:
elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then
), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this:SETTER="gsettings set org.gnome.desktop.background picture-uri-dark"
, then I think it should be fixed
dont mind about the format of the post, im new on github
Since you have a custom gnome-look theme, that can be causing the issue, i think that the theme is dark based and uses the dark colors of gnome. The way to fix is:
Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here:
elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then
), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this:SETTER="gsettings set org.gnome.desktop.background picture-uri-dark"
, then I think it should be fixeddont mind about the format of the post, im new on github
Thanks for the quick reply. After the change I got the No such key
error:
What might be the cause of this issue?
what changes have you done, and where?
A qui, 28 de jul de 2022, 08:31, David Juanwu Lu @.***> escreveu:
Since you have a custom gnome-look theme, that can be causing the issue, i think that the theme is dark based and uses the dark colors of gnome. The way to fix is:
Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here: elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this: SETTER="gsettings set org.gnome.desktop.background picture-uri-dark", then I think it should be fixed
dont mind about the format of the post, im new on github
Thanks for the quick reply. After the change I got the No such key error:
[image: Screenshot from 2022-07-28 00-27-56] https://user-images.githubusercontent.com/45930715/181447116-438d3d46-0224-4bad-8c09-c7f2a721f425.png
What might be the cause of this issue?
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1197772854, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVECRH7PIG4N75JBPWPLVWIZOHANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.***>
what changes have you done, and where? A qui, 28 de jul de 2022, 08:31, David Juanwu Lu @.> escreveu: … Since you have a custom gnome-look theme, that can be causing the issue, i think that the theme is dark based and uses the dark colors of gnome. The way to fix is: Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here: elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this: SETTER="gsettings set org.gnome.desktop.background picture-uri-dark", then I think it should be fixed dont mind about the format of the post, im new on github Thanks for the quick reply. After the change I got the No such key error: [image: Screenshot from 2022-07-28 00-27-56] https://user-images.githubusercontent.com/45930715/181447116-438d3d46-0224-4bad-8c09-c7f2a721f425.png What might be the cause of this issue? — Reply to this email directly, view it on GitHub <#96 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVECRH7PIG4N75JBPWPLVWIZOHANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.>
I followed the steps you mentioned and changed SETTER="gsettings set org.gnome.desktop.background picture-uri"
into SETTER="gsettings set org.gnome.desktop.background picture-uri-dark"
in the dwall
file.
but where your file is located?
A seg, 1 de ago de 2022, 14:01, David Juanwu Lu @.***> escreveu:
what changes have you done, and where? A qui, 28 de jul de 2022, 08:31, David Juanwu Lu @.
> escreveu: … <#m_-3463350216040587489_m_8927661774865948911_> Since you have a custom gnome-look theme, that can be causing the issue, i think that the theme is dark based and uses the dark colors of gnome. The way to fix is: Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here: elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this: SETTER="gsettings set org.gnome.desktop.background picture-uri-dark", then I think it should be fixed dont mind about the format of the post, im new on github Thanks for the quick reply. After the change I got the No such key error: [image: Screenshot from 2022-07-28 00-27-56] https://user-images.githubusercontent.com/45930715/181447116-438d3d46-0224-4bad-8c09-c7f2a721f425.png https://user-images.githubusercontent.com/45930715/181447116-438d3d46-0224-4bad-8c09-c7f2a721f425.png What might be the cause of this issue? — Reply to this email directly, view it on GitHub <#96 (comment) https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1197772854>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVECRH7PIG4N75JBPWPLVWIZOHANCNFSM52D6IC3A https://github.com/notifications/unsubscribe-auth/ASMAVECRH7PIG4N75JBPWPLVWIZOHANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.>
I followed the steps you mentioned and changed SETTER="gsettings set org.gnome.desktop.background picture-uri" into SETTER="gsettings set org.gnome.desktop.background picture-uri-dark" in the dwall file.
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1201170644, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVEGY75LFDRRIOUF34CLVW7DA7ANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.***>
you need to change in usr/bin, locate it there and open it with an editor, and make the changes, then go to terminal and try to use dwall
oh nevermind, I totally forgot that I told you already the path, then i dont know how it can be fixed, maybe, try with gnome dark theme to change the wallpaper, if it works, you know the problem.
oh nevermind, I totally forgot that I told you already the path, then i dont know how it can be fixed, maybe, try with gnome dark theme to change the wallpaper, if it works, you know the problem.
Thanks for following up. I've been using the dark theme the whole time. FYI, I'm now testing on Ubuntu 22.04 LTS with similar settings and it doesn't work as well.
im still a very newbie in linux so i dont know what should i do more to fix that, i can try to install this on my laptop to see if it works (laptop is with pop os 22.04)
A sex, 5 de ago de 2022, 01:54, David Juanwu Lu @.***> escreveu:
oh nevermind, I totally forgot that I told you already the path, then i dont know how it can be fixed, maybe, try with gnome dark theme to change the wallpaper, if it works, you know the problem.
Thanks for following up. I've been using the dark theme the whole time. FYI, I'm now testing on Ubuntu 22.04 LTS with similar settings and it doesn't work as well.
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1205922902, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVEDQE6VZHNBEZNHDAATVXRQ4HANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.***>
it needs to be in the installed version, usr-bin
A seg, 1 de ago de 2022, 14:23, Oaoajs Oooo @.***> escreveu:
but where your file is located?
A seg, 1 de ago de 2022, 14:01, David Juanwu Lu @.***> escreveu:
what changes have you done, and where? A qui, 28 de jul de 2022, 08:31, David Juanwu Lu @.
> escreveu: … <#m_-8420881645952435525_m_-3463350216040587489_m_8927661774865948911_> Since you have a custom gnome-look theme, that can be causing the issue, i think that the theme is dark based and uses the dark colors of gnome. The way to fix is: Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here: elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this: SETTER="gsettings set org.gnome.desktop.background picture-uri-dark", then I think it should be fixed dont mind about the format of the post, im new on github Thanks for the quick reply. After the change I got the No such key error: [image: Screenshot from 2022-07-28 00-27-56] https://user-images.githubusercontent.com/45930715/181447116-438d3d46-0224-4bad-8c09-c7f2a721f425.png https://user-images.githubusercontent.com/45930715/181447116-438d3d46-0224-4bad-8c09-c7f2a721f425.png What might be the cause of this issue? — Reply to this email directly, view it on GitHub <#96 (comment) https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1197772854>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVECRH7PIG4N75JBPWPLVWIZOHANCNFSM52D6IC3A https://github.com/notifications/unsubscribe-auth/ASMAVECRH7PIG4N75JBPWPLVWIZOHANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.>
I followed the steps you mentioned and changed SETTER="gsettings set org.gnome.desktop.background picture-uri" into SETTER="gsettings set org.gnome.desktop.background picture-uri-dark" in the dwall file.
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1201170644, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVEGY75LFDRRIOUF34CLVW7DA7ANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.***>
Go to /usr/bin in the terminal and open as sudo the file 'dwall' (with a text editor for your choice). Then look for the part of the code where gnome is talked about, (here:
elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then
), then the line after this is you have a SETTER... statement, look for the last word in that line which is picture-uri and just change it to picure-uri-dark, looking like this:SETTER="gsettings set org.gnome.desktop.background picture-uri-dark"
, then I think it should be fixed
This did the trick for me.. it would be nice if this was mentioned somewhere in the setup guide. Would this be worth a PR?
I was using Dark theme in Ubuntu 20.04 and experienced this same issue. I changed the theme to Light theme and now I am able to change the background:
gsettings set org.gnome.desktop.background picture-uri file:///path/to/my/image.jpg
if you still want to use the dark theme just change the picture-uri in the line you mentioned to picture-uri-dark.
A qua, 19 de abr de 2023, 23:15, Joseph W @.***> escreveu:
I was using Dark theme and experienced this same issue. I changed the theme to Light theme and now I am able to change the background:
gsettings set org.gnome.desktop.background picture-uri file:///path/to/my/image.jpg
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1515452256, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVECEE2JSNTORLJV7ST3XCBPYVANCNFSM52D6IC3A . You are receiving this because you commented.Message ID: @.***>
@Roigo21, thank you so much! This is exactly what I needed.
You're welcome, its a simple fix that I think it could be fixed on the script to automatically detect the theme used. Since I dont use gnome anymore, I can't fix it totally, and the project is not mine.
A qui, 20 de abr de 2023, 20:42, Joseph W @.***> escreveu:
@Roigo21 https://github.com/Roigo21, thank you so much! This is exactly what I needed.
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1516856075, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVEB64TZYNLJV7ZMZ53TXCGGS7ANCNFSM52D6IC3A . You are receiving this because you were mentioned.Message ID: @.***>
I observed no ill effects from issuing both variations in succession, e.g.
gsettings set org.gnome.desktop.background picture-uri "file:///path/to/my/image.jpg"
gsettings set org.gnome.desktop.background picture-uri-dark "file:///path/to/my/image.jpg"
So no need to detect light or dark theme in this scenario.
Oh, thats a great way as well to skip that verification. Well done!
A sáb, 22 de abr de 2023, 17:39, Joseph W @.***> escreveu:
I observed no ill effects from issuing both commends in succession, e.g.
gsettings set org.gnome.desktop.background picture-uri "file:///$chosen" gsettings set org.gnome.desktop.background picture-uri-dark "file:///$chosen"
So no need to detect light or dark theme in this scenario.
— Reply to this email directly, view it on GitHub https://github.com/adi1090x/dynamic-wallpaper/issues/96#issuecomment-1518699760, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMAVEEPCZQQ6HCFSFL3CQLXCQCUPANCNFSM52D6IC3A . You are receiving this because you were mentioned.Message ID: @.***>
I carried out all these procedures and there was no change, but I realized that at the end of the session the dynamic wallpaper is "underneath" the normal wallpaper. Ubuntu 22.04 Gnome