Where does Drawer get the list of apps from?
-
So, I installed vim in my libertine container (long story) but then eventually removed it. However, it is now still on my drawer. Where do I need to update to let it know it is out of sync?
-
@enrolado Have you tried dragging the app drawer down and releasing? That should refresh the app drawer.
Libertine apps might not trigger an automatic refresh yet.Apps list is in
~/.local/share/applications
if I am not mistaken. -
Thanks @kugiigi but the refresh didn't work, and vim isn't on any of the applications listed on that folder. I did find a reference in
.local/share/unity-scopes/unconfined/livertine-scope.ubuntu_libertine-scope/.surfacing_cache
I guess I'll play around with manually updating that file...
-
@enrolado This won't do anything, as that scope no longer exists (along with all the other scopes being gone), and so has no effect on the new app drawer.
-
@dobey ok... so what can I do? how do I force the drawer to recognize that vim is no longer installed?
-
@enrolado The icon is there, and has an actual VIM logo? Does it start something when tapped?
-
@dobey yep. icon is there. does not start (screen blinks, then goes back to home). Yes, it has the actual vim logo. If you want to reproduce you'd have to go back one OTA, install libertine + vim, then upgrade via release channel. Lol.
Any ideas?
-
@enrolado Does it show in UT Tweak Tool that or try Re-running through the installer without wipe.
-
@Lakotaubp Does not show in tweak tool. I really don't want to reinstall (this is my daily driver), so any hints on where to look (including code) and I'll try to resolve it the hard way...
-
@enrolado Then it sounds like all of the vim packages were probably not removed. Does
dpkg -l | grep vim
inside the container itself show anything?How exactly did you uninstall the package?
-
libertine-container-manager exec -i xenial -c " /bin/bash"
but apparently, while
vim
was removed,vim-runtime
andvim-common
were stragglers...When I removed those, it finally disappeared!
Anyhow, the question still remains... how does drawer pull from the list of installed packages within libertine? would you have any code pointers for me to look at?
-
@enrolado The list of apps is created from
ubuntu-app-launch
API, which askslibertined
(the service side) for the list of apps. -
@dobey thanks!