Linux_Dynamic_Wallpapers icon indicating copy to clipboard operation
Linux_Dynamic_Wallpapers copied to clipboard

Add uninstaller

Open benjamin051000 opened this issue 2 years ago • 2 comments

It's difficult to individually remove each XML file in /usr/share/gnome-background-properties. Please include an ./uninstall.sh that removes these and the wallpapers automatically.

benjamin051000 avatar Nov 15 '22 22:11 benjamin051000

just remove the whole folder sudo rm -fr /usr/share/gnome-background-properties and sudo rm -fr /usr/share/backgrounds/Dynamic_Wallpapers

Pbg4444 avatar May 26 '23 22:05 Pbg4444

While sudo rm -rf /usr/share/backgrounds/Dynamic_Wallpapers should work, deleting /usr/share/gnome-background-properties appears to have the chance to be destructive to wallpapers not part of this project. On a live image of Fedora 38, you can see that this directory has xml files in it before Linux_Dynamic_Wallpapers is installed: Screenshot from 2023-05-27 08-09-45

Instead, an uninstaller would need to only delete what it had installed and nothing else. It honestly wouldn't be that difficult to accomplish. I also wonder if /usr/share/gnome-background-properties allows for subdirectories, which would make the process even simpler.

benjamin051000 avatar May 27 '23 12:05 benjamin051000