Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-20-2016, 12:20 PM
|
#1
|
LQ Newbie
Registered: Dec 2016
Posts: 4
Rep: 
|
How do I activate the LED backlighting of a Devastator II keyboard?
Can anyone give this novice a Step-by-Step process that will automatically illuminate the LED backlighting of a Devastator II keyboard upon Start Up? I'm running Kali Linux. The keyboard's Instructions refer to the Scroll Lock key for toggling ON/OFF. Apparently, that's for a Windows OS as it has no effect. And, if there is a way to control the brightness of the backlight, that could be useful, as well. Thanks.
|
|
|
12-20-2016, 12:27 PM
|
#2
|
Member
Registered: May 2011
Location: Texas
Distribution: debian, ubuntu, centos stream
Posts: 849
|
|
|
1 members found this post helpful.
|
12-20-2016, 12:53 PM
|
#3
|
LQ Newbie
Registered: Dec 2016
Posts: 4
Original Poster
Rep: 
|
Thanks, erik2282. I have Googled it, just not sure I completely understand the procedure(s).
|
|
|
12-20-2016, 01:02 PM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
power supply. it has to have one.
the procedure of that first link looks copy paste to me.
Code:
#!/bin/bash
FLAGS=$(xset -q | awk 'NR==2' | awk '{ print $10 }')
if [ "$FLAGS" = 00000000 ]; then
xset led on
else
xset led off
fi
then you'd have to put a line in your .xinitrc or somewhere file that will load the shell script upon login, or in a place your kernel will run it upon boot up. Just be sure you have xset installed.
Last edited by BW-userx; 12-20-2016 at 01:04 PM.
|
|
1 members found this post helpful.
|
12-20-2016, 05:03 PM
|
#5
|
LQ Newbie
Registered: Dec 2016
Posts: 4
Original Poster
Rep: 
|
Woohoo! keyboard is illuminated!! Thanks for the assistance.
|
|
|
12-20-2016, 05:27 PM
|
#6
|
LQ Newbie
Registered: Dec 2016
Posts: 4
Original Poster
Rep: 
|
By chance, would it be possible to get the backlight powered up BEFORE signing in on Kali, when I power up the pc?
|
|
|
All times are GMT -5. The time now is 06:48 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|