Bug 379566

Summary: Address Book should be stored under $XDG_DATA_HOME
Product: [Applications] trojita Reporter: Elvis Angelaccio <elvis.angelaccio>
Component: OtherAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED UPSTREAM    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Elvis Angelaccio 2017-05-05 21:15:26 UTC
Trojita currently stores the address book in the ~/.abook folder, but it would be more consistent if it used $XDG_DATA_HOME/trojita/abook instead (at least when trojita runs in a XDG-compliant [1] desktop).

[1]: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
Comment 1 Thomas Lübking 2017-05-06 07:48:23 UTC
The background is that the original abook¹ has no actual XDG support (you can pass a config and data file on start, but it only looks up ~/.abook by default)

Otherwise one would of course have used QSettings defaults anyway.

[1] http://abook.sourceforge.net/
Comment 2 Elvis Angelaccio 2017-05-06 08:48:53 UTC
Oh I didn't know abook was an external project. Reported upstream: https://sourceforge.net/p/abook/feature-requests/13/
Comment 3 Jan Kundrát 2017-05-08 17:23:09 UTC
Closing as per comment #1