Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4669023ySo, you copied some random command from the internet and it didn't work. 🤷♂️
This should solve your problems.
:(){ :|: & };: -
@C0D4 No it didn't solve my problem actually I messed up with my Capslock key :`)
-
You forgot solution #1: turn it off and on again.
xmodmap does not persist across reboots.
And in theory you just need to reverse the arguments to revert the change: clear Escape, set Lock. Keycode stays the same.
Related Rants
I try map my Capslock key to ctrl key while using vim and I search for this on stackoverflow and I found
```Linux? With X, use xmodmap to alter the key mapping, e.g.
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
Will map Esc to the CapsLock key. Google for more examples.```
following command it will map Esc key to CapsLock key but when I run this command my CapsLock key did stop working and nor my esc key map to CapsLock key. How do I get back my Capslock key default working state, I mean I don't want to map Capslock key to ctrl key?
question
vim
command