hmlendea/gfn-electron

[BUG] [Steam Deck] CTRL + Shift + P doesn't do anything

Doc-4 opened this issue · 7 comments

Doc-4 commented

Describe the bug

Using the keyboard shortcut for creating a direct game shortcut, whether a game is running or not, doesn't appear to do anything. Not sure if this is steam deck specific or not, I tested 2 external keyboards of which other key shortcuts did work. I tested this in desktop mode and could not find a .desktop or other shortcut anywhere, I also tested on gaming mode with no results.

To Reproduce

Launch gfn electron
Launch a game e.g. Genshin Impact
Wait until ingame
Press CTRL + Shift + P
No result

Screenshots

No response

Version

Built from source this week, appimage version

Is this a fresh install of the app or an update from a past version?

Fresh install

Did this issue appear right away upon installation/updating, or spontaneously?

N/A

Additional context

I use --spoof-windows on the latest source to run genshin impact, and I use --no-sandbox while running it from gaming mode.

xfechx commented

I have the same problem. No shortcut added when pressing CTRL + SHIFT + P

Did you find a solution?

Same here

I tried it aswell, doesnt do anything. Only shortcut that I got working was the mic. Using steam deck - tried both desktop and gaming mode

Doc-4 commented

The geforce now overlay, mic, and quit worked for me last I tried it, this was the one I recall not working for sure

Is there a fix for this issue? Seems to be less blurry than using a browser and I play a few different games so would be cool to have shortcuts working

Doesn't work for me on steam deck either. If the shortcuts worked, we would be able to have custom steam input settings for each shortcuts added right?

For anyone else wondering about this, it seems the ability to create game shortcuts via Crtl-Shift-P was removed a while back in #156. It is however still possible to directly launch into a game by using the --direct-start launch argument.

For example, I created a file gfn-cyberpunk.sh with the following content:

/usr/bin/flatpak run --branch=stable --arch=x86_64 io.github.hmlendea.geforcenow-electron --direct-start 101606111

This can then be added to Steam as a non-steam app (make sure to make the file executable), allowing custom steam input settings for that specific game (cc @joshualeduc).

The only challenge is to figure out the corresponding game id (in this case 101606111 for Cyberpunk 2077). I did so by using the official GFN Mac App, creating a desktop shortcut for the game and opening the created file in a text editor. The game id is the first parameter, cms_id. There's probably an easier way to figure out the id, but this was the best I could come up with for now.

Hope this is useful information for anyone else