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

    Crazy stuff: sudo snap install signal-desktop

    Scheduled Pinned Locked Moved General
    13 Posts 4 Posters 64 Views 2 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.
      • pparentP Online
        pparent
        last edited by pparent

        Hi,

        Today I just figured why not try:

        sudo snap install signal-desktop
        

        And I realize it just works! This is crazy. With this simple command I can link my device and see my chats. Well it is certainly not a responsive interface (but not terrible either, there's just the left menu coming in the way) and the keyboard does not show for now. But I can consult messages, and this is major.

        It means:

        1°) We can certainly create quite easily a version of Signal-Desktop that is adapted to mobile display (with few patches to the interface to make it responsive), and that we can get a full-fledge signal client on Ubtunu touch, that way.

        2°) That Mir2.0 will certainly help with that.

        Ps: I guess the first easy thing to make it usable as a consul-only stuff is adapt the scale, which I guess must be easily doable.

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

          Craziest thing:

          The calls are partially working out of the box!!!!
          Which means we can certainly get calls working one day!

          1 Reply Last reply Reply Quote 3
          • K Offline
            kugiigi
            last edited by

            Yeah, snap is now preinstalled on 24.04 Noble.
            We really need new Mir to get better Wayland/Xwayland support. Flatpak would also be cool and we'll be able to use desktop apps or apps in other mobile Linux distros. Nix can also be used with Crackle.

            MoemM 1 Reply Last reply Reply Quote 1
            • MoemM Offline
              Moem @kugiigi
              last edited by

              @kugiigi said in Crazy stuff: sudo snap install signal-desktop:

              Yeah, snap is now preinstalled on 24.04 Noble.

              I don't think that's the main point of the post. The main point seems to be that, specifically, Signal for desktop can be installed on UT as a snap and works.
              Which is pretty impressive!

              Is currently using an Op5t
              Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

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

                @Moem Oh okay.
                Then I'm just commenting in general context of snaps 😄
                For example, you can also do this with telegram. It even has a scaling setting to make it more usable on the phone. It also doesn't show the OSK though 😅

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

                  @kugiigi

                  Do you know how to adapt scaling of a snap app in Ubuntu Touch, or how to easily pass it parameters like ?

                  GDK_SCALE=2

                  Normally I would pass it in the .desktop file but snap constantly rewrites the .dektop file

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

                    @Moem
                    Honestly I see 4 simple steps to make it a usable client at least for basic chat:

                    1°) Adapt the scale (normally it should be easy)
                    2°) Show the keyboard when clicking on an input (I'm supposing Mir2.0 might help with that)
                    3°) Adapt UI to hide left menu when in chat view (Should be doable with minimal patches)
                    4°) Connect to content Hub to Import/export files.

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

                      I've actually succeeded to start the app with acceptable scaling by creating a dummy unconfined app with simply a .desktop file with the launcher:

                      Exec=env GDK_SCALE=2 /snap/bin/signal-desktop --no-sandbox %U

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

                        Maybe @ChromiumOS-Guy can help us figure out how to enable keyboard, as you did it with uWolf ?

                        1 Reply Last reply Reply Quote 0
                        • t12392nT Offline
                          t12392n @pparent
                          last edited by

                          Nice find!

                          Unfortunately its the desktop app which cannot be a "main" app, as in you always need to keep a separate phone.

                          @pparent said in Crazy stuff: sudo snap install signal-desktop:

                          I've actually succeeded to start the app with acceptable scaling by creating a dummy unconfined app with simply a .desktop file with the launcher:

                          Exec=env GDK_SCALE=2 /snap/bin/signal-desktop --no-sandbox %U

                          That might be worth a guide/instruction with steps on how to do.

                          Samsung Fold5
                          will switch to
                          Volla Quintus UT 24.04-1

                          pparentP 2 Replies Last reply Reply Quote 0
                          • pparentP Online
                            pparent @t12392n
                            last edited by

                            @t12392n said in Crazy stuff: sudo snap install signal-desktop:

                            Unfortunately its the desktop app which cannot be a "main" app, as in you always need to keep a separate phone.

                            Or you install it in waydroid in the same phone and open it from time to time only.

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

                              @t12392n said in Crazy stuff: sudo snap install signal-desktop:

                              That might be worth a guide/instruction with steps on how to do.

                              I will publish a repository and a .click file for signal-launcher, pretty dummy stuff, but it can help making it usable for reading messages only, until we find a way to make the keyboard usable.

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

                                Here you are: [USE AT YOUR OWN RISKS]

                                https://github.com/pparent76/SignalLauncher/releases/tag/Initial
                                https://github.com/pparent76/SignalLauncher

                                The 2 clicks versions correspond to scaling x2 and x3

                                Note that it is just a temporary hack, this repo is to disappear when we have a proper support

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