lutris / agora

Public discussion space for the community
11 stars 0 forks source link

Option to launch a console with the selected prefix set #56

Open hollunder opened 5 years ago

hollunder commented 5 years ago

Similar to PoL Configure -> Miscellaneous - > Open a Shell Useful for running winetricks (the way Lutris currently does this is unreliable, tends to get stuck in a 'select default prefix' loop) and the occasional other thing you may need to run from a console.

Sure you could set the prefix manually, but not doing that is half the point of using a prefix manager in the first place.

tannisroot commented 5 years ago

tends to get stuck in a 'select default prefix' loop

what loop? Can you record a video of that or give some steps to reliably reproduce it? Also, can you give me a clear example in which this feature would be useful with a real game?

hollunder commented 5 years ago

Unfortunately I haven't found a reliable way to reproduce it, as far as I can tell it happens on and off, even for the same prefix. The attached screenshot shows the winetricks screen that I speak of. If I click OK I get the very same screen again and I can repeat that ad nauseum.

winetricks-loop

As for the use cases, there isn't one strong one. It's mostly about debugging and trying things from the console. One recent thing I had was that I couldn't figure out where to put env variables and arguments within the Lutris UI. I was unsure where to put them, things didn't work and I didn't know whether I had done it wrong or it just didn't work. With such a console I could have easily fired it up, provided env variables and arguments the usual way, seen that it works and concluded that I messed up specifying the env variables in Lutris.

Or you might just want to use the CLI version of winetricks rather than the GUI.