tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.25k stars 128 forks source link

GameHub not integrating with Flatpak Steam #443

Open RTSAjwad opened 3 years ago

RTSAjwad commented 3 years ago
Expected behavior

Gamehub should detect flatpak steam and integrate properly.

Actual behavior

On initial screen:

Authentication required. Steam config file not found. Login in to your account in Steam client and return to GameHub

Steps to reproduce

-Use GameHub AppImage -Use Flatpak Steam -In Gamehub put Flatpak Steam on path ~/.var/app/com.valvesoftware.Steam/.local/share/Steam

Version and environment
- GameHub
    Version: 0.16.0-b0f5e25-master
    Branch:  master
    Commit:  b0f5e258999b495e0f777ceb6a8349aac0454032
- Environment
    Distro:  [AppImage] Pop!_OS 20.10
    DE:      pop:GNOME
    GTK:     3.24.23
    Themes:  Pop-dark | Pop
RTSAjwad commented 3 years ago

correct path was ~/.var/app/com.valvesoftware.Steam/.steam

RTSAjwad commented 3 years ago

My previous comment is the correct path but the problem is that in order to detect steam I had to move my ~/.var/app/com.valvesoftware.Steam/.local/share/Steam folder to ~/.local/share/

After I had done that then I created a symlink ~/.var/app/com.valvesoftware.Steam/.local/share/Steam pointing to ~/.local/share/Steam

Then Steam had to reauthorise when I booted it up again. Once I had done all this then GameHub detected flatpak Steam with the steam path set to what I said previous comment.

I believe this works out of the box on Gnome Games though so maybe there is a way to get this working on GameHub side.

RTSAjwad commented 3 years ago

Also a downside to this fix is that I need to sign in and authorise using steam email code every time I open steam.

TheEvilSkeleton commented 3 years ago

@RTSAjwad does this work: https://github.com/tkashkin/GameHub/wiki/Troubleshooting#using-steam-flatpak-with-gamehub ?

HansCronau commented 3 years ago

Possible duplicate of #384.