4JX / L5P-Keyboard-RGB

Cross platform software to control the RGB/lighting of the 4 zone keyboard included in the 2020, 2021, 2022 and 2023 lineup of the Lenovo Legion laptops. Works on Windows and Linux.
GNU General Public License v3.0
325 stars 41 forks source link

how to auto run #33

Closed StackingUpDaMeths closed 2 years ago

StackingUpDaMeths commented 2 years ago

lights effects looks crazy,but how do i auto run the program with the last saved light settings

4JX commented 2 years ago

I've held off adding this into the app until I can figure out if https://github.com/4JX/L5P-Keyboard-RGB/issues/26 is a one off issue or not.

(Assuming your'e on Windows) You can currently have it start automatically by either manually creating a task in the task scheduler or placing a shortcut to the app in the startup folder.

As for loading a specific profile when it starts, you'll need to either specify the effect and options through the command line mode or by placing a profile named default.json in the same folder the executable is in.

StackingUpDaMeths commented 2 years ago

i dont know how to do command line can you please tell me how to auto load last saved light profile

4JX commented 2 years ago

First, unzip the app and place it in a folder of your choosing. Open it, select the effect and settings you want and click "Profile" > "Save" and save the file as default.json.

imagen

It should be in the same folder as the app, like so:

imagen

Hold the "Windows" key and R, a propmt will appear. Type shell:startup and hit Ok.

imagen

You'll see a new window with a folder located at C:\Users\YOUR_USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup. Make a shortcut of the app and place it there.

imagen

Now whenever you reboot the app will automatically launch once you log in. If you want to change the effect that is used when the app launches simply save a new default.json profile. If you want to stop it from starting up again, delete the shorcut in the folder mentioned before.

I'll eventually add an option to launch without the window showing up, but for now this should work. Let me know how it goes.

StackingUpDaMeths commented 2 years ago

thanks a lot it worked.Hope you will add 2 or more cool effects in future

4JX commented 2 years ago

If anything comes to mind, do tell. Might be able to make it happen.

StackingUpDaMeths commented 2 years ago

sure

StackingUpDaMeths commented 2 years ago

If anything comes to mind, do tell. Might be able to make it happen.

Can you please add some dynamic light mods similar to christmas? adding 2 or 3 new effects will be crazy im addicted to your software never uses lenovos light effects

Kacas86 commented 2 years ago

Hi, thank you for this app. So many Legion 5 Pro with this problem. it's annoying that Lenovo cant handle. I followed your instructions to add this to the startup. It worked, but it automatically popup on screen, so we have to close it to the tray everytime. Is it possible to start with windows but minimazed to the tray?

4JX commented 2 years ago

@Kacas86 There is currently no way to start the app that way