Bug 379566 - Address Book should be stored under $XDG_DATA_HOME
Summary: Address Book should be stored under $XDG_DATA_HOME
Status: RESOLVED UPSTREAM
Alias: None
Product: trojita
Classification: Applications
Component: Other (show other bugs)
Version: git
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Trojita default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-05 21:15 UTC by Elvis Angelaccio
Modified: 2017-05-08 17:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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