Snap-installed app doesn't put icon into launcher
I'm running Kubuntu 18.04 on a reasonably fresh install. I've installed a few snap applications, but none of their icons will show up in my launcher.
I had a previous install of Kubuntu 18.04 that I upgraded from 17.10 and these same apps (also installed by snap) would show the icons.
I'm assuming it's something with how I'm installing/running the snap-based apps, but I'm not sure what to look at next.
% snap list
Name Version Rev Tracking Publisher Notes
core 16-2.36.3 6130 stable canonical✓ core
core18 18 536 stable canonical✓ base
slack 3.3.3 9 stable slack✓ classic
vscode 1.30.0-1544567151 72 stable snapcrafters classic
What's the next thing I should look into to troubleshoot?
Like I mentioned, I'm pretty new to Linux on the desktop. I tried symlinking /usr/share/applications/slack.desktop
to /snap/slack/9/usr/share/applications/slack.desktop
but that didn't seem to do anything
Here is what is in /snap/slack/9/usr/share/applications/slack.desktop
:
[Desktop Entry]
Name=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=/usr/bin/slack %U
Icon=/usr/share/pixmaps/slack.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;
Any advice on what to look into next? I'm not sure if it's a snap issue or a KDE/Plasma issue.
kubuntu launcher snap plasma-5
add a comment |
I'm running Kubuntu 18.04 on a reasonably fresh install. I've installed a few snap applications, but none of their icons will show up in my launcher.
I had a previous install of Kubuntu 18.04 that I upgraded from 17.10 and these same apps (also installed by snap) would show the icons.
I'm assuming it's something with how I'm installing/running the snap-based apps, but I'm not sure what to look at next.
% snap list
Name Version Rev Tracking Publisher Notes
core 16-2.36.3 6130 stable canonical✓ core
core18 18 536 stable canonical✓ base
slack 3.3.3 9 stable slack✓ classic
vscode 1.30.0-1544567151 72 stable snapcrafters classic
What's the next thing I should look into to troubleshoot?
Like I mentioned, I'm pretty new to Linux on the desktop. I tried symlinking /usr/share/applications/slack.desktop
to /snap/slack/9/usr/share/applications/slack.desktop
but that didn't seem to do anything
Here is what is in /snap/slack/9/usr/share/applications/slack.desktop
:
[Desktop Entry]
Name=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=/usr/bin/slack %U
Icon=/usr/share/pixmaps/slack.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;
Any advice on what to look into next? I'm not sure if it's a snap issue or a KDE/Plasma issue.
kubuntu launcher snap plasma-5
add a comment |
I'm running Kubuntu 18.04 on a reasonably fresh install. I've installed a few snap applications, but none of their icons will show up in my launcher.
I had a previous install of Kubuntu 18.04 that I upgraded from 17.10 and these same apps (also installed by snap) would show the icons.
I'm assuming it's something with how I'm installing/running the snap-based apps, but I'm not sure what to look at next.
% snap list
Name Version Rev Tracking Publisher Notes
core 16-2.36.3 6130 stable canonical✓ core
core18 18 536 stable canonical✓ base
slack 3.3.3 9 stable slack✓ classic
vscode 1.30.0-1544567151 72 stable snapcrafters classic
What's the next thing I should look into to troubleshoot?
Like I mentioned, I'm pretty new to Linux on the desktop. I tried symlinking /usr/share/applications/slack.desktop
to /snap/slack/9/usr/share/applications/slack.desktop
but that didn't seem to do anything
Here is what is in /snap/slack/9/usr/share/applications/slack.desktop
:
[Desktop Entry]
Name=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=/usr/bin/slack %U
Icon=/usr/share/pixmaps/slack.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;
Any advice on what to look into next? I'm not sure if it's a snap issue or a KDE/Plasma issue.
kubuntu launcher snap plasma-5
I'm running Kubuntu 18.04 on a reasonably fresh install. I've installed a few snap applications, but none of their icons will show up in my launcher.
I had a previous install of Kubuntu 18.04 that I upgraded from 17.10 and these same apps (also installed by snap) would show the icons.
I'm assuming it's something with how I'm installing/running the snap-based apps, but I'm not sure what to look at next.
% snap list
Name Version Rev Tracking Publisher Notes
core 16-2.36.3 6130 stable canonical✓ core
core18 18 536 stable canonical✓ base
slack 3.3.3 9 stable slack✓ classic
vscode 1.30.0-1544567151 72 stable snapcrafters classic
What's the next thing I should look into to troubleshoot?
Like I mentioned, I'm pretty new to Linux on the desktop. I tried symlinking /usr/share/applications/slack.desktop
to /snap/slack/9/usr/share/applications/slack.desktop
but that didn't seem to do anything
Here is what is in /snap/slack/9/usr/share/applications/slack.desktop
:
[Desktop Entry]
Name=Slack
Comment=Slack Desktop
GenericName=Slack Client for Linux
Exec=/usr/bin/slack %U
Icon=/usr/share/pixmaps/slack.png
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Network;InstantMessaging;
MimeType=x-scheme-handler/slack;
Any advice on what to look into next? I'm not sure if it's a snap issue or a KDE/Plasma issue.
kubuntu launcher snap plasma-5
kubuntu launcher snap plasma-5
edited Jan 5 at 21:27
pomsky
30.5k1193127
30.5k1193127
asked Jan 5 at 20:57
JT.JT.
1214
1214
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I found the answer. It's not Plasma/KDE or snap, but zsh. I'm not sure why this worked on my old setup as I was using zsh there as well without a workaround.
This answer solved my problem: https://askubuntu.com/a/989485/754993.
To quote:
If you are using zsh, the snap binary and desktop directories will not automatically be added to your environment variables.
The step I did specifically was to add emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'
to the bottom of my /etc/zsh/zprofile
file.
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%2f1107266%2fsnap-installed-app-doesnt-put-icon-into-launcher%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I found the answer. It's not Plasma/KDE or snap, but zsh. I'm not sure why this worked on my old setup as I was using zsh there as well without a workaround.
This answer solved my problem: https://askubuntu.com/a/989485/754993.
To quote:
If you are using zsh, the snap binary and desktop directories will not automatically be added to your environment variables.
The step I did specifically was to add emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'
to the bottom of my /etc/zsh/zprofile
file.
add a comment |
I found the answer. It's not Plasma/KDE or snap, but zsh. I'm not sure why this worked on my old setup as I was using zsh there as well without a workaround.
This answer solved my problem: https://askubuntu.com/a/989485/754993.
To quote:
If you are using zsh, the snap binary and desktop directories will not automatically be added to your environment variables.
The step I did specifically was to add emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'
to the bottom of my /etc/zsh/zprofile
file.
add a comment |
I found the answer. It's not Plasma/KDE or snap, but zsh. I'm not sure why this worked on my old setup as I was using zsh there as well without a workaround.
This answer solved my problem: https://askubuntu.com/a/989485/754993.
To quote:
If you are using zsh, the snap binary and desktop directories will not automatically be added to your environment variables.
The step I did specifically was to add emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'
to the bottom of my /etc/zsh/zprofile
file.
I found the answer. It's not Plasma/KDE or snap, but zsh. I'm not sure why this worked on my old setup as I was using zsh there as well without a workaround.
This answer solved my problem: https://askubuntu.com/a/989485/754993.
To quote:
If you are using zsh, the snap binary and desktop directories will not automatically be added to your environment variables.
The step I did specifically was to add emulate sh -c 'source /etc/profile.d/apps-bin-path.sh'
to the bottom of my /etc/zsh/zprofile
file.
answered Jan 5 at 21:10
JT.JT.
1214
1214
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%2f1107266%2fsnap-installed-app-doesnt-put-icon-into-launcher%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