Why do all files and directories from my home directory appear in Desktop?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Suddenly I started seeing an icon for each file and directory from ~ in my Desktop.



The icons do nothing -- they do not work to open these items.



If I rename one of these odd Desktop icons, the item in ~ is renamed as well. Likewise if I delete the icon.



Also, ls or Nautulus on the Desktop directory correctly shows an empty listing.



How do I resolve this?



(Ubuntu 17.10)



Note that my ~/Desktop is actually a link to /data/Desktop



This, however, worked fine until two days ago and I don't believe that it is the cause.



~$ cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"






share|improve this question


















  • 1




    Possible duplicate of Why is my desktop the same as home folder?
    – muru
    May 9 at 8:02










  • What does: cat ~/.config/user-dirs.dirs show? If this awry an answer is here: askubuntu.com/a/737236/57576
    – andrew.46
    May 9 at 8:05










  • @andrew.46 I added that to the question. Does "$HOME/" indicate that the value is missing?
    – Joshua Fox
    May 9 at 8:30










  • @andrew.46 Thank you! Please give an answer so I can accept. My question is similar to the one you linked but the strange behavior of the icons perhaps means that it should be treated as non-duplicate.
    – Joshua Fox
    May 9 at 8:33










  • @muru Indeed, that is similar. But the icon behavior is a an interesting clue added here.
    – Joshua Fox
    May 9 at 8:35














up vote
1
down vote

favorite












Suddenly I started seeing an icon for each file and directory from ~ in my Desktop.



The icons do nothing -- they do not work to open these items.



If I rename one of these odd Desktop icons, the item in ~ is renamed as well. Likewise if I delete the icon.



Also, ls or Nautulus on the Desktop directory correctly shows an empty listing.



How do I resolve this?



(Ubuntu 17.10)



Note that my ~/Desktop is actually a link to /data/Desktop



This, however, worked fine until two days ago and I don't believe that it is the cause.



~$ cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"






share|improve this question


















  • 1




    Possible duplicate of Why is my desktop the same as home folder?
    – muru
    May 9 at 8:02










  • What does: cat ~/.config/user-dirs.dirs show? If this awry an answer is here: askubuntu.com/a/737236/57576
    – andrew.46
    May 9 at 8:05










  • @andrew.46 I added that to the question. Does "$HOME/" indicate that the value is missing?
    – Joshua Fox
    May 9 at 8:30










  • @andrew.46 Thank you! Please give an answer so I can accept. My question is similar to the one you linked but the strange behavior of the icons perhaps means that it should be treated as non-duplicate.
    – Joshua Fox
    May 9 at 8:33










  • @muru Indeed, that is similar. But the icon behavior is a an interesting clue added here.
    – Joshua Fox
    May 9 at 8:35












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Suddenly I started seeing an icon for each file and directory from ~ in my Desktop.



The icons do nothing -- they do not work to open these items.



If I rename one of these odd Desktop icons, the item in ~ is renamed as well. Likewise if I delete the icon.



Also, ls or Nautulus on the Desktop directory correctly shows an empty listing.



How do I resolve this?



(Ubuntu 17.10)



Note that my ~/Desktop is actually a link to /data/Desktop



This, however, worked fine until two days ago and I don't believe that it is the cause.



~$ cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"






share|improve this question














Suddenly I started seeing an icon for each file and directory from ~ in my Desktop.



The icons do nothing -- they do not work to open these items.



If I rename one of these odd Desktop icons, the item in ~ is renamed as well. Likewise if I delete the icon.



Also, ls or Nautulus on the Desktop directory correctly shows an empty listing.



How do I resolve this?



(Ubuntu 17.10)



Note that my ~/Desktop is actually a link to /data/Desktop



This, however, worked fine until two days ago and I don't believe that it is the cause.



~$ cat ~/.config/user-dirs.dirs
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/"
XDG_DOWNLOAD_DIR="$HOME/"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"








share|improve this question













share|improve this question




share|improve this question








edited May 9 at 8:28

























asked May 9 at 7:55









Joshua Fox

61451325




61451325







  • 1




    Possible duplicate of Why is my desktop the same as home folder?
    – muru
    May 9 at 8:02










  • What does: cat ~/.config/user-dirs.dirs show? If this awry an answer is here: askubuntu.com/a/737236/57576
    – andrew.46
    May 9 at 8:05










  • @andrew.46 I added that to the question. Does "$HOME/" indicate that the value is missing?
    – Joshua Fox
    May 9 at 8:30










  • @andrew.46 Thank you! Please give an answer so I can accept. My question is similar to the one you linked but the strange behavior of the icons perhaps means that it should be treated as non-duplicate.
    – Joshua Fox
    May 9 at 8:33










  • @muru Indeed, that is similar. But the icon behavior is a an interesting clue added here.
    – Joshua Fox
    May 9 at 8:35












  • 1




    Possible duplicate of Why is my desktop the same as home folder?
    – muru
    May 9 at 8:02










  • What does: cat ~/.config/user-dirs.dirs show? If this awry an answer is here: askubuntu.com/a/737236/57576
    – andrew.46
    May 9 at 8:05










  • @andrew.46 I added that to the question. Does "$HOME/" indicate that the value is missing?
    – Joshua Fox
    May 9 at 8:30










  • @andrew.46 Thank you! Please give an answer so I can accept. My question is similar to the one you linked but the strange behavior of the icons perhaps means that it should be treated as non-duplicate.
    – Joshua Fox
    May 9 at 8:33










  • @muru Indeed, that is similar. But the icon behavior is a an interesting clue added here.
    – Joshua Fox
    May 9 at 8:35







1




1




Possible duplicate of Why is my desktop the same as home folder?
– muru
May 9 at 8:02




Possible duplicate of Why is my desktop the same as home folder?
– muru
May 9 at 8:02












What does: cat ~/.config/user-dirs.dirs show? If this awry an answer is here: askubuntu.com/a/737236/57576
– andrew.46
May 9 at 8:05




What does: cat ~/.config/user-dirs.dirs show? If this awry an answer is here: askubuntu.com/a/737236/57576
– andrew.46
May 9 at 8:05












@andrew.46 I added that to the question. Does "$HOME/" indicate that the value is missing?
– Joshua Fox
May 9 at 8:30




@andrew.46 I added that to the question. Does "$HOME/" indicate that the value is missing?
– Joshua Fox
May 9 at 8:30












@andrew.46 Thank you! Please give an answer so I can accept. My question is similar to the one you linked but the strange behavior of the icons perhaps means that it should be treated as non-duplicate.
– Joshua Fox
May 9 at 8:33




@andrew.46 Thank you! Please give an answer so I can accept. My question is similar to the one you linked but the strange behavior of the icons perhaps means that it should be treated as non-duplicate.
– Joshua Fox
May 9 at 8:33












@muru Indeed, that is similar. But the icon behavior is a an interesting clue added here.
– Joshua Fox
May 9 at 8:35




@muru Indeed, that is similar. But the icon behavior is a an interesting clue added here.
– Joshua Fox
May 9 at 8:35










1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Edit ~/.config/user-dirs.dirs. You may find that all values are reset to $HOME. Edit it to something sane like this. Restart your windowing session (or just reboot).



# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
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"





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033914%2fwhy-do-all-files-and-directories-from-my-home-directory-appear-in-desktop%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote



    accepted










    Edit ~/.config/user-dirs.dirs. You may find that all values are reset to $HOME. Edit it to something sane like this. Restart your windowing session (or just reboot).



    # This file is written by xdg-user-dirs-update
    # If you want to change or add directories, just edit the line you're
    # interested in. All local changes will be retained on the next run
    # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
    # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
    # absolute path. No other format is supported.
    #
    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"





    share|improve this answer
























      up vote
      0
      down vote



      accepted










      Edit ~/.config/user-dirs.dirs. You may find that all values are reset to $HOME. Edit it to something sane like this. Restart your windowing session (or just reboot).



      # This file is written by xdg-user-dirs-update
      # If you want to change or add directories, just edit the line you're
      # interested in. All local changes will be retained on the next run
      # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
      # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
      # absolute path. No other format is supported.
      #
      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"





      share|improve this answer






















        up vote
        0
        down vote



        accepted







        up vote
        0
        down vote



        accepted






        Edit ~/.config/user-dirs.dirs. You may find that all values are reset to $HOME. Edit it to something sane like this. Restart your windowing session (or just reboot).



        # This file is written by xdg-user-dirs-update
        # If you want to change or add directories, just edit the line you're
        # interested in. All local changes will be retained on the next run
        # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
        # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
        # absolute path. No other format is supported.
        #
        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"





        share|improve this answer












        Edit ~/.config/user-dirs.dirs. You may find that all values are reset to $HOME. Edit it to something sane like this. Restart your windowing session (or just reboot).



        # This file is written by xdg-user-dirs-update
        # If you want to change or add directories, just edit the line you're
        # interested in. All local changes will be retained on the next run
        # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
        # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
        # absolute path. No other format is supported.
        #
        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"






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 23 at 8:28









        Joshua Fox

        61451325




        61451325






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1033914%2fwhy-do-all-files-and-directories-from-my-home-directory-appear-in-desktop%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491