Environment variables are settings that are passed to programs.
Environment variables can be written in front of the command that is executed. Syntax:
environmentVariable=value command. For example, if you want to pass the variable
EDITOR set to
crontab -e, you could run
EDITOR=nano crontab -e. If you want to pass more than one variable, just write a space between them, for example
LANG=en EDITOR=nano crontab -e
Let's say you want to enable dxvk_async, so you want to pass
DXVK_ASYNC=1 to your game.
- Right click your game, click Configure
- Click System options and scroll down to Environment Variables
- Click Add and input
DXVK_ASYNCinto the Key box, and
Let's say you want to enable FSR, so you want to pass
WINE_FULLSCREEN_FSR=1 to your game.
- Go to your library, right click your game, click Properties
- In the General tab, you see Launch Options
WINE_FULLSCREEN_FSR=1 %command%in the box below
Let's say you want to enable dxvk_async, and FSR, and you want to set the FSR strength to 4, so you want to pass
WINE_FULLSCREEN_FSR_STRENGTH=4to your game.
- Go to your library, click your game, and click settings
- In the other tab, you see Advanced Options (Environment Variables)
DXVK_ASYNC=1 WINE_FULLSCREEN_FSR=1 WINE_FULLSCREEN_FSR_STRENGTH=4in the box below