Skip to content
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

Unable to launch steam games #110

Open
shady-mathers opened this issue Oct 1, 2020 · 2 comments
Open

Unable to launch steam games #110

shady-mathers opened this issue Oct 1, 2020 · 2 comments

Comments

@shady-mathers
Copy link

Oh hi mark!
Thanks a lot for a great project! definitely made my life easier. Now, there's a catch. In the original dmenu, I used to open steam games by typing "steam steam://run/xxxxxx" where xxxxxx is the 6 digit game id. But when I type the same thing in dmenu_extended it just says "can't find steam steam, is it installed?" I tried "steam: steam://run/xxxxxx", same result. Any pointers as to where I might be getting it wrong?
I'm running ubuntu 20.04 with spectrwm and python version is 3.8
Thanks!

@MarkHedleyJones
Copy link
Owner

Hi, thanks for creating the issue.
Hmmm, it seems to be related to the fact that there's a semi-colon in the path to the game which triggers dmenuExtended to split the command in two and try to run the second half of the command using a program with the name of the first (i.e., running //run/xxxxxx with a program called steam steam).
As a bypass to that mechanism, what about if you add the following alias into you dmenuExtended_preferences.txt file:

    "include_items": [
        [
            "my_favourite_game", 
            "steam steam://run/xxxxxx"
        ]
    ],

Replacing "my_favourite_game" with the name of the game...
Then rebuild the cache and try running the new entry.
I know it's not ideal, but in your case it may be a more optimum solution as you can just alias it to a game name directly?

@shady-mathers
Copy link
Author

Hi Mark!
Sorry for the delayed response (my PC was dead, so couldn't try the solution out.)
The problem persists. I made the alias as you instructed, but dmenu still asks, "Can't find steam steam, is it installed?"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants