While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- Valve dev details more on the work behind making Steam for Linux more stable
- Proton Experimental adds DLSS 3 Frame Generation support, plus fixes for Dragon Age: The Veilguard, Rivals of Aether II and more
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
Hybrid gaming controller MoveMaster has a new website, …
- einherjar -
Steam Deck OLED: Limited Edition White and Steam Deck A…
- Klaas -
Steam Deck OLED: Limited Edition White and Steam Deck A…
- Stella -
Steam Deck OLED: Limited Edition White and Steam Deck A…
- chickenb00 -
Half-Life 2 free to keep until November 18th, Episodes …
- jarhead_h - > See more comments
- Minecraft Exit Code 1
- wvstolzing - Do you think that Steam will become open source in the future?…
- RokeJulianLockhart - Steam and offline gaming
- Dorrit - Weekend Players' Club 11/15/2024
- Ehvis - What do you want to see on GamingOnLinux?
- Liam Dawe - See more posts
View PC info
I would *really* like to always output logs, but steam wants to put them in `$HOME` which drives me bananas. Does anyone know if there is a way to change the location where it outputs the logs?
It's documented here:
https://github.com/ValveSoftware/Proton#runtime-config-options
View PC info
View PC info
(Though I don't enable PROTON_LOG often enough to have thought about that though, generally only for one run, and generally to log a startup crash at that, then I take out the variable. Those can get pretty huge if running a noisy game for any length of time (e.g. 100M once with a Borderlands 3 log I generated lol)
But now that you mention it, I think I'm going to add that to my user_settings.py template so my builds always have that PROTON_LOG_DIR var. Then if I forget to remove it from games' launch options it's just going to be on my big "scratch" partition on mechanical storage... that's where I do all my building and staging and stuff, I'm not chewing up flash cells.
View PC info
By the way, where is the best place to set the environment for steam? I guess `.profile` is the only real option.
I'll probably only turn this on for games that sometimes crash, but it would be nice not to have to set `PROTON_LOG_DIR` every time.
Last edited by ExpandingMan on 17 February 2023 at 3:08 pm UTC
I usually just stick stuff like that in the launch options for a game if needed.
Not sure if .profile is sourced for the GUI sessions or just a login shell. I guess it depends on your distribution?
View PC info
View PC info
It should be just
PROTON_LOG_DIR="/path/to/dir"
Edit: Wrong (see subsequent posts)... it's
"PROTON_LOG_DIR": "/path/to/dir",
and don't miss the comma
On a line by itself in user_settings.py
You could just export that variable globally, for example somewhere in /etc/profile.d
export PROTON_LOG_DIR="/path/to/dir"
P.S. ~/.profile or /etc/profile or scripts in /etc/profile.d are supposed to apply to ALL shells, login or not. If a distro doesn't do that, then it's broken and in need of a slap.
Last edited by Grogan on 18 February 2023 at 12:46 am UTC
Something like this (inside the user_settings dict):
"PROTON_LOG_DIR": "/path/to/dir",
View PC info
That's likely what he did wrong, or possibly missed the comma (because it does work in the file... I added it last night lol)