Announcement

Collapse
No announcement yet.

Flatpak 1.14 Released With Improvements For Sandboxed Linux Apps

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Flatpak 1.14 Released With Improvements For Sandboxed Linux Apps

    Phoronix: Flatpak 1.14 Released With Improvements For Sandboxed Linux Apps

    Flatpak 1.14 has been released as the newest feature release for this leading open-source solution for sandboxing and distribution of Linux applications...

    https://www.phoronix.com/news/Flatpak-1.14-Released

  • #2
    Imagine if it had a clean command that would uninstall all unused runtimes...

    Comment


    • #3
      Originally posted by uid313 View Post
      Imagine if it had a clean command that would uninstall all unused runtimes...
      Isn't "flatpak uninstall --unused" pretty much it?

      Comment


      • #4
        Originally posted by uid313 View Post
        Imagine if it had a clean command that would uninstall all unused runtimes...
        There's
        Code:
        flatpak remove --unused

        Comment


        • #5
          I don't know if it's flatpak or Telegram's fault but the flatpak version of Telegram (on Ubuntu) can't save (pictures or video) with the "Save As" option (it's glitchy) when inside an X.org session (wayland works fine, but wayland itself is too buggy on KDE).

          Comment


          • #6
            Originally posted by cl333r View Post
            I don't know if it's flatpak or Telegram's fault but the flatpak version of Telegram (on Ubuntu) can't save (pictures or video) with the "Save As" option (it's glitchy) when inside an X.org session (wayland works fine, but wayland itself is too buggy on KDE).
            Is Telegram based on Electron or something else that uses GTK as the platform integration abstraction? If so, see if setting export GTK_USE_PORTAL=1 causes the problem to reproduce on the non-Flatpak version.

            If it does, then it's a problem with how Telegram is integrating with XDG Portals. If not, it can't rule it out, but...

            Also, if you're using KDE on Ubuntu, bear in mind that the Flatpak PPA doesn't currently provide updates for the KDE frontend to the XDG portal host, so you may just be looking at an already-fixed bug like how the XDG portal host frontend for KDE on *buntu 20.04 LTS is just a hair too old to support the directory option for the file chooser portal. (Which means things like the "save all attachments" button on Flatpak'd Thunderbird are broken on 20.04 LTS under KDE.)
            Last edited by ssokolow; 23 August 2022, 07:26 AM.

            Comment


            • #7
              Originally posted by ssokolow View Post

              Is Telegram based on Electron or something else that uses GTK as the platform integration abstraction? If so, see if setting export GTK_USE_PORTAL=1 causes the problem to reproduce on the non-Flatpak version.

              If it does, then it's a problem with how Telegram is integrating with XDG Portals. If not, it can't rule it out, but...

              Also, if you're using KDE on Ubuntu, bear in mind that the Flatpak PPA doesn't currently provide updates for the KDE frontend to the XDG portal host, so you may just be looking at an already-fixed bug like how the XDG portal host frontend for KDE on *buntu 20.04 LTS is just a hair too old to support the directory option for the file chooser portal. (Which means things like the "save all attachments" button on Flatpak'd Thunderbird are broken on 20.04 LTS under KDE.)
              Thanks, it seems to be using GTK because it has the shitty [1] GTK file dialog. Anyway it doesn't bug me enough to launch an investigation, I'll just wait for Ubuntu 22.10 or switch to another distro, Ubuntu sucks more and more as years go by, so even I might switch.

              [1] Shitty - because only GTK devs could think that when you start typing in a save file dialog you probably want to type some filter name rather than the to-be-saved new filename. For this kind of wacky ..design? ... I hate gtk/gnome with passion. So the bug is that the new-filename-box doesn't focus AT ALL and when you type you can only type into the filter box and therefore you can't save the picture/video at all.
              Last edited by cl333r; 23 August 2022, 07:38 AM.

              Comment


              • #8
                Originally posted by ssokolow View Post

                Is Telegram based on Electron or something else that uses GTK as the platform integration abstraction? If so, see if setting export GTK_USE_PORTAL=1 causes the problem to reproduce on the non-Flatpak version.

                If it does, then it's a problem with how Telegram is integrating with XDG Portals. If not, it can't rule it out, but...

                Also, if you're using KDE on Ubuntu, bear in mind that the Flatpak PPA doesn't currently provide updates for the KDE frontend to the XDG portal host, so you may just be looking at an already-fixed bug like how the XDG portal host frontend for KDE on *buntu 20.04 LTS is just a hair too old to support the directory option for the file chooser portal. (Which means things like the "save all attachments" button on Flatpak'd Thunderbird are broken on 20.04 LTS under KDE.)
                Telegram is QT based.

                Comment


                • #9
                  Originally posted by user1 View Post

                  Isn't "flatpak uninstall --unused" pretty much it?
                  Originally posted by rmnscnce View Post

                  There's
                  Code:
                  flatpak remove --unused
                  This seems rather buggy, it seems to want to uninstall Gaphor which is a diagram application. I don't want to uninstall any applications, just unused runtimes that are left over by applications that has been uninstalled or upgraded to no longer rely on that runtime.
                  Gaphor is a UML, SysML, RAAML, and C4 modeling application written in Python. It is designed to be easy to use, while still being powerful. Gaphor implements a fully-compliant UML 2 data model, so it is much more than a picture drawing tool. You can use Gaphor to quickly visualize different aspects of a system as well as create complete, highly complex models.

                  Comment


                  • #10
                    Originally posted by uid313 View Post

                    This seems rather buggy, it seems to want to uninstall Gaphor which is a diagram application. I don't want to uninstall any applications, just unused runtimes that are left over by applications that has been uninstalled or upgraded to no longer rely on that runtime.
                    Then you don't need to run any special commands

                    https://blogs.gnome.org/mwleeds/2021...tpak-runtimes/

                    For a while now Flatpak has had the ability to remove unused runtimes with the command flatpak uninstall –unused. But users should never need to use the command line to keep their computer running well. And users who choose to use the command line already run flatpak update regularly, so in the new implementation removing unused runtimes is integrated into the update command
                    Besides, if you find any bugs, you should be reporting them to their github, not here.

                    Comment

                    Working...
                    X