Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent deleting xdg ~/.config/user-dirs.dirs directories #16

Closed
trappedinspacetime opened this issue Dec 1, 2017 · 1 comment
Closed

Comments

@trappedinspacetime
Copy link

trappedinspacetime commented Dec 1, 2017

First of all, thank you for coding such a useful tool. It would be good if it had preemtive non-deletion mechanism for user space essential directories, such as

   XDG_DESKTOP_DIR="$HOME/Desktop"
   XDG_DOWNLOAD_DIR="$HOME/Downloads"
   XDG_TEMPLATES_DIR="$HOME/Templates"
   XDG_PUBLICSHARE_DIR="$HOME/Public"
   XDG_DOCUMENTS_DIR="$HOME/Documents"
   XDG_MUSIC_DIR="$HOME/Music"
   XDG_PICTURES_DIR="$HOME/Pictures"
   XDG_VIDEOS_DIR="$HOME/Videos"

We can check the path of those directories with

  xdg-user-dir DESKTOP
  xdg-user-dir DOWNLOAD
  xdg-user-dir TEMPLATES
  xdg-user-dir  PUBLICSHARE    
kaelzhang added a commit that referenced this issue Dec 13, 2024
kaelzhang added a commit that referenced this issue Dec 13, 2024
kaelzhang added a commit that referenced this issue Dec 13, 2024
kaelzhang added a commit that referenced this issue Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants