You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An immutable distro (in my case fedora silverblue) does not allow writing in
Following solution as suggested by r/chrisawi on reddit sed -i 's|/usr|/usr/local|g' install.sh Dynamic_Wallpapers/*.xml xml/*.xml
such that the install script becomes
#!/bin/bash
if [[ -d /usr/local/share/backgrounds/Dynamic_Wallpapers ]]
then
sudo rm -r /usr/local/share/backgrounds/Dynamic_Wallpapers
echo "Cleaning up"
fi
echo "Installing wallpapers..."
sudo mkdir -p /usr/local/share/backgrounds/
sudo mkdir -p /usr/local/share/gnome-background-properties/
sudo cp -r $(pwd)/Dynamic_Wallpapers /usr/local/share/backgrounds/Dynamic_Wallpapers
sudo cp $(pwd)/xml/* /usr/local/share/gnome-background-properties/
echo "Wallpapers has been installed. Enjoy setting them as your desktop background!"
The text was updated successfully, but these errors were encountered:
basings
changed the title
Fedora Silverblue / mmutable distro disallows writing in usr path
Fedora Silverblue / immutable distro disallows writing in usr path
Oct 25, 2023
An immutable distro (in my case fedora silverblue) does not allow writing in
Following solution as suggested by r/chrisawi on reddit
sed -i 's|/usr|/usr/local|g' install.sh Dynamic_Wallpapers/*.xml xml/*.xml
such that the install script becomes
The text was updated successfully, but these errors were encountered: