regolith-linux / website

The public Regolith website.
Apache License 2.0
16 stars 50 forks source link

Document Lists destructive echo command. #143

Closed netyaroze closed 2 years ago

netyaroze commented 3 years ago

In the following document: https://regolith-linux.org/docs/howtos/configure-wallpaper/

The command: echo "gnome.wallpaper: /usr/share/backgrounds/warty-final-ubuntu.png" > ~/.config/regolith/Xresources

Uses > instead of >> - which is safer, given we can safely guess people will be copy-pasting sometimes. Anyone doing so will overwrite the config file if values are already configured in the file.

nsunderland1 commented 2 years ago

Agreed with this. I actually ran into this today. Glanced over the command quickly, didn't stop to think that it was > instead of >>, and overwrote my Xresources. Luckily I only had a couple of things set in there, but it could've been a lot worse.

kgilmer commented 2 years ago

Thanks, sorry it took me so long to fix this!