Uninstalled app still in Main Menu


#1

I have uninstalled shotwell (and even rebooted) but I still see an entry in the Main Menu… should that launcher have been removed by the uninstaller? Other apps launchers are removed after I uninstall them.


#2

How did you uninstall it?


#3

You could look for a .desktop file somewhere. I’d try first in your home directory since it’ll be much faster:

find $HOME -iname *shotwell*.desktop -print

then try in the whole system:

find / -iname *shotwell*.desktop -print

#4

Hi @APolihron
I’ve reproduced this on 16.04 LTS using sudo apt remove shotwell. (I did see pending updates, including for shotwell, but didn’t bother working around the perennial /boot full issue to apply them.)

Thanks @elcste for the input. The following files turn up after uninstalling:

[email protected]:~$ sudo find / -iname *shotwell*.desktop -print
[sudo] password for lar:
/usr/share/applications/shotwell-viewer.desktop
/usr/share/applications/shotwell.desktop
/usr/share/app-install/desktop/shotwell-common:shotwell-viewer.desktop
/usr/share/app-install/desktop/shotwell-common:shotwell.desktop
find: ‘/run/user/1000/gvfs’: Permission denied

Here is some relevant system info:

[email protected]:~$ uname -a
Linux petb425-wall-kiosk 4.4.38-v7+ #938 SMP Thu Dec 15 15:22:21 GMT 2016 armv7l armv7l armv7l GNU/Linux
[email protected]:~$ apt-cache policy shotwell
shotwell:
  Installed: (none)
  Candidate: 0.22.0+git20160108.r1.f2fb1f7-0ubuntu1.1
  Version table:
     0.22.0+git20160108.r1.f2fb1f7-0ubuntu1.1 500
        500 http://ports.ubuntu.com xenial-updates/main armhf Packages
        500 http://ports.ubuntu.com xenial-security/main armhf Packages
        100 /var/lib/dpkg/status
     0.22.0+git20160108.r1.f2fb1f7-0ubuntu1 500
        500 http://ports.ubuntu.com xenial/main armhf Packages

#5

It looks like those .desktop files should be part of the shotwell-common package in xenial, so you can try to uninstall the shotwell-common package.


#6

You also could type in “mozo” into the terminal and change it manually


#7

Yup, @elcste the shotwell-common package is indeed still present after uninstalling shotwell. Seems like it should be marked for removal, but it stays.

@Jaden_Joner using this approach revealed two relevant shortcuts in the main menu. Perhaps it’s by design - I wasn’t paying enough attention.

  • Shotwell (shotwell %U), still enabled
  • Shotwell Viewer (shotwell %f), disabled

(fwiw, I have a dedicated image to explore this now and should be able to respond faster)