Kwaadpepper / msi-keyboard-CLI

Just a nodejs cli to control https://github.com/stevelacy/msi-keyboard
http://freethepepper.com
GNU General Public License v2.0
64 stars 14 forks source link

Is it possible without sudo requirement? #11

Closed gavsiu closed 8 years ago

gavsiu commented 8 years ago

Both msi-keyboard-CLI.js and msibacklight requires me to input a password. This means I cannot have it start as a service on boot.

Although with a lot less options, this backlight enabler does not require sudo permissions.

Is there a way to launch this without asking for my password?

Kwaadpepper commented 8 years ago

sorry but no, the lib it depends on require that root launches the thing, But if you want you can use the root crontab to launch your service sudo crontab -e

gavsiu commented 8 years ago

Thanks, but I'll just use the other one unless this changes in the future. I want to be able to write custom scripts to change the colors, not only start on boot. I liked that this had fade.