Freshly installed 14.04, CoolerMaster Storm keyboard. I'm not at all concerned with being able to toggle/turn off the LED, I simply want the LED to turn on before login, i.e. while looking at the login screen, the LED should already be on.
I've set up a keyboard shortcut to run xset led 3
, but this is less than ideal, as I have to be logged in in order to use the shortcut. I'd like this to happen automatically instead.
I'm very new to both Linux and scripting, so please ELI5/walk me through it. I know that you can run scripts at startup as per this, but I don't understand how to actually write the script or how to "put it in" /etc/rc.local
. Do I simply fire up gedit and type xset led 3
directly into rc.local
below the #comments
, but above the exit 0
? Do I make another script somewhere else and link to it in rc.local
? Am I overthinking it (probably)?
In short, I'd like a more detailed explanation of what Mitch was saying in the link. Thanks for your time.
/etc/rc.local
looks like: http://imgur.com/c2ZdCsi.I made sure it was executable: http://imgur.com/MavjohI
– Baku9 Mar 18 '16 at 00:35sudo /etc/init.d/rc.local start
on a terminal and restart. – willl459 Mar 18 '16 at 00:48sudo
. D: Usesudo -i
. – Seth Mar 18 '16 at 01:20xset led 3
as a Startup Application. However, this still doesn't have the desired effect of doing the same thing, but without having to log in first (executing before login, rather than at login). – Baku9 Mar 18 '16 at 04:46which xset
– jet Apr 12 '16 at 17:27