Incorrectly commiting DPI value to config.json
Created by: vcekron
Hi,
Let me just start off by saying that I really appreciate your work, Solaar is quite frankly a necessity for anyone using a Logitech peripheral.
Alright, onto the issue: I believe that Solaar incorrectly writes the dpi information in its config file (that is ~/.config/solaar/config.json
). The auto-generated version looks like this:
{
"4041:ADFAA385": {
"_name": "Wireless Mouse MX Master",
"dpi": "1600",
"smart-shift": 50
},
"_version": "0.9.2"
}
Note the quotation marks around the dpi value but not around the value for smart-shift. I had an issue whereby Solaar didn't apply the dpi settings on device wake, but removing these quotation marks made it work.
This is using a freshly built version from GitHub, by the way (specifically the solaar-git
package from the Arch AUR).
Thanks,