Ubuntu 18.04: Okular's icon persists in the Show Applications menu after removing it












0















I uninstalled Okular in Ubuntu 18.04 but its icon still persists in Show Applications (not the usual icon however, but a generic one, see screenshot below).



I have checked ~/.local/share/applications and /usr/share/applications for a .desktop file, but I don't find any there that belong to Okular.



I have tried all the following commands with no success:



sudo apt remove okular
sudo apt remove --auto-remove okular
sudo apt purge okular
sudo apt purge --auto-remove okular


How can I remove the Okular icon from the Show Applications menu??



See the screenshot:



image1










share|improve this question

























  • So far only Okular... I click the icon and nothing happens

    – DaniCee
    Dec 13 '18 at 11:53













  • Restart Shell, or log out and back in, or eventually your computer before concluding it persists in your application menu. Yet, normally, it should be gone after uninstalling the app.

    – vanadium
    Dec 13 '18 at 12:41











  • I have restarted a million times and the icon is still there

    – DaniCee
    Dec 13 '18 at 13:13
















0















I uninstalled Okular in Ubuntu 18.04 but its icon still persists in Show Applications (not the usual icon however, but a generic one, see screenshot below).



I have checked ~/.local/share/applications and /usr/share/applications for a .desktop file, but I don't find any there that belong to Okular.



I have tried all the following commands with no success:



sudo apt remove okular
sudo apt remove --auto-remove okular
sudo apt purge okular
sudo apt purge --auto-remove okular


How can I remove the Okular icon from the Show Applications menu??



See the screenshot:



image1










share|improve this question

























  • So far only Okular... I click the icon and nothing happens

    – DaniCee
    Dec 13 '18 at 11:53













  • Restart Shell, or log out and back in, or eventually your computer before concluding it persists in your application menu. Yet, normally, it should be gone after uninstalling the app.

    – vanadium
    Dec 13 '18 at 12:41











  • I have restarted a million times and the icon is still there

    – DaniCee
    Dec 13 '18 at 13:13














0












0








0








I uninstalled Okular in Ubuntu 18.04 but its icon still persists in Show Applications (not the usual icon however, but a generic one, see screenshot below).



I have checked ~/.local/share/applications and /usr/share/applications for a .desktop file, but I don't find any there that belong to Okular.



I have tried all the following commands with no success:



sudo apt remove okular
sudo apt remove --auto-remove okular
sudo apt purge okular
sudo apt purge --auto-remove okular


How can I remove the Okular icon from the Show Applications menu??



See the screenshot:



image1










share|improve this question
















I uninstalled Okular in Ubuntu 18.04 but its icon still persists in Show Applications (not the usual icon however, but a generic one, see screenshot below).



I have checked ~/.local/share/applications and /usr/share/applications for a .desktop file, but I don't find any there that belong to Okular.



I have tried all the following commands with no success:



sudo apt remove okular
sudo apt remove --auto-remove okular
sudo apt purge okular
sudo apt purge --auto-remove okular


How can I remove the Okular icon from the Show Applications menu??



See the screenshot:



image1







unity 18.04 icons uninstall






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 13 '18 at 12:00









DK Bose

13.3k124083




13.3k124083










asked Dec 13 '18 at 11:44









DaniCeeDaniCee

842212




842212













  • So far only Okular... I click the icon and nothing happens

    – DaniCee
    Dec 13 '18 at 11:53













  • Restart Shell, or log out and back in, or eventually your computer before concluding it persists in your application menu. Yet, normally, it should be gone after uninstalling the app.

    – vanadium
    Dec 13 '18 at 12:41











  • I have restarted a million times and the icon is still there

    – DaniCee
    Dec 13 '18 at 13:13



















  • So far only Okular... I click the icon and nothing happens

    – DaniCee
    Dec 13 '18 at 11:53













  • Restart Shell, or log out and back in, or eventually your computer before concluding it persists in your application menu. Yet, normally, it should be gone after uninstalling the app.

    – vanadium
    Dec 13 '18 at 12:41











  • I have restarted a million times and the icon is still there

    – DaniCee
    Dec 13 '18 at 13:13

















So far only Okular... I click the icon and nothing happens

– DaniCee
Dec 13 '18 at 11:53







So far only Okular... I click the icon and nothing happens

– DaniCee
Dec 13 '18 at 11:53















Restart Shell, or log out and back in, or eventually your computer before concluding it persists in your application menu. Yet, normally, it should be gone after uninstalling the app.

– vanadium
Dec 13 '18 at 12:41





Restart Shell, or log out and back in, or eventually your computer before concluding it persists in your application menu. Yet, normally, it should be gone after uninstalling the app.

– vanadium
Dec 13 '18 at 12:41













I have restarted a million times and the icon is still there

– DaniCee
Dec 13 '18 at 13:13





I have restarted a million times and the icon is still there

– DaniCee
Dec 13 '18 at 13:13










1 Answer
1






active

oldest

votes


















2














I'm going to assume you installed okular from Ubuntu Software. In that case the 1st listed is a snap version & likely what you installed.



All kde snaps suffer from the same uninstall flaw where the .desktop file is not removed. You will have to do so manually as root. The location of snap's .desktop files is,



/var/lib/snapd/desktop/applications



The probable name of the file is okular_org.kde.okular.desktop



You can browse there to confirm it's existence, to get the file name one easy way is to DnD the file into a terminal.



So here the command to remove is



sudo rm /var/lib/snapd/desktop/applications/okular_org.kde.okular.desktop


This highlights one of the issues with snaps, many times one has to go far out of there way to report a bug. In this case, see https://forum.snapcraft.io/t/kde-snaps-flaw/8977. You'd think the KDE snap dev's would have noticed this as it's been happening for quite some time now..



enter image description here






share|improve this answer


























  • Alright! Yes, that was the proper location of the .desktop file

    – DaniCee
    Dec 13 '18 at 13:29











  • Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

    – doug
    Dec 13 '18 at 13:48











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%2f1100600%2fubuntu-18-04-okulars-icon-persists-in-the-show-applications-menu-after-removin%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









2














I'm going to assume you installed okular from Ubuntu Software. In that case the 1st listed is a snap version & likely what you installed.



All kde snaps suffer from the same uninstall flaw where the .desktop file is not removed. You will have to do so manually as root. The location of snap's .desktop files is,



/var/lib/snapd/desktop/applications



The probable name of the file is okular_org.kde.okular.desktop



You can browse there to confirm it's existence, to get the file name one easy way is to DnD the file into a terminal.



So here the command to remove is



sudo rm /var/lib/snapd/desktop/applications/okular_org.kde.okular.desktop


This highlights one of the issues with snaps, many times one has to go far out of there way to report a bug. In this case, see https://forum.snapcraft.io/t/kde-snaps-flaw/8977. You'd think the KDE snap dev's would have noticed this as it's been happening for quite some time now..



enter image description here






share|improve this answer


























  • Alright! Yes, that was the proper location of the .desktop file

    – DaniCee
    Dec 13 '18 at 13:29











  • Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

    – doug
    Dec 13 '18 at 13:48
















2














I'm going to assume you installed okular from Ubuntu Software. In that case the 1st listed is a snap version & likely what you installed.



All kde snaps suffer from the same uninstall flaw where the .desktop file is not removed. You will have to do so manually as root. The location of snap's .desktop files is,



/var/lib/snapd/desktop/applications



The probable name of the file is okular_org.kde.okular.desktop



You can browse there to confirm it's existence, to get the file name one easy way is to DnD the file into a terminal.



So here the command to remove is



sudo rm /var/lib/snapd/desktop/applications/okular_org.kde.okular.desktop


This highlights one of the issues with snaps, many times one has to go far out of there way to report a bug. In this case, see https://forum.snapcraft.io/t/kde-snaps-flaw/8977. You'd think the KDE snap dev's would have noticed this as it's been happening for quite some time now..



enter image description here






share|improve this answer


























  • Alright! Yes, that was the proper location of the .desktop file

    – DaniCee
    Dec 13 '18 at 13:29











  • Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

    – doug
    Dec 13 '18 at 13:48














2












2








2







I'm going to assume you installed okular from Ubuntu Software. In that case the 1st listed is a snap version & likely what you installed.



All kde snaps suffer from the same uninstall flaw where the .desktop file is not removed. You will have to do so manually as root. The location of snap's .desktop files is,



/var/lib/snapd/desktop/applications



The probable name of the file is okular_org.kde.okular.desktop



You can browse there to confirm it's existence, to get the file name one easy way is to DnD the file into a terminal.



So here the command to remove is



sudo rm /var/lib/snapd/desktop/applications/okular_org.kde.okular.desktop


This highlights one of the issues with snaps, many times one has to go far out of there way to report a bug. In this case, see https://forum.snapcraft.io/t/kde-snaps-flaw/8977. You'd think the KDE snap dev's would have noticed this as it's been happening for quite some time now..



enter image description here






share|improve this answer















I'm going to assume you installed okular from Ubuntu Software. In that case the 1st listed is a snap version & likely what you installed.



All kde snaps suffer from the same uninstall flaw where the .desktop file is not removed. You will have to do so manually as root. The location of snap's .desktop files is,



/var/lib/snapd/desktop/applications



The probable name of the file is okular_org.kde.okular.desktop



You can browse there to confirm it's existence, to get the file name one easy way is to DnD the file into a terminal.



So here the command to remove is



sudo rm /var/lib/snapd/desktop/applications/okular_org.kde.okular.desktop


This highlights one of the issues with snaps, many times one has to go far out of there way to report a bug. In this case, see https://forum.snapcraft.io/t/kde-snaps-flaw/8977. You'd think the KDE snap dev's would have noticed this as it's been happening for quite some time now..



enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 13 '18 at 16:22









DK Bose

13.3k124083




13.3k124083










answered Dec 13 '18 at 13:18









dougdoug

14.1k13553




14.1k13553













  • Alright! Yes, that was the proper location of the .desktop file

    – DaniCee
    Dec 13 '18 at 13:29











  • Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

    – doug
    Dec 13 '18 at 13:48



















  • Alright! Yes, that was the proper location of the .desktop file

    – DaniCee
    Dec 13 '18 at 13:29











  • Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

    – doug
    Dec 13 '18 at 13:48

















Alright! Yes, that was the proper location of the .desktop file

– DaniCee
Dec 13 '18 at 13:29





Alright! Yes, that was the proper location of the .desktop file

– DaniCee
Dec 13 '18 at 13:29













Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

– doug
Dec 13 '18 at 13:48





Decided to post here - forum.snapcraft.io/t/kde-snaps-flaw/8977

– doug
Dec 13 '18 at 13:48


















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%2f1100600%2fubuntu-18-04-okulars-icon-persists-in-the-show-applications-menu-after-removin%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

How to change which sound is reproduced for terminal bell?

Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

Can I use Tabulator js library in my java Spring + Thymeleaf project?