I recently moved one of my boxes from 18.04 to 20.04. With this change, I suddenly have nasty-looking icons all over my beautiful background image. They appear to be one for each file and directory in my $HOME.
The last time this happened, I was able to solve by either creating or deleting (I can't remember which) a directory "$HOME/Desktop". I've
tried both, and that no longer works.
What do I need to do to get rid of these icons now?
--
Michael F. Stemper
Galatians 3:28
I recently moved one of my boxes from 18.04 to 20.04. With this change, I suddenly have nasty-looking icons all over my beautiful background image. They appear to be one for each file and directory in my $HOME.
The last time this happened, I was able to solve by either creating or deleting (I can't remember which) a directory "$HOME/Desktop". I've
tried both, and that no longer works.
What do I need to do to get rid of these icons now?
Michael F. Stemper wrote:
I recently moved one of my boxes from 18.04 to 20.04. With this change, I
suddenly have nasty-looking icons all over my beautiful background image.
They appear to be one for each file and directory in my $HOME.
The last time this happened, I was able to solve by either creating or
deleting (I can't remember which) a directory "$HOME/Desktop". I've
tried both, and that no longer works.
What do I need to do to get rid of these icons now?
If I understand you now, are you saying that your desktop now shows you
$HOME directory and not $HOME/Desktop?
If so, check your file
~/.config/user-dirs.dir
It should look like this:
~$ 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/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
Maybe the "XDG_DESKTOP_DIR" is set to just "$HOME" and not "$HOME/Desktop"
On 18/07/2024 21.15, Jonathan N. Little wrote:
Michael F. Stemper wrote:
I recently moved one of my boxes from 18.04 to 20.04. With this change, I >>> suddenly have nasty-looking icons all over my beautiful background image. >>> They appear to be one for each file and directory in my $HOME.
The last time this happened, I was able to solve by either creating or
deleting (I can't remember which) a directory "$HOME/Desktop". I've
tried both, and that no longer works.
What do I need to do to get rid of these icons now?
If so, check your file
~/.config/user-dirs.dir
Actually, it's
~/.config/user-dirs.dirs
Maybe the "XDG_DESKTOP_DIR" is set to just "$HOME" and not "$HOME/Desktop"
That was indeed the case. I had to log out and log back in for it to take effect, but everything was copacetic after that. I'm going to try setting
it to a non-existent directory now, to see if it reduces two icons to one.
On 19/07/2024 16.01, Michael F. Stemper wrote:
On 18/07/2024 21.15, Jonathan N. Little wrote:
Michael F. Stemper wrote:
I recently moved one of my boxes from 18.04 to 20.04. With this
change, I
suddenly have nasty-looking icons all over my beautiful background
image.
They appear to be one for each file and directory in my $HOME.
The last time this happened, I was able to solve by either creating or >>>> deleting (I can't remember which) a directory "$HOME/Desktop". I've
tried both, and that no longer works.
What do I need to do to get rid of these icons now?
If so, check your file
~/.config/user-dirs.dir
Actually, it's
~/.config/user-dirs.dirs
Maybe the "XDG_DESKTOP_DIR" is set to just "$HOME" and not
"$HOME/Desktop"
That was indeed the case. I had to log out and log back in for it to take
effect, but everything was copacetic after that. I'm going to try setting
it to a non-existent directory now, to see if it reduces two icons to
one.
No joy. When I logged out and back in, something *edited the file* without
my permission, deleting the non-existent directory, so that I again had scores of icons splattered all over the background.
I probably should have tried it before impulsively posting my bright idea.
Michael F. Stemper wrote:
On 19/07/2024 16.01, Michael F. Stemper wrote:
On 18/07/2024 21.15, Jonathan N. Little wrote:
Maybe the "XDG_DESKTOP_DIR" is set to just "$HOME" and not
"$HOME/Desktop"
That was indeed the case. I had to log out and log back in for it to take >>> effect, but everything was copacetic after that. I'm going to try setting >>> it to a non-existent directory now, to see if it reduces two icons to
one.
No joy. When I logged out and back in, something *edited the file* without >> my permission, deleting the non-existent directory, so that I again had
scores of icons splattered all over the background.
I probably should have tried it before impulsively posting my bright idea. >>
The setting has to point to an existing directory else it will revert to profile's HOME.
What two icons were shown?
Trying to remember back to 20.04, but do you
have desktop icons enabled? On 22.04 you can right-click on desktop > customize > desktop settings and enable or disabled showing special
desktop icons: computer, home, trash, mounted drives, and network.
On 19/07/2024 19.37, Jonathan N. Little wrote:
What two icons were shown?
$HOME and Trash.
Trying to remember back to 20.04, but do you
have desktop icons enabled? On 22.04 you can right-click on desktop >
customize > desktop settings and enable or disabled showing special
desktop icons: computer, home, trash, mounted drives, and network.
That sounds like what I want, but I couldn't find anything like that.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,064 |
Nodes: | 10 (0 / 10) |
Uptime: | 148:25:25 |
Calls: | 13,691 |
Calls today: | 1 |
Files: | 186,936 |
D/L today: |
35 files (6,513K bytes) |
Messages: | 2,410,935 |