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
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
|
show 4 more comments
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
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
|
show 4 more comments
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
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
launcher icons sublime-text
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
|
show 4 more comments
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
|
show 4 more comments
2 Answers
2
active
oldest
votes
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.
add a comment |
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:
- Edit the
.desktopfile to use a full path to a specific file, though this breaks the sizing code mentioned earlier. - Change your icon theme using the
gnome-tweakstool found in thegnome-tweak-toolspackage so the vendor's packaged icons are used, instead of the theme's icons. - Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.
- 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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
add a comment |
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.
add a comment |
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.
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.
answered May 7 '18 at 17:54
smhgsmhg
1135
1135
add a comment |
add a comment |
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:
- Edit the
.desktopfile to use a full path to a specific file, though this breaks the sizing code mentioned earlier. - Change your icon theme using the
gnome-tweakstool found in thegnome-tweak-toolspackage so the vendor's packaged icons are used, instead of the theme's icons. - Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.
- 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.
add a comment |
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:
- Edit the
.desktopfile to use a full path to a specific file, though this breaks the sizing code mentioned earlier. - Change your icon theme using the
gnome-tweakstool found in thegnome-tweak-toolspackage so the vendor's packaged icons are used, instead of the theme's icons. - Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.
- 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.
add a comment |
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:
- Edit the
.desktopfile to use a full path to a specific file, though this breaks the sizing code mentioned earlier. - Change your icon theme using the
gnome-tweakstool found in thegnome-tweak-toolspackage so the vendor's packaged icons are used, instead of the theme's icons. - Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.
- 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.
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:
- Edit the
.desktopfile to use a full path to a specific file, though this breaks the sizing code mentioned earlier. - Change your icon theme using the
gnome-tweakstool found in thegnome-tweak-toolspackage so the vendor's packaged icons are used, instead of the theme's icons. - Edit the theme / delete the theme's Sublime Text icon files, though this will likely break if the theme is updated.
- 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.
answered 6 mins ago
banzaimonkeybanzaimonkey
1162
1162
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
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
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
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