Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GNOME Usage GNOME Usage
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 51
    • Issues 51
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • GNOME UsageGNOME Usage
  • Merge requests
  • !63

Merged
Created Jul 18, 2019 by Christian Kellner@gicmoContributor

Support for correctly identifying flatpaks, specifally the Steam Flatpak

  • Overview 4
  • Commits 27
  • Pipelines 3
  • Changes 7

Currently the steam flatpak is bunched in with system, because the command line in the desktop file does not match any of the processes in the steam flatpak. This is of course especially true for any games started in the Steam Flatpak. This merge request does a few things:

  • Maintains a stable map of of pid → Process (stable means, same Process objects for the system processes)
  • On update only add new Process or delete removed objects from aforementioned map
  • Maintain a map of AppInfo.get_id() → AppInfo
  • Add a Process.app_id property, that will look inside the roof of the process and use .flatpak-info's name, if available
  • If we cannot find an AppInfo via the command line, try to use Process.app_id

All this will result in all processes of the same Flatpak (currently also all instances) to be bunched together in one AppItem and additionally that Flatpak will correctly be identified via the Process.app_id, i.e. the [Application] name of the .flatpak-info.

I tested it for Steam and it works ok.

gu-flatpak-steam

Builds upon MR !62 (closed) Closes #66 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: steam_flatpak