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

    Desktop apps

    Scheduled Pinned Locked Moved Support
    libertine
    69 Posts 15 Posters 39.2k Views 6 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.
      • Y Offline
        Youbountoo
        last edited by

        I just installed Inkscape, and not only it works but it came with 2 ImageMagick (display Q16) icons which made Libre Office fully operational!! I'm a happy man!!

        1 Reply Last reply Reply Quote 0
        • 1 Offline
          1896er
          last edited by

          "adb shell" or "sudo adb shell" - both don't run on my M10 and E5 (both flashed with ubports images). No confirmation dialog! Developer mode enabled. Device unlocked. Any idea?

          1 Reply Last reply Reply Quote 0
          • 1 Offline
            1896er
            last edited by

            On Ubports-Nexus 4 it runs. Why not on M10 and E5?

            1 Reply Last reply Reply Quote 0
            • 1 Offline
              1896er
              last edited by

              Now adb shell runs... (?)

              But Libre Office crashes on M10.

              1 Reply Last reply Reply Quote 0
              • Y Offline
                Youbountoo
                last edited by

                If it can help, Libre Office worked as soon as I installed Inkscape as I wrote above...

                1 Reply Last reply Reply Quote 0
                • 1 Offline
                  1896er
                  last edited by

                  Also with inkscape installed Libre Office crashes. How do you get Libre Office fully operational?

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    Youbountoo
                    last edited by

                    Ha! Unfortunately, I don't know then... 😞

                    1 Reply Last reply Reply Quote 0
                    • 1 Offline
                      1896er
                      last edited by

                      Now Libre Office runs also without inkscape (sorry, I don't need Inkscape...)

                      With the command line "libertine-container-manager install-package -p libreoffice -i ubuntu" it works! (First I took the apt install command...) Language-Package and Help-Package runs also!

                      L 1 Reply Last reply Reply Quote 0
                      • L Offline
                        Lars @1896er
                        last edited by

                        @1896er But I guess you cant access your sdcard? Do anyone know if theres any plan to get Librecontainer to have some limited access to certain HW that you could set when creating the container?

                        Br,

                        Lars

                        1 Reply Last reply Reply Quote 0
                        • 1 Offline
                          1896er
                          last edited by

                          Yes, no access to sdcard and also no access to usb-drive on M10 FHD. I have no solution...

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tager18
                            last edited by

                            Hello, I've created container, and installed libreoffice, firefox, qtdesigner with command : libertine-container-manage install-package -i container-identifier -p package-name

                            Those apps are shown in scope, but when I try to open them:
                            Icon with app name shows in middle of the screen
                            Then black screen for less than second
                            And then apps shut down without any other output and get back to desktop apps scope.

                            I am doing something wrong ? Or desktop apps don't work right now for anybody?

                            D LakotaubpL 2 Replies Last reply Reply Quote 0
                            • D Offline
                              doniks @tager18
                              last edited by

                              @tager18 do you see any useful logs in .cache/upstart/ ? (I think that's the path)

                              T 1 Reply Last reply Reply Quote 0
                              • M Offline
                                Marathon2422 @Lakotaubp
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  tager18 @doniks
                                  last edited by tager18

                                  @doniks Thank you for your reply. In every log for desktop application (like application-legacy-container-identifier_firefox_0.0-.log) I have got this:
                                  EE)
                                  Fatal server error:
                                  (EE) Failed to connect to Mir: Failed to connect: not accepted by server
                                  (EE)

                                  D LakotaubpL 2 Replies Last reply Reply Quote 0
                                  • D Offline
                                    doniks @tager18
                                    last edited by

                                    @tager18 ok. Sounds to me like you should create a bug report. I don't have any other advice. Good luck, keep us posted.

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

                                      @tager18 Have exact same issue on my nexus 5. Created container with no issues and installed apps also no issues. Will check logs as suggested later.

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

                                        Just tried to get libertine on my M 10 and get device unauthorized message. adb shell and sudo adb shell don't work. Dev mode is on. All I can think off is that I need check to unlock the device by OEM unlock.
                                        Is this done via laptop with terminal and device in recovery. Sorry cant recall how just now. Thanks

                                        D 1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          doniks @Lakotaubp
                                          last edited by doniks

                                          @Lakota said in Desktop apps:

                                          Just tried to get libertine on my M 10 and get device unauthorized message.

                                          What exactly did you try and what exactly was the error?

                                          adb shell and sudo adb shell don't work. Dev mode is on. All I can think off is that I need check to unlock the device by OEM unlock.
                                          Is this done via laptop with terminal and device in recovery. Sorry cant recall how just now. Thanks

                                          I am quite certain that oem lock does not relate to adb. Is the M10 unlocked, I mean the Ubuntu Touch lock screen with password or pin? Does the usb cable work to access folders on the phone? Did you try with another cable, usb port, phone, laptop, to rule out other problems. Does adb work when you are in recovery? Does adb device say anything? What happens in the output of dmesg when you plug in the device? Does the output of lsusb differ between the device plugged in / not plugged in?

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

                                            @doniks Thanks for the help
                                            Yes lock screen off.
                                            Yes cable allows access to folders
                                            Yes tried different ports and cable
                                            Yes other phone used. Nexus 5 to create libertine container and install apps (succeeded).
                                            Yet too try recovery
                                            adb nothing, or on device screen.
                                            The next two I need to look up how to do.
                                            The M 10 is running the latest ubports r2 stable.
                                            adb message device unauthorized. Please check the confirmation dialog on your device. No message on device.
                                            Also don't have another laptop. Mine is running Ubuntu 17 32 bit.
                                            Oh and phablet- shell did nothing at all.
                                            Thanks

                                            D 1 Reply Last reply Reply Quote 0
                                            • D Offline
                                              doniks @Lakotaubp
                                              last edited by doniks

                                              @Lakota said in Desktop apps:

                                              @doniks Thanks for the help
                                              Yes lock screen off.
                                              Yes cable allows access to folders
                                              Yes tried different ports and cable

                                              ok, that's all good.

                                              Yes other phone used. Nexus 5 to create libertine container and install apps (succeeded).

                                              ok. I assume you mean you did create the libertine container via adb,
                                              right? In that case you know the usb cable and port are ok.

                                              Yet too try recovery

                                              ok. try the adb_usb.ini tip below first

                                              Does adb device say anything? What happens in the output of dmesg when you plug in the device? Does the output of lsusb differ between the device plugged in / not plugged in?

                                              adb nothing, or on device screen.
                                              The next two I need to look up how to do.

                                              Ok, I wasn't clear enough. Sometimes there is a problem with adb:
                                              https://docs.ubports.com/en/latest/userguide/advanceduse/adb.html#add-hardware-ids

                                              Follow steps 1, 4, 6, 7 here:
                                              https://community.linuxmint.com/tutorial/view/888

                                              The M 10 is running the latest ubports r2 stable.

                                              ok

                                              adb message device unauthorized. Please check the confirmation dialog on your device. No message on device.

                                              I don't understand what you are saying here. Is that the output of a command?!

                                              Also don't have another laptop. Mine is running Ubuntu 17 32 bit.

                                              No need anymore, it seems clear that cable and port are ok.

                                              Oh and phablet- shell did nothing at all.

                                              I think phablet-shell relies on adb, so if adb ain't working phablet-shell won't either.

                                              Thanks

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