Results 1 to 4 of 4

Thread: Desktop Launcher Icon won't change

  1. #1
    Join Date
    Feb 2015
    Beans
    1

    Question Desktop Launcher Icon won't change

    Firstly if I'm duplicating anything I apologise. I've tried searching and can't find anything so I don't think I am.

    I run UBUNTU 16.04 lts.
    I have a problem with the icon for one of my desktop launchers which refuses to change.
    I have edited the .desktop file and it won't change.
    I have gone into the properties and selected a totally different icon and it won't change.
    I have three background process which each automatically changes the icons for some of 15 desktop launchers and all work perfectly except for this one.
    I have deleted the .desktop file and re created it by copying and editing a working one but to no avail.
    I have rebooted the system several times (not just for this)

    It's starting to dive me mad. Can anyone advise what else I can do?

  2. #2
    Join Date
    Oct 2004
    Location
    33.4N -112.1W
    Beans
    2,328
    Distro
    Ubuntu Budgie

    Re: Desktop Launcher Icon won't change

    Desktop files in ~/.local/share/applications will override the ones of same name in /usr/share/applications.

    If that has no impact then post the contents of this particular .desktop file.
    /path/to/Truth

  3. #3
    Join Date
    Feb 2015
    Beans
    1

    Re: Desktop Launcher Icon won't change

    The files in question are in ~/Desktop

    Here is the one that is giving trouble

    #!/usr/bin/env xdg-open


    [Desktop Entry]
    Version=0.0
    Encoding=UTF-8
    Name=ONN7
    Type=Application
    Terminal=false
    Exec=/usr/local/bin/onn7
    Icon=/home/mark/Desktop/.onn_icons/ceh7566.png

    And here is one that works

    #!/usr/bin/env xdg-open


    [Desktop Entry]
    Version=0.0
    Encoding=UTF-8
    Name=ONN6
    Type=Application
    Terminal=false
    Exec=/usr/local/bin/onn6
    Icon=/home/mark/Desktop/.onn_icons/onn6222.png

  4. #4
    Join Date
    Aug 2013
    Beans
    3,902

    Re: Desktop Launcher Icon won't change

    Quote Originally Posted by mark199 View Post
    The files in question are in ~/Desktop

    Here is the one that is giving trouble

    #!/usr/bin/env xdg-open


    [Desktop Entry]
    Version=0.0
    Encoding=UTF-8
    Name=ONN7
    Type=Application
    Terminal=false
    Exec=/usr/local/bin/onn7
    Icon=/home/mark/Desktop/.onn_icons/ceh7566.png

    And here is one that works

    #!/usr/bin/env xdg-open


    [Desktop Entry]
    Version=0.0
    Encoding=UTF-8
    Name=ONN6
    Type=Application
    Terminal=false
    Exec=/usr/local/bin/onn6
    Icon=/home/mark/Desktop/.onn_icons/onn6222.png
    You icon (picture) is in your desktop, but where is the .desktop file you edited? It seems that you are editing a file in /usr/local/share/applications but there is another one in ~/.local/share/applications that overrides it. BTW it seems strange to put your icon in your desktop (even in a hidden folder) I would put it in ~/.local/share/icons just for consistency even though functionally it doesn't matter where you put it.

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
  •