This means file placement depends on where the script is launched from.
If the tool is started from different directories, config and preset files can end up scattered across the filesystem. That is functional, but messy and not a good long-term behaviour.
Fix approach
Move config and preset storage to a stable XDG-style location, for example under:
~/.config/SDG2042X/
or a similar dedicated application path.
Status
Still open.
Not fixed in the current v0.2 working copy.
### Problem
Config and preset files are still based on a bare filename and default to the current working directory.
### Current code
```python
CONFIG_FILE = "SDG2042x.config"
PRESET_BASENAME = "SDG2042x.dat"
```
### Why this is a problem
This means file placement depends on where the script is launched from.
If the tool is started from different directories, config and preset files can end up scattered across the filesystem. That is functional, but messy and not a good long-term behaviour.
### Fix approach
Move config and preset storage to a stable XDG-style location, for example under:
```text
~/.config/SDG2042X/
```
or a similar dedicated application path.
### Status
Still open.
Not fixed in the current v0.2 working copy.
tgohle
self-assigned this 2026-04-17 12:09:17 +00:00
tgohle
changed title from Config and preset files still default to current working directory to [Task]: Config and preset files still default to current working directory2026-04-18 11:21:13 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
Config and preset files are still based on a bare filename and default to the current working directory.
Current code
Why this is a problem
This means file placement depends on where the script is launched from.
If the tool is started from different directories, config and preset files can end up scattered across the filesystem. That is functional, but messy and not a good long-term behaviour.
Fix approach
Move config and preset storage to a stable XDG-style location, for example under:
or a similar dedicated application path.
Status
Still open.
Not fixed in the current v0.2 working copy.
Config and preset files still default to current working directoryto [Task]: Config and preset files still default to current working directory