Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change application data folder location #5786

Open
Snake883 opened this issue Dec 3, 2020 · 2 comments
Open

Change application data folder location #5786

Snake883 opened this issue Dec 3, 2020 · 2 comments

Comments

@Snake883
Copy link

Snake883 commented Dec 3, 2020

For the .Tribler folder, instead of using %APPDATA%, use:

A) Program directory location.
or
B) Custom directory location.

I would like to configure this during installation. I would also like to see something in the UI to change it after installation. I'm also okay with a .config file option.

I have Tribler installed on a different drive than my User Data drive (space issues). But Tribler doesn’t use use the “Program Files” folder, and instead uses the “User Data” %APPDATA% folder.

Tribler version/branch+revision:

v7.6.0-exp1

Operating system and version:

Windows

@Snake883 Snake883 changed the title [Enhancement] Change application data folder location Change application data folder location Dec 3, 2020
@qstokkink
Copy link
Contributor

Thanks for the suggestion, this is indeed something we currently don't allow you to conveniently change.
However, as a workaround, you should already be able to set the TSTATEDIR environment variable. So, either:

a. [easiest] Set the environment variable from the Windows "Edit the system environment variables" tool. You may need to restart for this to take effect.
b. [hardest] Temporarily use a different folder for single run of tribler.exe, by launching through cmd:

SET "TSTATEDIR=C:\SomeOtherFolder\"
tribler.exe

@qstokkink qstokkink added this to the 7.7.0 December milestone Dec 4, 2020
@xoriole xoriole modified the milestones: 7.7.0 December, Backlog Dec 22, 2020
@qstokkink
Copy link
Contributor

An update after 4 years: we tried option A) Program directory location in an experimental Tribler release. However, because both C:\ and C:\Program Files are protected, this led to many crashes and angry testers.

@qstokkink qstokkink removed this from the Backlog milestone Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants