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

Steam games won't start // Manjaro KDE #571

Open freaky-m0 opened 3 years ago

freaky-m0 commented 3 years ago
Expected behavior

Steam game launch

Actual behavior

Steam game doesn't launch.

Steps to reproduce

Install gamehub on Manjaro KDE and try to run a steam game.

Version and environment
- GameHub
    Version: 0.16.1-fff604c-master
    Branch:  master
    Commit:  fff604c436ee6f4e42b6b11e838f030b53512bd6
- Environment
    Distro:  Manjaro Linux
    DE:      KDE
    GTK:     3.24.30
    ~  com.github.tkashkin.gamehub --debug                                                                           INT ✘  52s  
[DEBUG]  [Database.migrate] Latest db version: 11, current: 11
[INFO]   - GameHub
[INFO]       Version: 0.16.1-fff604c-master
[INFO]       Branch:  master
[INFO]       Commit:  fff604c436ee6f4e42b6b11e838f030b53512bd6
[INFO]   - Environment
[INFO]       Distro:  Manjaro Linux
[INFO]       DE:      KDE
[INFO]       GTK:     3.24.30
[INFO]       Themes:  Breeze | breath2
[INFO]   [ButlerClient: log] Fetching fresh data...
[INFO]   [ButlerClient: log] Fetching page 1
[INFO]   [ButlerClient: log] Fetching page 2
[DEBUG]  [GOG] Loading player stats: page 1 of 3
[INFO]   [ButlerClient: log] Waited 432.434599ms for fetch (non-shared)
[DEBUG]  [GOG] Loading player stats: page 2 of 3
[DEBUG]  [GOG] Loading player stats: page 3 of 3
[DEBUG]  [GOG] Loading games: page 1 of 2
[DEBUG]  [GOG] Loading games: page 2 of 2
[WARN]   [Utils.open_uri] Error while opening 'steam://rungameid/427520': Der angegebene Ort wird nicht unterstützt

It seems that "steam://" doesnt work. But when I enter this URL in the Runner (ALT+F2) the game starts fine.

freaky-m0 commented 3 years ago

I needed to add the mime-type to $HOME/.local/share/applications/steam.desktop. There is another steam.desktop with the correct setting in /usr/share/applications/steam.desktop but that's not the right one I guess... I just used the manjaro default installation/version and never changed anything. So everyone need to edit these files manually to use GameHub? Strange somehow :/

EDIT:

Also needed >>

update-mime-database $HOME/.local/share/mime
update-desktop-database $HOME/.local/share/applications