• Icons on background

    From Michael F. Stemper@michael.stemper@gmail.com to alt.os.linux.ubuntu on Thu Jul 18 15:50:02 2024
    From Newsgroup: alt.os.linux.ubuntu

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From pinnerite@pinnerite@gmail.com to alt.os.linux.ubuntu on Thu Jul 18 22:54:31 2024
    From Newsgroup: alt.os.linux.ubuntu

    On Thu, 18 Jul 2024 15:50:02 -0500
    "Michael F. Stemper" <michael.stemper@gmail.com> 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?

    --
    Michael F. Stemper
    Galatians 3:28

    Firstly, the supplied icons are situated at /usr/share/icons.

    That folder has sub-folders with all the different styles that Mint have created.
    I suspect you have been plugged into one of those.

    While you are looking you will see a folder named "default".

    Over 20 years ago I had to wean myself and my staff off various versions of Windows.
    To make it easy for my staff I searched the Internet for icons that were virtually clones of those Windows icons with which we were all familar, augmented with home-made ones created over the years. These were all placed in a folder called "icons" in my home directory.

    Every time I update by making a clean install, I copy the contents of "icons" to that default directory and change the desktop icons to those of my choice.

    Right-click on the desktop icon, select "properties", click on the default icon and browse to "default" and select your preference.
    --
    Linux Mint 21.3 kernel version 5.15.0-112-generic Cinnamon 6.0.4
    AMD Ryzen 7 7700, Radeon RX 6600, 32GB DDR5, 1TB SSD, 2TB Barracuda
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jonathan N. Little@lws4art@gmail.com to alt.os.linux.ubuntu on Thu Jul 18 22:15:02 2024
    From Newsgroup: alt.os.linux.ubuntu

    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"
    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Michael F. Stemper@michael.stemper@gmail.com to alt.os.linux.ubuntu on Fri Jul 19 16:01:05 2024
    From Newsgroup: alt.os.linux.ubuntu

    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 I understand you now, are you saying that your desktop now shows you
    $HOME directory and not $HOME/Desktop?

    I'd rather that it not show me anything, but your suggestion was a big
    help -- there are now only two icons instead of 50+.

    If so, check your file

    ~/.config/user-dirs.dir

    Actually, it's
    ~/.config/user-dirs.dirs

    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"

    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.

    Thanks again,
    --
    Michael F. Stemper
    Galatians 3:28
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Michael F. Stemper@michael.stemper@gmail.com to alt.os.linux.ubuntu on Fri Jul 19 16:21:36 2024
    From Newsgroup: alt.os.linux.ubuntu

    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
    Always remember that you are unique. Just like everyone else.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jonathan N. Little@lws4art@gmail.com to alt.os.linux.ubuntu on Fri Jul 19 20:37:37 2024
    From Newsgroup: alt.os.linux.ubuntu

    Michael F. Stemper wrote:
    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.


    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.
    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Michael F. Stemper@michael.stemper@gmail.com to alt.os.linux.ubuntu on Sun Jul 21 14:45:55 2024
    From Newsgroup: alt.os.linux.ubuntu

    On 19/07/2024 19.37, Jonathan N. Little wrote:
    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.

    So I see.

    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.
    --
    Michael F. Stemper
    If it isn't running programs and it isn't fusing atoms, it's just bending space.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Jonathan N. Little@lws4art@gmail.com to alt.os.linux.ubuntu on Sun Jul 21 17:45:51 2024
    From Newsgroup: alt.os.linux.ubuntu

    Michael F. Stemper wrote:
    On 19/07/2024 19.37, Jonathan N. Little wrote:

    <SNIP>
    .

    What two icons were shown?

    $HOME and Trash.

    That is what I thought.


      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.


    I believe with 20.04 you needed to install a shell extension to provide
    access to that settings. "Desktop Icons NG (DING) Settings" see <https://ubuntushell.com/hide-home-folder-icon-on-ubuntu/>
    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO
    http://www.LittleWorksStudio.com
    --- Synchronet 3.20a-Linux NewsLink 1.114