safijari / sunshine-deck

Just some instructions on how to run sunshine on the Steam Deck using the flatpak
26 stars 1 forks source link

No mouse cursor in desktop #3

Open SuttonX opened 1 year ago

SuttonX commented 1 year ago

Works great in Game Mode (if any other physical secondary docked display is set to the same resolution as the Steam Deck - if it's set to anything else it jumps back and forth between resolutions), but in Desktop mode I cannot see the mouse cursor. I've tried forcing the software cursor in KDE, also tried keeping a physical wired mouse connected to the dock. No difference.

Believe this may have something to do with the udev rules that the official build activates, that your build does not. The cursor works fine in desktop mode in the official Sunshine release.

I used Konsole to create a udev rule that contained the same text as the official one, but it's not working. Not sure if your build has a different name, isn't referenced the same, etc.

The file I'm referring to is right in your build folders, under assets and udev

If you find a fix please @ me so I can implement it myself

Also in your assets folder, you have a sunshine.service file that is residual from the package you forked from. I suggest just editing it to contain the contents of your .service file you have us create on the main git page, then in your first install script just do a copy file to the systemd directory as well as the systemctl commands to kick it off. Same with the Udev rule once that gets figured out. Then the entire thing is fully automated.

You can even add a line on the end of your script to open up https://localhost:47990 in a browser when all the rest is finished