I tried to reset my vlc configuration by using this commands in the terminal
vlc --reset-config
Then when i try to view the documents, downloads, music, pictures and videos folder all files were gone. Please help!
Here your problem command number 8:
rm ~/ .config/vlc.old
What did you do here?
When a space exists between a path the command consider it another option, what i mean in the aboce command you ask system to delete all files under your home ~/
and delete the folder .config/vlc.old
.
The correct command have to be like that:
rm ~/.config/vlc.old
For that it's better always to use quotes ' ' within path such as
rm '~/.config/vlc.old'
If you need the data was in your home then you should have some data recovery. Take a look on my answer :https://askubuntu.com/a/638497/150504
If you don't need that files and you just want your "well known" user directories like the desktop folder and the music folder, you can restore by loggin out and then login again. If this doesn't work then do this:
gedit ~/.config/user-dirs.dirs
Add those lines then save and logout then login:
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"
ls -a ~
,ls ~/.config/vlc/
or ls ~/.config/vlc.old
? The use of rm -rf ~/ .config/vlc.old
may mean this more of a data recovery issue...
history
result