NVIDIA / nvidia-settings

NVIDIA driver control panel
http://www.nvidia.com/object/unix.html
GNU General Public License v2.0
292 stars 76 forks source link

Support the XDG Base Directory Specification #30

Open Soapux opened 6 years ago

Soapux commented 6 years ago

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Settings are currently stored at $HOME/.nvidia-settings-rc. Following the spec allows for a more organized home directory which makes doing backups easier. The new default location would be $XDG_CONFIG_HOME if set or default to $HOME/.config. Something like $XDG_CONFIG_HOME/nvidia/settings would work.

This doesn't have to do with nvidia-settings, but it would also be nice if the nvidia drivers followed the spec too. They currently use $HOME/.nv/GLCache for data that could be moved to probably $XDG_CACHE_HOME.

tiritto commented 4 years ago

Two years later, this issue still has not been resolved. Please, comply with the XDG standards. It's quite simple in implementation and yet it's such a great QoL improvement.

zjeffer commented 4 years ago

+1

A temporary workaround is to launch nvidia-settings with nvidia-settings --config="$XDG_CONFIG_HOME"/nvidia/settings (you can set an alias to do this). Also make sure the $XDG_CONFIG_HOME"/nvidia/ folder exists

But Nvidia should just comply with XDG standards.

ifohancroft commented 2 years ago

I'd also love for this to be implemented.

liff commented 1 month ago

107 has a patch.