Suggestions (#3) - config files position (#3) - Message List

config files position
 unsolved

I think that in order to be more conform to the standard use of the directorys in the linux file system you should move the directory that olds the config files (/usr/local/etc/cwiid) in /etc/cwiid/ or something similar...

Valdar.

  • Message #11

    I tend to agree, but the location used is the default for Autoconf, and I assume that they are complying. Use './configure --sysconfdir=/etc' to put conf files in the expected location. I'll add a note about this in the readme.

    • Message #13

      Ok, for now i use the config option as you suggested. But i'm thinking on another point: since wmimput can run with user privilage isn't better to put the config directory in user's home? Somethin like: ~/.cwiid/ that is created with the default config files if is not present.

      • Message #14

        That's in there - directory search order is ~/.cwiid/wminput, $sysconfdir/cwiid/wminput. ~/.cwiid isn't created since nothing is installed there, but it's significance is documented in cwiid/wminput/README.

        • Message #15

          :( Sorry my mistake i didn't read thoes readme before posting.

Attachments

No attachments created.