UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Where does Drawer get the list of apps from?

    Scheduled Pinned Locked Moved Support
    13 Posts 4 Posters 851 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • E Offline
        enrolado
        last edited by

        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?

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @enrolado
          last edited by

          @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.

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            enrolado @kugiigi
            last edited by

            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...

            dobeyD 1 Reply Last reply Reply Quote 0
            • dobeyD Offline
              dobey @enrolado
              last edited by

              @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.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                enrolado @dobey
                last edited by

                @dobey ok... so what can I do? how do I force the drawer to recognize that vim is no longer installed?

                dobeyD 1 Reply Last reply Reply Quote 0
                • dobeyD Offline
                  dobey @enrolado
                  last edited by

                  @enrolado The icon is there, and has an actual VIM logo? Does it start something when tapped?

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    enrolado @dobey
                    last edited by

                    @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?

                    LakotaubpL dobeyD 2 Replies Last reply Reply Quote 0
                    • LakotaubpL Offline
                      Lakotaubp @enrolado
                      last edited by

                      @enrolado Does it show in UT Tweak Tool that or try Re-running through the installer without wipe.

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        enrolado @Lakotaubp
                        last edited by

                        @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...

                        1 Reply Last reply Reply Quote 0
                        • dobeyD Offline
                          dobey @enrolado
                          last edited by

                          @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?

                          E 1 Reply Last reply Reply Quote 0
                          • E Offline
                            enrolado @dobey
                            last edited by

                            @dobey

                            libertine-container-manager exec -i xenial -c " /bin/bash" 
                            

                            but apparently, while vim was removed, vim-runtime and vim-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?

                            dobeyD 1 Reply Last reply Reply Quote 0
                            • dobeyD Offline
                              dobey @enrolado
                              last edited by

                              @enrolado The list of apps is created from ubuntu-app-launch API, which asks libertined (the service side) for the list of apps.

                              E 1 Reply Last reply Reply Quote 1
                              • E Offline
                                enrolado @dobey
                                last edited by

                                @dobey thanks!

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post