Mechnanism to allowlist applications to be granted access to a configured screen
Hey!
I am not sure if this is the right place to raise this feature request (or if there might already be away around using xdg-desktop-portal-kde
for my use case). But I would like to present my use case and inquire your help in an adequate solution for people in the same boat.
I have recently switched over from GNOME to KDE Plasma on Arch, and with it from Xorg to Wayland primarily. Everything runs fine so far, except for a small hitch with Steam.
In order to get Steam Remote Play working on Wayland, one needs to start it with -pipewire
to use pipewire for the display capture, which is not the issue, but important context.
Upon starting the Steam client then, the xdg-desktop-portal-kde
ScreenChooserDialog
opens up, and asks me to select a screen to share.
This is a wonderful feature, that I really like, but not in this specific instance, as this Steam feature is primarily designed to be used when AFK. I believe a way to configure the screen to chose is a use-case that should be accounted for and to be configured easily.
My request: It would be great if there was a way to always allow Steam (or any predefined application) to access that screen, and to choose it, too. It would be important however to ensure that the requesting application (in this case Steam) is the application which was configured, to maintain a user-established trust between the portal and the application.
Since this Wayland, Pipewire and xdg-desktop-portal thing is pretty new to me, I was not able to find a solution or workaround to my problem, despite researching it thoroughly, and I really hope I am in the right place :) If there is a better way, please point me that way :)