Flatseal icon indicating copy to clipboard operation
Flatseal copied to clipboard

portals: Support GameMode

Open tchx84 opened this issue 4 years ago • 4 comments

tchx84 avatar Apr 12 '21 23:04 tchx84

Hey @gicmo,

According to this you're the right person to ask :)

Not sure if you have tried Flatseal before but is basically a GUI for managing Flatpak permissions (overrides, initially). I am currently working on adding support for managing dynamic permissions (portals) as well. I am close to be done, but I have some questions regarding GameMode:

  1. I see here that you're reading PermissionStore to determine if a particular application can go into GameMode, but I can't find where is being set. Is this just to make it future proof?

  2. Is well known among Flatseal users that permissions changes require restarting the application. It is safe to assume that next time the application (or game, in this case) runs, the PermissionStore values will be honered? Or is it there another mechanism that Flatseal would need to interact with?

Thanks in advance!

tchx84 avatar Apr 13 '21 00:04 tchx84

Hey, ... all good questions. Let me refresh my memory and get back to you.

gicmo avatar Apr 13 '21 10:04 gicmo

Hey, ... all good questions. Let me refresh my memory and get back to you.

hey @gicmo , did you get a chance to look back on this? Mind giving me any pointers to study, beyond gamemode code? :pray:

tchx84 avatar May 12 '21 23:05 tchx84

Hi @gicmo and @tchx84, what's happened so far regarding this pr?

otuva avatar Dec 14 '22 08:12 otuva