Skip to content

Conversation

liff
Copy link

@liff liff commented Sep 12, 2024

If the settings file does not exist in its legacy location in~/.nvidia-settings-rc, store it in$XDG_CONFIG_HOME/nvidia/settings-rc instead.

Fixes #30.

Add an utility function for locating the current user's home directory
using either $HOME or their passwd entry.
If the settings file does not exist in its legacy location in
`~/.nvidia-settings-rc`, store it in
`$XDG_CONFIG_HOME/nvidia/settings-rc` instead.

Fixes NVIDIA#30.
@fxzzi
Copy link

fxzzi commented Jan 31, 2025

thank you, seems to work perfectly for me. Any way we can get this merged in an upcoming release?

@TheDSCPL
Copy link

TheDSCPL commented Feb 4, 2025

@aaronp24 Please, merge... We've been waiting for this since 2018 😿

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

Successfully merging this pull request may close these issues.

Support the XDG Base Directory Specification
3 participants