Ask Your Question
0

Turning keyboard LED lights on after boot

asked 2016-03-20 07:09:46 -0500

azemda gravatar image

I have to type the xset led 3 command every time after login. Is there a way to make this command run after every time I boot fedora 23?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-03-20 07:53:41 -0500

You can add that command to the X11 startup.

Either globally for all users by creating /etc/X11/xinit/xinitrc.d/99-xset.sh:

echo "xset led 3" > /etc/X11/xinit/xinitrc.d/99-xset.sh
chmod +x /etc/X11/xinit/xinitrc.d/99-xset.sh

Or on a per user basis, by creating the file ~/.xinputrc, might exist already.

echo "xset led 3" >> ~/.xinputrc
chmod +x ~/.xinputrc
edit flag offensive delete link more
0

answered 2016-03-20 08:54:15 -0500

genodeftest gravatar image

There is a command setleds. Just look up man setleds on a terminal. You can put the commands in a autostart file as suggested by @thomaswood. I'd prefer writing a bash script and adding it to your local account, e.g. by using gnome-tweak-tool or putting it in ~/.config/autostart.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-20 07:09:46 -0500

Seen: 1,869 times

Last updated: Mar 20 '16