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

    How to enable the desktop mode for the convergence use case?

    Scheduled Pinned Locked Moved Support
    19 Posts 5 Posters 2.0k 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.
      • M Offline
        marc_aurel
        last edited by

        Thanks for your suggestions:

        Unfortunately I don't understand this sentence:

        "Put the lock when idle setting in battery settings to never and try it again."

        Do you mean, that I would switch off the automized process to lock my phone after a selected time frame?

        If I tap on the spinner, then on the gear in upper right corner, then on the button "container informatiob". Afterwards I can see the installation process.

        It seems that the installation process in paused, if the device is locked with a black screen.

        LakotaubpL 1 Reply Last reply Reply Quote 0
        • LakotaubpL Offline
          Lakotaubp @marc_aurel
          last edited by

          @marc_aurel Yes, stop the screen from locking. System settings, battery, lock screen when idle = never

          1 Reply Last reply Reply Quote 0
          • M Offline
            marc_aurel
            last edited by

            It seems, that the container is installed, but I can't install the Desktop Apps Scope like decsibed in the UBports documentation:

            0_1542474907003_20181117_180453.jpg

            LakotaubpL 1 Reply Last reply Reply Quote 0
            • LakotaubpL Offline
              Lakotaubp @marc_aurel
              last edited by

              @marc_aurel you don't need to it's already there. Go to apps scope, Pull up on little white inverted v/arrow and it's there.

              1 Reply Last reply Reply Quote 0
              • M Offline
                marc_aurel
                last edited by

                Perfekt. I found thus scope. Thanks very much for your help. Now I have to find a way to install a desktop app.

                Is this only posiible by pushing an rpm file, say from OpenOffice, to the phone with adb and then triggering the installation within the adb shell?

                libertine-container-manager install-package -p PACKAGE-NAME
                

                I realized, that I can't download rpm files from the browser. I get an error message from Sourceforge for downloading OpenOffice.

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

                  You cannot install rpm packages really. You can also only install packages which are built for the armhf architecture. If you want to install LibreOffice for example, you would use libertine-container-manager install-package -p libreoffice or you can use the GUI in System Settings to install any package in the Ubuntu 16.04 archive for armhf.

                  1 Reply Last reply Reply Quote 1
                  • M Offline
                    marc_aurel
                    last edited by

                    Thanks so much. This is fascinarting easy. Unfortunately my phone crashed and restarted during the installation pricess. Now the spinner doesn't stop since last evening and no log is shown any more, if I tab on the row with the spinner and select "view". Some idea to stop the process and retry the installation? I think something was installed, but it seems incomplete. This, I may need to clean up the broken installation.

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

                      Hmm. I'm not sure if there's any way to resolve such an issue via the GUI (and I'm not quite sure what the issue is there anyway, beyond the crash during an install as you stated). It seems though you have found a bug in the libertine GUI. I'd suggest first to open an issue at https://github.com/ubports/libertine about it, with perhaps a few screenshots of the broken UI, and also any relevant logs, such as from the System Settings log, and perhaps there may be some libertine specific logs elsewhere too.

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        marc_aurel
                        last edited by

                        I destroyed the container with adb shell:

                        libertine-container-manager destroy -i xenial

                        Unfortunately re-installing the container failed. See the creenshot:

                        0_1543055405694_20181121_121753.jpg

                        I tried to remove some documented filed manually via adb shell:

                        rm -r ~/.cache/libertine-container/xenial
                        rm -r ~/.local/share/libertine-container/user-data/
                        

                        I could reinstall the container, but my Fairphone restarts while installation and shows an infinite spinner afterwards next to the container in the settings. Does someone know the location of the installation log? I could link it here in the forum to clarify the issue.

                        Then I just tried to install LibreOffice as described in this thread with the user interface of the conainer onmy phone. The spinner disappeared and I can see some apps in the app scope now. I will check, whether and how they work.

                        LakotaubpL 1 Reply Last reply Reply Quote 0
                        • LakotaubpL Offline
                          Lakotaubp @marc_aurel
                          last edited by

                          @marc_aurel For future info I've always found that setting the screen sleep feature in Battery Settings to never while installing containers helps.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            marc_aurel
                            last edited by

                            I was happy too early. UBports has installed something, but not correct.

                            0_1543071738283_20181124_155838.jpg

                            This is shown, if I open one of the apps.

                            0_1543071750255_20181124_155828.jpg

                            Then another scope was opened with an error message:

                            0_1543071819479_20181124_155808.jpg

                            I try to destroy the container and re-install everything. I would like to show a business partner the convergence use case next week. So I need to make this feature running.

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              marc_aurel
                              last edited by

                              It seems, that UBports is a diva 😉 It seems, that the installation has been successfull, after I hold my FP2 in the hand and watched "her" installing.

                              0_1543074407140_20181124_164233.jpg

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