Skip to content

[Request]: Create symlink steamuser -> $USER in the bottle's user directory #3729

@jntesteves

Description

@jntesteves

Tell us the problem or your need

Wine-based runners and Proton-based runners have different directories for the userdir, $USER and steamuser, respectively. This causes the issue that, when changing runners, it'll will seem like the user lost all their data, as the programs will be using a new, clean user directory.

Describe the solution you'd like

I propose as solution, we proactively create the $USER directory before bottle creation, then simply create a symlink called steamuser pointing to $USER. Then create the bottle with whatever runner, and it will use the already created directories and avoid the duplication. That way, both Wine- and Proton-based runners will share the same userdir, and the user won't lose their data when changing runners.

Other solutions?

No response

Additional context and references

I've been using this solution for a long time on my own bottles.

This enhancement would also fix bug #3728

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions