Bug 1141 - Store data in $XDG_DATA rather than .workrave
Status:
NEW
Component:
Core :: UNIX
Version:
1.10
Hardware:
All All
Importance:
P5 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Jan 6 2014 16:28:07 UTC
by:
d3vid seaward
Modified:
Feb 2 2014 21:19:54 UTC
WhoWhenWhatRemovedAdded
Description
d3vid seaward  Jan 6 2014 16:28:07 UTC
Steps to reproduce:

 * Install Workrave (e.g. from PPA on Ubuntu 13.10)
 * Start Workrave
 * Locate data folder

What should happen:

 * Data folder is located in $XDG_DATA_HOME/workrave (default value would be ~/.data/workrave)

What happens instead:

 * Data folder is located in ~/.workrave

Notes:

 * If I am misunderstanding the purpose of this folder, it could be $XDG_CONFIG_HOME instead.
Comment 1
Rob Caelers  Feb 2 2014 21:19:54 UTC
Sounds like a good idea. I think the XDG standard didn't exists back in 2002 when Workrave was first released. Changing the data folder will require migrating existing files from .workrave to the new directory. 

Patches are welcome :-)