wroberts / rogauracore

RGB keyboard control for Asus ROG laptops
MIT License
696 stars 109 forks source link

Automatic launch on startup #89

Open GBInformatics opened 1 year ago

GBInformatics commented 1 year ago

Hello,

I'm trying to set up ROG AURA CORE to start automatically when the operating system starts but I can't. Do you have any solution to help me please?

p2p-sys commented 1 year ago

For example:

  1. Create file /etc/systemd/system/rogauracore.service

[Unit] Description = Rogauracore autostart service

[Service] User = root Group = root Type = simple ExecStart = /usr/bin/bash -c 'rogauracore brightness 1; rogauracore single_colorcycle 1'

[Install] WantedBy = multi-user.target

  1. Execute

systemctl daemon-reload

systemctl enable rogauracore

systemctl start rogauracore

GBInformatics commented 1 year ago

Many thanksss