how to enable scroll lock in ubuntu 20
xmodmap -e 'add mod3 = Scroll_Lock'
how to enable scroll lock in ubuntu 20
xmodmap -e 'add mod3 = Scroll_Lock'
how to enable scroll lock on ubuntu 21.04
The Solve from Multi Steps 100% :
Step 1 :
ls /sys/class/leds/ ## input6::scrolllock
Step 2 : ## for test
ls '/sys/class/leds/input6::scrolllock' ## brightness
cat '/sys/class/leds/input6::scrolllock/brightness'
######
The only thing which is important for us is the brightness file content.
0 means the LED is off.
1 means the LED is on
########
step 3 :
##We get the current LED state by checking the brightness file's content 0 (it's currently off):
cat '/sys/class/leds/input6::scrolllock/brightness'
##To switch the LED on, we must set that file's content to 1:
echo 1| sudo tee '/sys/class/leds/input6::scrolllock/brightness'
step 4 :
## To switch the LED on during every boot ##
sudo nano /etc/rc.local ## add tow commands in below :
#!/bin/bash
echo 1| sudo tee '/sys/class/leds/input6::scrolllock/brightness'
step 5 :
sudo chmod +x /etc/rc.local ##for change accses file
sudo init 6 ## for reboot
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us