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

    Electron apps on Ubuntu Touch

    Scheduled Pinned Locked Moved General
    12 Posts 7 Posters 1.2k Views 3 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.
      • AppLeeA Offline
        AppLee @db579
        last edited by

        @db579
        Hi the way to achieve your goal is by utilizing Libertine.
        Not sure it will work nicely but Libertine is made so we can run desktop apps with UT.

        1 Reply Last reply Reply Quote 1
        • ValenoernV Offline
          Valenoern
          last edited by

          Libertine on pinephone was returning errors trying to create even an example container the last time I tried to use it

          https://gitlab.com/ubports/community-ports/pinephone/-/issues/133
          (gitlab isn't working enough to find the main issue but that's one)

          1 Reply Last reply Reply Quote 0
          • pparentP Online
            pparent
            last edited by

            Is there any chance we will be able to compile/run electron apps natively in Ubuntu Touch, with Mir2.0 through Wayland?

            ikozI 1 Reply Last reply Reply Quote 0
            • ikozI Online
              ikoz @pparent
              last edited by

              @pparent VSCodium has been working since 16.04. I think it's in the store.

              May the source be with you

              pparentP 1 Reply Last reply Reply Quote 0
              • pparentP Online
                pparent @ikoz
                last edited by

                @ikoz said in Electron apps on Ubuntu Touch:

                VSCodium

                But how does it work? Does it uses Xmir? It requires to be unconfined, I see.

                Currently I cannot compile and run natively any electron app, as an UT app that runs seamlessly right? In particular I cannot run natively Signal-Desktop, which would be a quite important addition to Ubuntu Touch.

                ikozI 1 Reply Last reply Reply Quote 0
                • ikozI Online
                  ikoz @pparent
                  last edited by

                  @pparent It's open source: https://github.com/fredldotme/vscodium-click-packaging.
                  From quick look it bundles all the needed libraries in the click and is unconfined, so not ideal,

                  May the source be with you

                  arubislanderA 1 Reply Last reply Reply Quote 0
                  • arubislanderA Offline
                    arubislander @ikoz
                    last edited by

                    @ikoz I don't think the VSCode click is unconfined because it is an electron app. I think it is unconfined because it is a code editor which needs to be able to access different parts of the filesystem to be useful.

                    πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                    Happily running Ubuntu Touch
                    JingPad (24.04-1.x daily)
                    OnePlus Nord N10 5G (24.04-2.x daily)
                    PinePhone OG (20.04)
                    Meizu Pro 5 (16.04 DEV)
                    Google Pixel 3a

                    ikozI 1 Reply Last reply Reply Quote 0
                    • ikozI Online
                      ikoz @arubislander
                      last edited by

                      @arubislander IIRC, all desktop apps based on a framework other than Qt are currently uconfined, but Mir 2 should fix that (see the discussion around the problem for uWolf).
                      If it were unconfined just to access the filesystem directly (without content hub), it would use the separate read/write access policy.

                      May the source be with you

                      arubislanderA 1 Reply Last reply Reply Quote 1
                      • arubislanderA Offline
                        arubislander @ikoz
                        last edited by arubislander

                        @ikoz said in Electron apps on Ubuntu Touch:

                        IIRC, all desktop apps based on a framework other than Qt are currently uconfined, but Mir 2 should fix that (see the discussion around the problem for uWolf).

                        This is not the case. uFirefox on Noble, for instance, is strictly confined.

                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                        Happily running Ubuntu Touch
                        JingPad (24.04-1.x daily)
                        OnePlus Nord N10 5G (24.04-2.x daily)
                        PinePhone OG (20.04)
                        Meizu Pro 5 (16.04 DEV)
                        Google Pixel 3a

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          naz.R @db579
                          last edited by

                          @db579 yes, I am experimenting with one now. It's absolutely possible.
                          You can bundle it for arm64 and wrap into .click with clicable. Then install with OpenStore.

                          1 Reply Last reply Reply Quote 0
                          • pparentP Online
                            pparent
                            last edited by pparent

                            Just a quick question: anyone knows if there is a particular difficulty to build Signal-desktop (Electron app) as a .click package? Because this would be a major addition to Ubuntu Touch. Knowing that Mobian have binaries and build scripts for ARM ( https://github.com/0mniteck/Signal-Desktop-Mobian )

                            (And after we could certainly tweak the interface to make it responsive, like it is done on whatsapp web which is a very similar interface.)

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