Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • S Solaar
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • pwr-Solaar
  • Solaar
  • Issues
  • #328
Closed
Open
Issue created Jan 08, 2017 by Administrator@rootContributor

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,

Assignee
Assign to
Time tracking