Giter VIP home page Giter VIP logo

Comments (4)

Merrit avatar Merrit commented on May 28, 2024

I can confirm this, Flatpak apps seems to be getting reported as PID 0.

Thanks for the report! Will investigate.

from nyrna.

jntesteves avatar jntesteves commented on May 28, 2024

An update, I know it's expected but I tested Flatpak'd Steam and confirm that processes started by Steam also can not be targeted, so I guess anything running inside the container is invisible to the tool as it currently is.

from nyrna.

Merrit avatar Merrit commented on May 28, 2024

I have been trying to investigate this issue.

It seems that the inside of a Flatpak has its own namespace, and the PID of the outside application we "see" is completely seperate from what is inside the container. flatpak/flatpak#1523

I had thought maybe we could take the name of the window, search for a running Flatpak instance of the same, enter it and search for the PID we need to suspend, etc..

However even if this is possible, given that the app can choose to display any arbitrary name it likes, I am not sure how we would resolve this. For example, Flatseal changes its displayed name depending on which app you are managing, so if I am managing the permissions for Plex Media Player it reports itself as Plex Media Player.

Given that Flatpak itself seemed to deem this unresolveable 2 years ago, I am currently unsure how to proceed re:Flatpak support.

from nyrna.

Merrit avatar Merrit commented on May 28, 2024

Given that Flatpak has shown no progress towards this and I haven't seen a reasonable workaround, I am going to sadly close this issue now as wontfix. Hopefully Flatpak will fix this on their end at some point.

from nyrna.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.