wroberts/rogauracore

[BUG] Command sets US keyboard on launch

ovaltriangle opened this issue · 1 comments

Some time ago I used this software on Debian and had no issues at all. Now on Arch, however, whenever the command is executed, my keyboard layout changes, becoming the US one (or UK, I'm not that keyboard-layout savvy).
This is fine for my startup script as I can just append setxkbmap -layout it to the rogauracore command, but it gets annoying if I have to change the color or poweroff (black color) the leds.
The only keyboard which seems to be affected is the X one.

Steps to reproduce

  • Select a different KB layout than US/UK using setxkbmap (e.g. setxkbmap -layout it)
  • Launch any command of rogauracore (try setting a color)

Expected behaviour
The color of the led change, with no other changes happening

What actually happens
The color changes successfully, but the X keyboard layout gets set to US/UK

This bug seemed to be caused by a misconfiguration of Arch Linux on my part.
localectl --no-convert set-x11-keymap it solves the issue.