this post was submitted on 30 Jan 2026
8 points (100.0% liked)
CachyOS
406 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments

Short hint for the Desktop directory: /home//Desktop is language specific! On my german system for example it is /home//Schreibtisch
Therefore, you shouldn't use /home//Desktop or ~/Desktop in snippets/scripts, but "$(xdg-user-dir DESKTOP)".
Example:
touch "$(xdg-user-dir DESKTOP)/MyApp.desktop"Schreibtisch! ~/SCHREIBTISCH! angreifen "$(xdg-user-dirs SCHREIBTISCH)/MeinApp.schreibtisch" bitte! German is amazing.
NEIN! NEIN! NEIN! NEIN!