-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
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
Sunshine module - tray icon not loading and apps.json created as read-only. #361790
Comments
@velen2077
The copied file seems to inherit the permissions of the one in the store; not sure of an easy way around this other than maybe a patch? But would rather not add more complexity to the build. Possible we could also try to upstream it. As for the tray icon, it does work for me with
and see if that makes a difference? |
So with the boost 1.85 package, the icon appears as normal, but when clicking open Sunshine, nothing appears, and I get an error in the log file: I should probably add that I get that experience and error when CapSysAdmin is off (and icon loads as normal on the original package) too. |
@velen2077 yeah, I can reproduce that error. will take a look -- maybe something resolvable. |
https://github.com/LizardByte/Sunshine/blob/f73eb88ba9f35477ab0466048e7a60ffdf93317c/src/platform/linux/misc.cpp#L273 probably this -- I bet we just need to patch the path. it still may not work with |
@velen2077 please try #364438 -- I drafted for now because there is an unrelated issue with the NixOS test that I want to try to get in as well. For what it's worth |
@velen2077 think I got the tray icon links working when run as a service too -- fix in #364438 should be complete. |
Describe the bug
Using NixOS 24.11 and GNOME as the DE. When enabling the Sunshine module with
capSysAdmin = true;
the tray icon does not load. The service does start though. Just the tray icon is not present. The tray icon does load if you omitcapSysAdmin = true;
but this causes the application to fail on Wayland.Another oddity is that the
apps.json
file gets created in.config/sunshine
as read-only, so no apps can be added to Sunshine by default. Manually marking the file as read-write works. This issue is irrespective ofcapSysAdmin = true;
being set or not.Steps To Reproduce
Enable Sunshine in the NixOS config as below and perform a
nixos-rebuild switch
. Theapps.json
file is created as read-only and the tray icon is not present, despite the service running.Expected behavior
The tray icon is present while the service is running, and the
apps.json
file is created with read-write permissions so it can be edited through the GUI.Notify maintainers
@devusb
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: