4

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!

15
  • 1
    Which documents?
    – Maythux
    Jul 4, 2015 at 8:37
  • Did you run any other commands?
    – Wilf
    Jul 4, 2015 at 8:48
  • @Maythux i mean all files in the Files folder..
    – sAizOu
    Jul 4, 2015 at 8:58
  • 1
    @sAizOu Please add the history result
    – Maythux
    Jul 4, 2015 at 9:20
  • 1
    i'm currently using another computer in an internet cafe.. i jst did a screenshot on my laptop and i'll post it.. @Wilf
    – sAizOu
    Jul 4, 2015 at 9:26

1 Answer 1

6

enter image description here

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'

Now how to solve it?

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"
14
  • doesn't work.. nothing changes.. T_T
    – sAizOu
    Jul 4, 2015 at 9:46
  • type cd ~ first
    – Maythux
    Jul 4, 2015 at 9:48
  • still the same does'nt work..
    – sAizOu
    Jul 4, 2015 at 9:50
  • Do your files appear in the output of 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...
    – Wilf
    Jul 4, 2015 at 9:51
  • 1
    @Maythux there are still no files in it..
    – sAizOu
    Jul 4, 2015 at 10:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .