Skip to content

Default Transmission Config File to the User's $XDG_CONFIG_HOME or $HOME/.config #31

Description

@noctuid

The previous pull request I made for this does in fact work when pia-tools is run as root. logname can be used to get the name of the logged in user. For example,

sudo -i -u $(logname) echo \$XDG_CONFIG_HOME

If XDG_CONFIG_HOME isn't set, it could fall back to $HOME/.config/transmission-daemon/settings.json.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions