View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002366 | ardour | other | public | 2008-08-08 21:56 | 2008-08-08 21:56 |
| Reporter | joshsmith | Assigned To | |||
| Priority | normal | Severity | tweak | Reproducibility | N/A |
| Status | new | Resolution | open | ||
| Product Version | SVN/2.0-ongoing | ||||
| Summary | 0002366: Implement XDG Base Directory Specification | ||||
| Description | http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html This standard should be implemented for this application, especially the $XDG_CONFIG_HOME spec. The config folder should be in the shell variable $XDG_CONFIG_HOME/ardour2 or ~/.config/ardour2 by default | ||||
| Additional Information | so (i think), change the following in the function get_user_ardour_path in globals.cc: char* envvar; if ((envvar = getenv ("HOME")) == 0 || strlen (envvar) == 0) { return "/"; } path = envvar; path += "/.ardour2/"; ------- to -------- char* envvar; char* envvarxdg; if ((envvar = getenv ("HOME")) == 0 || strlen (envvar) == 0) { return "/"; } if ((envvarxdg = getenv ("XDG_CONFIG_HOME")) == 0 || strlen (envvarxdg) == 0) { path = envvar; path += "/.config/ardour2/"; } else { path = envvarxdg; path += "/ardour2/"; } | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2008-08-08 21:56 | joshsmith | New Issue |