Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
noctuid opened this issue Apr 28, 2016 · 0 comments

Comments

@noctuid
Copy link
Contributor

noctuid commented Apr 28, 2016

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.

@noctuid noctuid changed the title Default Default Transmission Config File to the User's $XDG_CONFIG_HOME or $HOME/.config Apr 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant