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

Use standard locations for Tribler directories and files #299

Closed
mihaic opened this issue Nov 12, 2013 · 9 comments
Closed

Use standard locations for Tribler directories and files #299

mihaic opened this issue Nov 12, 2013 · 9 comments

Comments

@mihaic
Copy link
Member

mihaic commented Nov 12, 2013

Instead of [user home dir]/.Tribler and [desktop]/TriblerDownloads, use standard locations.

For Linux, use Freedesktop.org standards, perhaps through PyXDG:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
http://www.freedesktop.org/wiki/Software/xdg-user-dirs/

For Mac OS, I found this after a quick search:
https://developer.apple.com/library/mac/documentation/FileManagement/Conceptual/FileSystemProgrammingGuide/FileSystemOverview/FileSystemOverview.html

For Windows, this looks like a good place to start:
http://msdn.microsoft.com/en-us/library/windows/apps/hh967755.aspx

@NielsZeilemaker
Copy link

I agree that the default downloads directory is a bit strange currently. The .Tribler location is fine by me, on windows I think its the correct location.

@egbertbouman egbertbouman added this to the V9.0: Shadow Internet milestone Nov 3, 2014
@Pathemeous
Copy link

Also add an uninstall script for Mac. Couldn't find it myself.

@whirm
Copy link

whirm commented Feb 10, 2016

@Pathemeous You just have to throw the app bundle to the trash.

@Pathemeous
Copy link

Friend of mine did that, the .Tribler in the home directory remained after the install.

@whirm
Copy link

whirm commented Feb 10, 2016

Ah, I see what you mean. Do you really need a script to remove a directory?

@whirm whirm removed their assignment Feb 10, 2016
@Pathemeous
Copy link

Not so much for the action, but something that removes it automatically when the application is uninstalled would be nice.

@whirm
Copy link

whirm commented Feb 10, 2016

Can you trigger scripts when an app bundle gets deleted on OSX?

@devos50
Copy link
Contributor

devos50 commented Feb 10, 2016

I don't think it is possible to detect when an app got deleted and perform actions after that. I also think it's not a big problem since when I execute ls -la ~ , I see many left-over files from programs I've already uninstalled.

@synctext synctext modified the milestones: V9.9: Shadow Internet, Backlog Jul 14, 2020
@drew2a drew2a modified the milestones: Next-next release, Backlog Sep 15, 2021
@qstokkink qstokkink removed this from the Backlog milestone Aug 23, 2024
@qstokkink
Copy link
Contributor

After 11 years, some things changed in our file management. Our files are now in the appropriate locations, and user data files can now be removed through the Settings / Versions tab (to remedy the lack of an "uninstall" script on Mac). We will make no further changes to the locations or uninstall scripts and I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

10 participants