Proxy env variable not working, had to `flatpak override` instead

Hi there,

As I wrote in the title, I already solved the problem using flatpak override, but I still wanted to file this behavior somewhere since it could be a Lutris bug.

Problem description

I just started using Lutris on a Steam Deck. The internet here in China is heavily censored, so I’ve also been using a VPN client, Clash, listening at port 7890. I configured both the OS network settings and ~/.bashrc accordingly, and things have always worked perfectly for years.

When I first launched Lutris days ago, I saw that Wine and the various runtime components weren’t downloading at all, so I went to Preferences > Global options and added an env variable (Key: all_proxy, Value: http://127.0.0.1:7890) and relaunched Lutris, but the progress bars were still stuck at 0%. After searching online, I learned to use sudo flatpak override --env=all_proxy=http://127.0.0.1:7890 net.lutris.Lutris and Lutris immediately started downloading.

Why wasn’t the all_proxy variable in Lutris working? Was this caused by a bug somewhere or some flatpak sandbox network restrictions or something else entirely?

Specs

  • SteamOS 3.6.24 (build 20250313.1) running on a Deck LCD
  • Lutris 0.5.18 (flatpak)
  • Clash for Windows 0.20.39 (flatpak)

Thank you! :slight_smile: