this post was submitted on 30 Jun 2023
0 points (50.0% liked)
Linux Gaming
19234 readers
2 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well for steam games, you can set launch options. Maybe you could do something like
commandbefore; %command%; commandafter
? Keep %command% literally as it is, Steam interprets that and executes the game in its place.i know that i can run commands, as i said in the post...but commandafter doesn't exist afaik
I haven’t tried it but if you put that command after a ; it only should execute after the game exits.
touch ~/start.txt; %command%; touch ~/end.txt
this should in theory create an empty start.txt at launch, and an empty end.txt file after exiting, yes?
Yes, that's what I would assume
After a quick test, it does work! Just tested it with Worms W.M.D running in Proton.
fantastic! i'll test aswell as soon as i am home.
Thanks mate!