22

Well, how? There is that "SET LAUNCH OPTIONS" button, but I believe that is only fit to command line switches.

1 Answer 1

34

It is possible to prefix the command with your environment variable in the set launch options like so:

YOUR_VARIABLE=1 %command%
6
  • Does this still work? The linked docs don't mention it.
    – Jeroen
    Oct 19, 2016 at 18:49
  • It really works according to /proc/<game pid>/environ.
    – and
    Aug 6, 2017 at 10:22
  • 1
    Is there a way to do this with multiple options? Would separating them with semicolons work? Aug 25, 2017 at 21:33
  • 1
    You just leave a space, so my current one is mesa_glthread=true R600_DEBUG=sbcl,hyperz,llvm,sisched,forcedma vblank_mode=0 %command%.
    – pbhj
    Mar 11, 2018 at 17:05
  • Jan 2023 - it does indeed still seem to work
    – demaniak
    Jan 28, 2023 at 20:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .