Skip to content

Instantly share code, notes, and snippets.

@najathi
Last active July 6, 2024 19:23
Show Gist options
  • Save najathi/e94258fce5dfb710ebee112996b2a5ca to your computer and use it in GitHub Desktop.
Save najathi/e94258fce5dfb710ebee112996b2a5ca to your computer and use it in GitHub Desktop.
Automatically enable the scroll lock in ubuntu
1. navigate to home directory
nano ~/enable_scroll_lock.sh
#!/bin/bash
xset led named "Scroll Lock"
Make the Script Executable:
chmod +x ~/enable_scroll_lock.sh
Open the "Sesion and Startup" and Add as a command.
Enable Scroll Lock
Enable Scroll Lock on startup
/home/najathi/enable_scroll_lock.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment