Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Missing My Documents Folder

  1. #1
    Join Date
    Dec 2009
    Beans
    6

    Missing My Documents Folder

    Yesterday, I downloaded one application but accidentally placed it to My Documents folder instead of C://. After I removed the application, I found out that My Documents folder was removed too. The Documents folder under the "Places" isn't there anymore. I tried to restart my laptop (cos I was hoping that when I come back, the folder will be there), but unfortunately, nothing happened.

    What should I do? I tried to create another Documents folder but I can't find Document config in the emblem -and the newly created "fake Document folder" doesn't come out in the "places" drop down list. Please help me.
    Last edited by shinji00; December 31st, 2009 at 10:33 PM.

  2. #2
    Join Date
    Feb 2009
    Beans
    62
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Missing My Documents Folder

    Hey, the easiest way to fix this will be to just put the new "fake" documents folder in the places list. You can add any folder on your system that you can access to the places folder.

    To do this, you'll want to access it via the file browser (Either got to places computer, places home, etc). Once this open, navigate to the folder you want to add.

    Once you're in the folder you want to add, click on the "Bookmarks" section of the toolbar at the top. Click "Add Bookmark". Then it will be visible in the "places" toolbar.

  3. #3
    Join Date
    Dec 2009
    Beans
    6

    Re: Missing My Documents Folder

    How about the emblem config of that fake folder? and it doesn't have correct icon too.

  4. #4
    Join Date
    Apr 2005
    Location
    London.ca
    Beans
    560

    Re: Missing My Documents Folder

    Hi, what you want to do is edit the file that lists the special XDG directories.
    Code:
    .config/user-dirs.dirs
    If you run gedit (or the text editor of your choice) you can open that file. If you're not familiar with unix file naming, the prepended period hides the directory, so you won't actually see it. Just type it in to the open dialog and it will work.

    In that file is a mapping of XDG directories and their associated actual location. When your Documents directory (or any other XDG directory) gets removed, they fall back to your home. There is no way to repoint it without editing this file.

    You may need to log out and back in.

  5. #5
    Join Date
    Dec 2009
    Beans
    6

    Re: Missing My Documents Folder

    Hey, the easiest way to fix this will be to just put the new "fake" documents folder in the places list. You can add any folder on your system that you can access to the places folder.

    To do this, you'll want to access it via the file browser (Either got to places computer, places home, etc). Once this open, navigate to the folder you want to add.

    Once you're in the folder you want to add, click on the "Bookmarks" section of the toolbar at the top. Click "Add Bookmark". Then it will be visible in the "places" toolbar.
    Thanks! I got that one! But how can I restore the original document icon?
    Last edited by shinji00; December 31st, 2009 at 10:39 PM.

  6. #6
    Join Date
    Dec 2009
    Beans
    6

    Re: Missing My Documents Folder

    Quote Originally Posted by Seq View Post
    Hi, what you want to do is edit the file that lists the special XDG directories.
    Code:
    .config/user-dirs.dirs
    If you run gedit (or the text editor of your choice) you can open that file. If you're not familiar with unix file naming, the prepended period hides the directory, so you won't actually see it. Just type it in to the open dialog and it will work.

    In that file is a mapping of XDG directories and their associated actual location. When your Documents directory (or any other XDG directory) gets removed, they fall back to your home. There is no way to repoint it without editing this file.

    You may need to log out and back in.
    How can I do that? In terminal? I really have no idea what you're talking about since I just installed this Ubuntu yesterday. However, If I do that, will the default Document icon be restored?

  7. #7
    Join Date
    Apr 2005
    Location
    London.ca
    Beans
    560

    Re: Missing My Documents Folder

    Quote Originally Posted by shinji00 View Post
    How can I do that? In terminal? I really have no idea what you're talking about since I just installed this Ubuntu yesterday. However, If I do that, will the default Document icon be restored?
    Yes.

    From my earlier message:
    If you run gedit (or the text editor of your choice) you can open that file. If you're not familiar with unix file naming, the prepended period hides the directory, so you won't actually see it. Just type it in to the open dialog and it will work.
    gedit can be launched by clicking the Applications menu, going to Accessories, and selecting gedit. You can open a file by selecting "File" and "Open". In this dialog you can type ".config/user-dirs.dirs" and click open.

    You will want to change the line for XDG_DOCUMENTS_DIR to reflect your new Documents directory. If you called it "Documents", then you would change that line to look like this:
    Code:
    XDG_DOCUMENTS_DIR="$HOME/Documents"

  8. #8
    Join Date
    Dec 2009
    Beans
    6

    Re: Missing My Documents Folder

    Oooooops! I lost you in this part:

    You can open a file by selecting "File" and "Open". In this dialog you can type ".config/user-dirs.dirs" and click open.
    I think there's no way to type in that code in this dialogue box..




    EDIT:
    Oh! and yeah! I also tried to type the code in search (in this dialogue box), but nothing happened.
    Last edited by shinji00; December 31st, 2009 at 11:29 PM.

  9. #9
    Join Date
    Apr 2005
    Location
    London.ca
    Beans
    560

    Re: Missing My Documents Folder

    Quote Originally Posted by shinji00 View Post
    Oooooops! I lost you in this part:



    I think there's no way to type in that code in this dialogue box..

    Whoops

    Click that pencil in the top-left corner. The text field you need to type in is hidden by default. After clicking the pencil, the text field will appear.

    Also, that setting is saved for next time you open files. Since it was visible for me, I neglected to mention it. Sorry.

  10. #10
    Join Date
    Apr 2005
    Location
    London.ca
    Beans
    560

    Re: Missing My Documents Folder

    Also some handy Gnome file-management shortcuts.

    CTRL+L shows and hides that box. It does the same thing in the regular file manager.

    CTRL+H shows hidden files and folders (like the .config folder we're looking for). It does this in the file manager as well. This setting is remembered, and it clutters up your dialog with dozens of directories you don't need to see typically, which is why I didn't suggest it initially.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •