Skip to content

Instantly share code, notes, and snippets.

@Elijas
Last active February 10, 2024 06:32
Show Gist options
  • Save Elijas/abd2d61f8789cd3ed6d357a297411dd8 to your computer and use it in GitHub Desktop.
Save Elijas/abd2d61f8789cd3ed6d357a297411dd8 to your computer and use it in GitHub Desktop.
How to fix Logitech G915 going back to rainbow after sleep on Linux

How to fix the reset to rainbow lightning effect after keyboard wakes up from sleep

Install G HUB (Windows or MacOS), connect keyboard with Lightspeed, go to Settings, and set ON-BOARD MEMORY MODE to ON. This is a one-time setup for the lifetime of a keyboard.

Other features that work on Linux

Works out of the box:

  • All the media buttons, game mode (disables the Win key), volume control. In other words, all the buttons work.
  • Pressing cycles through brightness levels.
  • Pressing + [NUM] (where [NUM] is 0, 1, 2, ..., 9) allows you to change the lightning effect on the fly.
  • Pressing + - and + + changes the lightning effect speed for the non-custom effects.

Requires one-time setup with G HUB (connected through Lightspeed), then works everywhere you attach the keyboard to, including Linux:

  • You can create custom lightning effects in the G HUB app (or download free lightning effects created by others from the G HUB) and then store two of them on the keyboard itself. The animations are accessible through + 8, + 9 (You can also set it to FN + F1, FN + F2, etc.)
  • You can change the keyboard sleep timeout
@BreathTaken
Copy link

Uh you lose your ability to do individual key colors when using on-board, I just tried it. Probably worthwhile if you just use an all-one-color profile or are comfortable with that. I don't mind the 2 seconds of rainbow after returning from sleep if that's the alternative.
I'll keep'a lookin' for a solution though! Golly-gee there's a darn tootin' ton of bugs with this application! I also came across another today, where additional keys were being created when using drag-n-click multi-select with the Freestyle brush. I went from 115 keys to 121 keys, where 6 of them did not change any colors on the keyboard when I would change their color. Can't get rid of the keys now.. It's bizarre really. I'd screenshot here but I don't want to detract further from the OP. So yeah, this probably works but as soon as I found that I couldn't colorize keys individually with on-board profiles, I decided to move on. Thanks anyhow!

@phantasyconcepts
Copy link

To set the lighting pattern, you can use OpenRGB, but the changes are not permanent, particularly when you are using it wirelessly. I have found that a single touch of the space bar or even the system going to sleep mode will knock one of the key colors off. If you have trouble installing the OpenRGB package, it might be easier to build it yourself. I recommend that approach.

@Elijas
Copy link
Author

Elijas commented Oct 20, 2021

Uh you lose your ability to do individual key colors when using on-board

That is not true. You can create a Profile with individual button colors and then set it to one of the memory slots, e.g. FN+1, and use on-board mode.

@BreathTaken
Copy link

BreathTaken commented Oct 24, 2021 via email

@siegmour
Copy link

siegmour commented Jan 10, 2022

I struggled with the same issue on Windows. Here is how I solved it (https://www.reddit.com/r/LogitechG/comments/s0wa3b/logitech_g915_and_g915_tkl_custom_lighting/)

  1. Create your custom lighting profile through G-Hub
  2. Upload the lighting profile to the on-board memory
  3. Go to Lightsync settings and select the Preset tab
  4. From the Effect drop-down menu, you can now see the custom profile which you uploaded to the on-board memory - select it. This can be any custom effect you create, but it must be selected through the Effect tab, otherwise it will not work.
  5. Enable on-board mode, and upload the custom profile with the new light settings to the keyboard

You should instantly see your custom lighting and profile selected after the upload, which is indicating that everything is working correctly. You don't have to select it with the Brightness key + 8.

@Arcitec
Copy link

Arcitec commented Dec 2, 2022

Proper Linux Fix:

  1. Install OpenRGB for Linux. Preferably version 0.8 or newer. They provide newer packages for manual install, if your distro is outdated or doesn't ship it.
  2. Create a color profile for your keyboard in OpenRGB, and save it with a name such as "Desktop".
  3. Go into the OpenRGB settings and enable running at startup, running minimized, and tell it to automatically load the "Desktop" profile you created.

That's it. That is all you have to do. There is zero need to save any permanent profiles inside the keyboard memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment