Hello hackers hope you guys your doing fine, today were not going to solve any hack box machine or tryhackme, i just wanted to share with you guys how i was able to solve a backlight problem with my gaming keyboard just using my terminal.
**PROBLEM:**
Few month ago i brought a gaming keyboard (**T-Wolf**) full package with it mouse, it is working gud and i loved it alot but the only problem with it,was that on my linux desktop workstation it was not displaying the backlight but in windows it does well so sometimes i become angry with this issues so i decide to google and research problem with it and how i can solve the problem
Here is how i managed to solve the problem
**STEP 1:** Try to click the Scroll Lock button, and see if it works for me it was not working
**STEP 2:** Now fire up your terminal
**STEP 3:** using xset
What is **xset**?
xset command is a user preference utility. we can use xset to enable the backlight for our keyboard.
Now type xset with the following arguments
command:xset -led backlight

Now scroll down and find the option of off and on as see below

Now we can see to set LED state off or on , put a breakpoint there first.
The first thing u need to do is to turn the backlight off first and then we can turn it on
**STEP 3:** Turn the LED off first
**command: xset -led 3**
**STEP 4:** Now lets turn the keyboard back light on
**command: xset led 3**
And from there on you should be able to see a your backlight keyboard working
My special thanks here goes to (**@malwarpeter,backninja23,hashghost**)
**I quote From these guys:**
"If you get any problem try to google it and if you finally manage to solve it try to document it, i like this statement"