Why do all files and directories from my home directory appear in Desktop?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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/"
nautilus .desktop
 |Â
show 2 more comments
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/"
nautilus .desktop
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
 |Â
show 2 more comments
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/"
nautilus .desktop
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/"
nautilus .desktop
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
 |Â
show 2 more comments
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
 |Â
show 2 more comments
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"
add a comment |Â
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"
add a comment |Â
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"
add a comment |Â
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"
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"
answered May 23 at 8:28
Joshua Fox
61451325
61451325
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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