How to update Sublime Text 3 icon in Ubuntu?How can I edit/create new launcher items in Unity by...

Can I cast a spell through the Invoke Duplicity clone while inside a Forcecage?

Why is my Contribution Detail Report (native CiviCRM Core report) not accurate?

Lock enemy's y-axis when using Vector3.MoveTowards to follow the player

Make me a metasequence

Reason why dimensional travelling would be restricted

Create chunks from an array

Where is this quote about overcoming the impossible said in "Interstellar"?

How to kill a localhost:8080

How does insurance birth control work?

I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?

How can I handle a player who pre-plans arguments about my rulings on RAW?

When to use mean vs median

Is divide-by-zero a security vulnerability?

Formatting a table to look nice

Are small insurances worth it

Can I solder 12/2 Romex to extend wire 5 ft?

Every subset equal to original set?

What is the minimum amount of skill points per HD?

Can we carry rice to Japan?

If nine coins are tossed, what is the probability that the number of heads is even?

Meaning of word ягоза

It doesn't matter the side you see it

Is there a limit on the maximum number of future jobs queued in an org?

What is better: yes / no radio, or simple checkbox?



How to update Sublime Text 3 icon in Ubuntu?


How can I edit/create new launcher items in Unity by hand?Uninstalling MATLAB from laptop, how to get rid of launcher icon?Picasa icon disappeared in Unity LauncherWhere can I find a scanner icon?How can I determine why sublime-text 2 will no longer start for me?Dragging files onto Sublime (or any custom program) in UnitySublime Text launcher not workingSublime text 2 unity launcher opens sublime.desktopAdding a program to the launcher with a scriptHow to REALLY make Sublime Text Build 3143 the default text editor in Ubuntu 16.04.3CLI command being overridden? visual-studio-code is installed alongside sublime text but the CLI command `code` only opens sublime













2















I have just upgrade Sublime Text to the latest version on Ubuntu 16.04LTS.



I can see a new icon for the program in



usr/share/applications/



Yet this icon isn't used in my Ubuntu launcher dock.



I have looked at the shortcut in gedit and the icon is set to 'sublime-text'



I have also restarted since upgrading.



I know I can probably fix it by editting the icon path in the shortcut file but is there another way to do it.










share|improve this question























  • How did you install and upgrade it?

    – George Udosen
    Sep 15 '17 at 17:49













  • sudo apt-get upgrade

    – bigdaveygeorge
    Sep 15 '17 at 17:49











  • Look this and tell us if works.

    – Redbob
    Sep 15 '17 at 18:00













  • I have tried that and it is the same icon, when I search for the application using unity search the icon in that list is also the old icon

    – bigdaveygeorge
    Sep 15 '17 at 18:04











  • Please restart your system first

    – George Udosen
    Sep 15 '17 at 18:05
















2















I have just upgrade Sublime Text to the latest version on Ubuntu 16.04LTS.



I can see a new icon for the program in



usr/share/applications/



Yet this icon isn't used in my Ubuntu launcher dock.



I have looked at the shortcut in gedit and the icon is set to 'sublime-text'



I have also restarted since upgrading.



I know I can probably fix it by editting the icon path in the shortcut file but is there another way to do it.










share|improve this question























  • How did you install and upgrade it?

    – George Udosen
    Sep 15 '17 at 17:49













  • sudo apt-get upgrade

    – bigdaveygeorge
    Sep 15 '17 at 17:49











  • Look this and tell us if works.

    – Redbob
    Sep 15 '17 at 18:00













  • I have tried that and it is the same icon, when I search for the application using unity search the icon in that list is also the old icon

    – bigdaveygeorge
    Sep 15 '17 at 18:04











  • Please restart your system first

    – George Udosen
    Sep 15 '17 at 18:05














2












2








2








I have just upgrade Sublime Text to the latest version on Ubuntu 16.04LTS.



I can see a new icon for the program in



usr/share/applications/



Yet this icon isn't used in my Ubuntu launcher dock.



I have looked at the shortcut in gedit and the icon is set to 'sublime-text'



I have also restarted since upgrading.



I know I can probably fix it by editting the icon path in the shortcut file but is there another way to do it.










share|improve this question














I have just upgrade Sublime Text to the latest version on Ubuntu 16.04LTS.



I can see a new icon for the program in



usr/share/applications/



Yet this icon isn't used in my Ubuntu launcher dock.



I have looked at the shortcut in gedit and the icon is set to 'sublime-text'



I have also restarted since upgrading.



I know I can probably fix it by editting the icon path in the shortcut file but is there another way to do it.







launcher icons sublime-text






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Sep 15 '17 at 17:44









bigdaveygeorgebigdaveygeorge

1961210




1961210













  • How did you install and upgrade it?

    – George Udosen
    Sep 15 '17 at 17:49













  • sudo apt-get upgrade

    – bigdaveygeorge
    Sep 15 '17 at 17:49











  • Look this and tell us if works.

    – Redbob
    Sep 15 '17 at 18:00













  • I have tried that and it is the same icon, when I search for the application using unity search the icon in that list is also the old icon

    – bigdaveygeorge
    Sep 15 '17 at 18:04











  • Please restart your system first

    – George Udosen
    Sep 15 '17 at 18:05



















  • How did you install and upgrade it?

    – George Udosen
    Sep 15 '17 at 17:49













  • sudo apt-get upgrade

    – bigdaveygeorge
    Sep 15 '17 at 17:49











  • Look this and tell us if works.

    – Redbob
    Sep 15 '17 at 18:00













  • I have tried that and it is the same icon, when I search for the application using unity search the icon in that list is also the old icon

    – bigdaveygeorge
    Sep 15 '17 at 18:04











  • Please restart your system first

    – George Udosen
    Sep 15 '17 at 18:05

















How did you install and upgrade it?

– George Udosen
Sep 15 '17 at 17:49







How did you install and upgrade it?

– George Udosen
Sep 15 '17 at 17:49















sudo apt-get upgrade

– bigdaveygeorge
Sep 15 '17 at 17:49





sudo apt-get upgrade

– bigdaveygeorge
Sep 15 '17 at 17:49













Look this and tell us if works.

– Redbob
Sep 15 '17 at 18:00







Look this and tell us if works.

– Redbob
Sep 15 '17 at 18:00















I have tried that and it is the same icon, when I search for the application using unity search the icon in that list is also the old icon

– bigdaveygeorge
Sep 15 '17 at 18:04





I have tried that and it is the same icon, when I search for the application using unity search the icon in that list is also the old icon

– bigdaveygeorge
Sep 15 '17 at 18:04













Please restart your system first

– George Udosen
Sep 15 '17 at 18:05





Please restart your system first

– George Udosen
Sep 15 '17 at 18:05










2 Answers
2






active

oldest

votes


















0














I had the same issue. It was caused by a local (custom) desktop icon config. I must have had a need for this in the past.



It was stored in ~/.local/share/applications/sublime_text.desktop (filename might be different for you). Renaming it to sublime_text.old-desktop made the new icon appear.






share|improve this answer































    0














    Themed Icons



    In Ubuntu Budgie, and possibly other Ubuntu flavors, Gnome uses an icon theme that includes replacement icons for Sublime Text, Firefox, Thunderbird, and other popular applications. These replacement icons are used instead of the icon packaged with the current version of Sublime Text (and other respective programs).



    As noted, /usr/share/applications/sublime_text.desktop refers to an icon named sublime-text. The path and file extension are filled in by Gnome, based on the theme and the size of the icon.



    Sizing



    If you use find you'll notice that there are mulitiple copies of the Sublime Text icon in different sizes. These are automatically selected by Gnome depending on your desktop resolution, DPI, and the size of the UI element that is using the icon (menu, dock, tray icons, etc.).



    $ find / -name sublime-text.png 2>/dev/null

    /usr/share/icons/hicolor/48x48/apps/sublime-text.png
    /usr/share/icons/hicolor/128x128/apps/sublime-text.png
    /usr/share/icons/hicolor/256x256/apps/sublime-text.png
    ...
    /usr/share/icons/Moka/48x48/apps/sublime-text.png
    /usr/share/icons/Moka/64x64/apps/sublime-text.png
    ...
    /opt/sublime_text/Icon/48x48/sublime-text.png
    /opt/sublime_text/Icon/16x16/sublime-text.png
    /opt/sublime_text/Icon/128x128/sublime-text.png
    /opt/sublime_text/Icon/256x256/sublime-text.png
    /opt/sublime_text/Icon/32x32/sublime-text.png


    Gnome Icon Themes



    On my system, which uses Ubuntu Budgie 18.04, the default Gnome theme is Pocillo, and the default icon set is based on Moka. You'll notice if you open the relevant files that Moka provides the "rounded square" icon style for Sublime Text, alongside similar replacement icons for many popular apps like Firefox and Thunderbird. This is where the errant icon is coming from.



    Changing the Icon



    There are a few ways to use the packaged icon:




    1. Edit the .desktop file to use a full path to a specific file, though this breaks the sizing code mentioned earlier.

    2. Change your icon theme using the gnome-tweaks tool found in the gnome-tweak-tools package so the vendor's packaged icons are used, instead of the theme's icons.

    3. Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.

    4. Convince upstream not to ship ugly icons for Sublime Text. This may already be done.


    The "correct" way to solve this is to change your icon theme. This uses the built-in features of Gnome, and should continue to work across OS upgrades, packge un/re/installs, etc. However, you can also apply a surgical change by editing the .desktop file or deleting the sublime text icons from your theme — just don't be surprised if those changes poof during a package update in the future.





    share























      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',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      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%2f956177%2fhow-to-update-sublime-text-3-icon-in-ubuntu%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I had the same issue. It was caused by a local (custom) desktop icon config. I must have had a need for this in the past.



      It was stored in ~/.local/share/applications/sublime_text.desktop (filename might be different for you). Renaming it to sublime_text.old-desktop made the new icon appear.






      share|improve this answer




























        0














        I had the same issue. It was caused by a local (custom) desktop icon config. I must have had a need for this in the past.



        It was stored in ~/.local/share/applications/sublime_text.desktop (filename might be different for you). Renaming it to sublime_text.old-desktop made the new icon appear.






        share|improve this answer


























          0












          0








          0







          I had the same issue. It was caused by a local (custom) desktop icon config. I must have had a need for this in the past.



          It was stored in ~/.local/share/applications/sublime_text.desktop (filename might be different for you). Renaming it to sublime_text.old-desktop made the new icon appear.






          share|improve this answer













          I had the same issue. It was caused by a local (custom) desktop icon config. I must have had a need for this in the past.



          It was stored in ~/.local/share/applications/sublime_text.desktop (filename might be different for you). Renaming it to sublime_text.old-desktop made the new icon appear.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 7 '18 at 17:54









          smhgsmhg

          1135




          1135

























              0














              Themed Icons



              In Ubuntu Budgie, and possibly other Ubuntu flavors, Gnome uses an icon theme that includes replacement icons for Sublime Text, Firefox, Thunderbird, and other popular applications. These replacement icons are used instead of the icon packaged with the current version of Sublime Text (and other respective programs).



              As noted, /usr/share/applications/sublime_text.desktop refers to an icon named sublime-text. The path and file extension are filled in by Gnome, based on the theme and the size of the icon.



              Sizing



              If you use find you'll notice that there are mulitiple copies of the Sublime Text icon in different sizes. These are automatically selected by Gnome depending on your desktop resolution, DPI, and the size of the UI element that is using the icon (menu, dock, tray icons, etc.).



              $ find / -name sublime-text.png 2>/dev/null

              /usr/share/icons/hicolor/48x48/apps/sublime-text.png
              /usr/share/icons/hicolor/128x128/apps/sublime-text.png
              /usr/share/icons/hicolor/256x256/apps/sublime-text.png
              ...
              /usr/share/icons/Moka/48x48/apps/sublime-text.png
              /usr/share/icons/Moka/64x64/apps/sublime-text.png
              ...
              /opt/sublime_text/Icon/48x48/sublime-text.png
              /opt/sublime_text/Icon/16x16/sublime-text.png
              /opt/sublime_text/Icon/128x128/sublime-text.png
              /opt/sublime_text/Icon/256x256/sublime-text.png
              /opt/sublime_text/Icon/32x32/sublime-text.png


              Gnome Icon Themes



              On my system, which uses Ubuntu Budgie 18.04, the default Gnome theme is Pocillo, and the default icon set is based on Moka. You'll notice if you open the relevant files that Moka provides the "rounded square" icon style for Sublime Text, alongside similar replacement icons for many popular apps like Firefox and Thunderbird. This is where the errant icon is coming from.



              Changing the Icon



              There are a few ways to use the packaged icon:




              1. Edit the .desktop file to use a full path to a specific file, though this breaks the sizing code mentioned earlier.

              2. Change your icon theme using the gnome-tweaks tool found in the gnome-tweak-tools package so the vendor's packaged icons are used, instead of the theme's icons.

              3. Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.

              4. Convince upstream not to ship ugly icons for Sublime Text. This may already be done.


              The "correct" way to solve this is to change your icon theme. This uses the built-in features of Gnome, and should continue to work across OS upgrades, packge un/re/installs, etc. However, you can also apply a surgical change by editing the .desktop file or deleting the sublime text icons from your theme — just don't be surprised if those changes poof during a package update in the future.





              share




























                0














                Themed Icons



                In Ubuntu Budgie, and possibly other Ubuntu flavors, Gnome uses an icon theme that includes replacement icons for Sublime Text, Firefox, Thunderbird, and other popular applications. These replacement icons are used instead of the icon packaged with the current version of Sublime Text (and other respective programs).



                As noted, /usr/share/applications/sublime_text.desktop refers to an icon named sublime-text. The path and file extension are filled in by Gnome, based on the theme and the size of the icon.



                Sizing



                If you use find you'll notice that there are mulitiple copies of the Sublime Text icon in different sizes. These are automatically selected by Gnome depending on your desktop resolution, DPI, and the size of the UI element that is using the icon (menu, dock, tray icons, etc.).



                $ find / -name sublime-text.png 2>/dev/null

                /usr/share/icons/hicolor/48x48/apps/sublime-text.png
                /usr/share/icons/hicolor/128x128/apps/sublime-text.png
                /usr/share/icons/hicolor/256x256/apps/sublime-text.png
                ...
                /usr/share/icons/Moka/48x48/apps/sublime-text.png
                /usr/share/icons/Moka/64x64/apps/sublime-text.png
                ...
                /opt/sublime_text/Icon/48x48/sublime-text.png
                /opt/sublime_text/Icon/16x16/sublime-text.png
                /opt/sublime_text/Icon/128x128/sublime-text.png
                /opt/sublime_text/Icon/256x256/sublime-text.png
                /opt/sublime_text/Icon/32x32/sublime-text.png


                Gnome Icon Themes



                On my system, which uses Ubuntu Budgie 18.04, the default Gnome theme is Pocillo, and the default icon set is based on Moka. You'll notice if you open the relevant files that Moka provides the "rounded square" icon style for Sublime Text, alongside similar replacement icons for many popular apps like Firefox and Thunderbird. This is where the errant icon is coming from.



                Changing the Icon



                There are a few ways to use the packaged icon:




                1. Edit the .desktop file to use a full path to a specific file, though this breaks the sizing code mentioned earlier.

                2. Change your icon theme using the gnome-tweaks tool found in the gnome-tweak-tools package so the vendor's packaged icons are used, instead of the theme's icons.

                3. Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.

                4. Convince upstream not to ship ugly icons for Sublime Text. This may already be done.


                The "correct" way to solve this is to change your icon theme. This uses the built-in features of Gnome, and should continue to work across OS upgrades, packge un/re/installs, etc. However, you can also apply a surgical change by editing the .desktop file or deleting the sublime text icons from your theme — just don't be surprised if those changes poof during a package update in the future.





                share


























                  0












                  0








                  0







                  Themed Icons



                  In Ubuntu Budgie, and possibly other Ubuntu flavors, Gnome uses an icon theme that includes replacement icons for Sublime Text, Firefox, Thunderbird, and other popular applications. These replacement icons are used instead of the icon packaged with the current version of Sublime Text (and other respective programs).



                  As noted, /usr/share/applications/sublime_text.desktop refers to an icon named sublime-text. The path and file extension are filled in by Gnome, based on the theme and the size of the icon.



                  Sizing



                  If you use find you'll notice that there are mulitiple copies of the Sublime Text icon in different sizes. These are automatically selected by Gnome depending on your desktop resolution, DPI, and the size of the UI element that is using the icon (menu, dock, tray icons, etc.).



                  $ find / -name sublime-text.png 2>/dev/null

                  /usr/share/icons/hicolor/48x48/apps/sublime-text.png
                  /usr/share/icons/hicolor/128x128/apps/sublime-text.png
                  /usr/share/icons/hicolor/256x256/apps/sublime-text.png
                  ...
                  /usr/share/icons/Moka/48x48/apps/sublime-text.png
                  /usr/share/icons/Moka/64x64/apps/sublime-text.png
                  ...
                  /opt/sublime_text/Icon/48x48/sublime-text.png
                  /opt/sublime_text/Icon/16x16/sublime-text.png
                  /opt/sublime_text/Icon/128x128/sublime-text.png
                  /opt/sublime_text/Icon/256x256/sublime-text.png
                  /opt/sublime_text/Icon/32x32/sublime-text.png


                  Gnome Icon Themes



                  On my system, which uses Ubuntu Budgie 18.04, the default Gnome theme is Pocillo, and the default icon set is based on Moka. You'll notice if you open the relevant files that Moka provides the "rounded square" icon style for Sublime Text, alongside similar replacement icons for many popular apps like Firefox and Thunderbird. This is where the errant icon is coming from.



                  Changing the Icon



                  There are a few ways to use the packaged icon:




                  1. Edit the .desktop file to use a full path to a specific file, though this breaks the sizing code mentioned earlier.

                  2. Change your icon theme using the gnome-tweaks tool found in the gnome-tweak-tools package so the vendor's packaged icons are used, instead of the theme's icons.

                  3. Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.

                  4. Convince upstream not to ship ugly icons for Sublime Text. This may already be done.


                  The "correct" way to solve this is to change your icon theme. This uses the built-in features of Gnome, and should continue to work across OS upgrades, packge un/re/installs, etc. However, you can also apply a surgical change by editing the .desktop file or deleting the sublime text icons from your theme — just don't be surprised if those changes poof during a package update in the future.





                  share













                  Themed Icons



                  In Ubuntu Budgie, and possibly other Ubuntu flavors, Gnome uses an icon theme that includes replacement icons for Sublime Text, Firefox, Thunderbird, and other popular applications. These replacement icons are used instead of the icon packaged with the current version of Sublime Text (and other respective programs).



                  As noted, /usr/share/applications/sublime_text.desktop refers to an icon named sublime-text. The path and file extension are filled in by Gnome, based on the theme and the size of the icon.



                  Sizing



                  If you use find you'll notice that there are mulitiple copies of the Sublime Text icon in different sizes. These are automatically selected by Gnome depending on your desktop resolution, DPI, and the size of the UI element that is using the icon (menu, dock, tray icons, etc.).



                  $ find / -name sublime-text.png 2>/dev/null

                  /usr/share/icons/hicolor/48x48/apps/sublime-text.png
                  /usr/share/icons/hicolor/128x128/apps/sublime-text.png
                  /usr/share/icons/hicolor/256x256/apps/sublime-text.png
                  ...
                  /usr/share/icons/Moka/48x48/apps/sublime-text.png
                  /usr/share/icons/Moka/64x64/apps/sublime-text.png
                  ...
                  /opt/sublime_text/Icon/48x48/sublime-text.png
                  /opt/sublime_text/Icon/16x16/sublime-text.png
                  /opt/sublime_text/Icon/128x128/sublime-text.png
                  /opt/sublime_text/Icon/256x256/sublime-text.png
                  /opt/sublime_text/Icon/32x32/sublime-text.png


                  Gnome Icon Themes



                  On my system, which uses Ubuntu Budgie 18.04, the default Gnome theme is Pocillo, and the default icon set is based on Moka. You'll notice if you open the relevant files that Moka provides the "rounded square" icon style for Sublime Text, alongside similar replacement icons for many popular apps like Firefox and Thunderbird. This is where the errant icon is coming from.



                  Changing the Icon



                  There are a few ways to use the packaged icon:




                  1. Edit the .desktop file to use a full path to a specific file, though this breaks the sizing code mentioned earlier.

                  2. Change your icon theme using the gnome-tweaks tool found in the gnome-tweak-tools package so the vendor's packaged icons are used, instead of the theme's icons.

                  3. Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.

                  4. Convince upstream not to ship ugly icons for Sublime Text. This may already be done.


                  The "correct" way to solve this is to change your icon theme. This uses the built-in features of Gnome, and should continue to work across OS upgrades, packge un/re/installs, etc. However, you can also apply a surgical change by editing the .desktop file or deleting the sublime text icons from your theme — just don't be surprised if those changes poof during a package update in the future.






                  share











                  share


                  share










                  answered 6 mins ago









                  banzaimonkeybanzaimonkey

                  1162




                  1162






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f956177%2fhow-to-update-sublime-text-3-icon-in-ubuntu%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Is there a lightweight tool to crop images quickly?Cropping Images using Command Line Tools OnlyHow to crop...

                      List of shipwrecks in 1808...

                      Unit packagekit.service is masked Announcing the arrival of Valued Associate #679: Cesar...