Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Removes standard function of the Capslock key
- # Capslock now behaves like a normal Shift key
- #
- # If you don't know what "bash" is then don't
- # use this script
- #
- # --- HOW TO USE ---
- #
- # Save the contents of this paste into a .sh file
- # then mark the file as executable (either with
- # chmod +x or with the file properties dialogue)
- #
- # Put the file into the list of programs which are
- # started when you boot or login
- # Changes will take effect on relogin
- #
- # --- CREDITS ---
- #
- # Original Author: Michael Koch
- # (m<DOT>koch<AT>emkay443<DOT>de)
- # remapped Capslock to a Ctrl key
- # from 2013-08-23
- #
- # Edited by: Marko Milse
- # (marko<DOT>milse<AT>yahoo<DOT>com)
- # Version: 2013-08-25
- #
- # License: Copyleft
- xmodmap -e "remove Lock = Caps_Lock"
- xmodmap -e "keycode 0x42 = Shift_L"
- xmodmap -e "add Shift = Shift_L"
- exit 0
Advertisement
Add Comment
Please, Sign In to add comment