I installed linux mint and the keyboard was a but odd the alt, Ctrl and win all resulted to shift L so I search around and found this command
sudo dpkg-reconfigure keyboard-configuration
once I ran it I chose the generic option with 104 keys like my keyboard once I restarted my keyboard wouldn't work so I got the on screen keyboard and tried a few others but none worked
My keyboard is a redragon varja
And when I was on windows the keyboard worked as intended