Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage application are shown in the wrong control group #362

Open
1 task done
citorva opened this issue Sep 22, 2024 · 2 comments
Open
1 task done

AppImage application are shown in the wrong control group #362

citorva opened this issue Sep 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@citorva
Copy link

citorva commented Sep 22, 2024

Is there an existing issue for this?

  • I searched the existing issues and did not find anything similar.

Current Behavior

Application launched from its AppImage files are shown in the control group of the application who launches the last one.

Example with the FreeCad 1.0rc1 launched from nautilus on gnome:
screenshot

Expected Behavior

An application launched from AppImage and its children must be in a new control group based on the application ID packaged in the AppImage.
In the previous example, the control group would be org.freecad.Freecad

Steps To Reproduce

  1. Launching an application from it AppImage file
  2. The resulting control group would be the control group of the application which launches the AppImage.

Environment

Resouces Version 1.6.0
Package type: Flatpak
System: Arch Linux
Desktop Environment: GNOME Shell 46.4 running Wayland

Anything else?

No response

@citorva citorva added the bug Something isn't working label Sep 22, 2024
@nokyan
Copy link
Owner

nokyan commented Sep 22, 2024

Hi, thanks for the issue.
Resources doesn't set control groups, it only reads them and uses them to associate a process with an app. Resources does not have a way to detect AppImages as apps if there's not a desktop file for them. If you open an AppImage from GNOME Files, its cgroup will be the one of GNOME Files. Nothing I can do about that.

@citorva
Copy link
Author

citorva commented Sep 22, 2024

Hello, thanks for the answer

I have also found that AppImage does not provide tools providing information about running AppImages processes. However, after reading the specification, I think that it is possible to get information about the running AppImage.

I can make tests in a distinct crate and integrate it in the application if this approach is handy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants