saint-13 / Linux_Dynamic_Wallpapers

Dynamic Wallpapers for Linux
742 stars 61 forks source link

:bug: Default Wallpapers Removed #16

Closed ghost closed 2 years ago

ghost commented 2 years ago

The default wallpapers of the system get removed when installing Linux Dynamic Wallpapers after the latest changes in Easy_Install.sh and install.sh files.

saint-13 commented 2 years ago

i know. just their shortcuts are removed from : /usr/share/gnome-background-properties. i added this line to install.sh which removes everything from that folder.

if [[ -d /usr/share/gnome-background-properties ]] then sudo rm -r /usr/share/gnome-background-properties sudo mkdir /usr/share/gnome-background-properties fi

i did this because i find some problems in loading our wallpapers. the real image of your default wallpapers are still in /usr/share/backgrounds/

ghost commented 2 years ago

i know. just their shortcuts are removed from : /usr/share/gnome-background-properties. i added this line to install.sh which removes everything from that folder.

if [[ -d /usr/share/gnome-background-properties ]] then sudo rm -r /usr/share/gnome-background-properties sudo mkdir /usr/share/gnome-background-properties fi

i did this because i find some problems in loading our wallpapers. the real image of your default wallpapers are still in /usr/share/backgrounds/

Yeah I got it, I am thinking about a solution!

tsbarnes commented 2 years ago

You should definitely at least back up the files in /usr/share/gnome-background-properties first, I'm still trying to reinstall all my other wallpapers! What was the problem you were solving by doing that? I could help you fix it so you don't need to delete everything, if you want I'll fork the repository and fix it, then send you a pull request. 😃

saint-13 commented 2 years ago

I revert back to not delete gnome-background-properties folder. the problem was/is some of our wallpapers randomly does not show in gnome setting, the idea of deleting that folder was dumb, so my apology for doing that.