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
- Microsoft Windows kernel changes don't suddenly mean big things for Linux gaming
- PlayStation 1 emulator DuckStation changes license for no commercial use and no derivatives
- Grand Theft Auto V gets BattlEye anti-cheat, breaks online play on Steam Deck / Linux
- 29 games are getting delisted from GOG
- Prime Gaming is giving away quite a lot of games - so don't miss out
- > See more over 30 days here
-
Pocketpair respond to the Nintendo and Pokemon Company …
- Turkeysteaks -
Pocketpair respond to the Nintendo and Pokemon Company …
- Pengling -
GNOME 47 'Denver' released with Accent Colours and vari…
- pleasereadthemanual -
Last Epoch drops the Native Linux version, devs tell pl…
- EagleDelta -
Last Epoch drops the Native Linux version, devs tell pl…
- tfk - > See more comments
- Will i have 165FPS and above if i buy RX 7600 XT?
- scaine - Gaming on Linux is no longer excluded in the Wayback Machine…
- redneckdrow - V-Sync not working randomly (Nvidia RTX 4070 - Fedora 40)…
- lordgabor - Nvidia card underperforming on Wayland
- bonkmaykr - WINE Game Screenshot Thread
- Avehicle7887 - 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
(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
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",
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)