Code Monkey home page Code Monkey logo

Comments (1)

foucault avatar foucault commented on August 26, 2024

Well, this is definitely a bug thanks for reporting it! However it's slightly more complicated than I initially expected. I'm trying to keep the code as much as portable between Windows and Linux (ie. XDG). The thing is the concept of "global" config directory is different between Windows and XDG. The "local configuration directory" is more or less analogous to both operating systems but Windows and XDG treat the "global configuration directory" differently. On Windows the closest to this is again %APPDATA%, which is again what we're using here (so in a sense the "local" and "global" directory are essentially the same). On XDG-based setups $XDG_CONFIG_DIRS does indeed default to /etc/xdg however this is not necessarily the case as $XDG_CONFIG_DIRS can be colon-separated list (similar to $PATH) and the configuration file can reside in any of them essentially. In any case I'll probably handle the XDG case separately if the initial $XDG_CONFIG_HOME case fails to find the file.

That being said, the global configuration was meant to be a way for different users in the system to share a common curve for the GPU and not to run the nvfancontrol service globally. Due to the way the NVIDIA driver interacts with X this is guaranteed to lead to complications.

from nvfancontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.