I've seen lots of posts to various forums on how fiddle with the caps lock key. The easiest is to uses System Settings > Keyboard | Keyboard Layout, then click Options, then make a selection under Caps Lock Key Behaviour. Trouble is, the behaviour I want doesn't appear in the list.
I want the Caps Lock to function as a simple SHIFT key. Because often when I'm typing I hit CapsLock instead of SHIFT -- so I don't want ESC or CTRL mapped there.
I tried all kinds of things with setxkbmap -option caps:____ but haven't figured out to make it work.
if this can't be done, pls let me know, and I'll just turn it off with systems settings or setxkbmap -option caps:none
TIA
-Sadhu
<solved> Cinn 17 remap Caps Lock key to SHIFT
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
<solved> Cinn 17 remap Caps Lock key to SHIFT
Last edited by sadhu on Fri Sep 11, 2015 5:19 am, edited 1 time in total.
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
Re: Cinn 17 remap Caps Lock key to SHIFT
There is an option to disable the capslock key. Not precisely what you asked for, but it would in any way prevent doing an effect, that you do not want.
Re: Cinn 17 remap Caps Lock key to SHIFT
Thanks cosmo, but I know that I can completely disable it. I know two or three ways to disable it. I can remap it to esc, ctrl, alt, or swap its function with those keys--as I mentioned in the first post.
What i want is the caps lock key to be just another shift key. Press CapsLock and a letter and get the capital letter. Release CapsLock and press a letter and get a lower case letter.
In the meantime I've disabled it. As I've mentioned above.
BTW do you happen to know the name or code for the shift key? If you do, then I could enterin a terminal.
What i want is the caps lock key to be just another shift key. Press CapsLock and a letter and get the capital letter. Release CapsLock and press a letter and get a lower case letter.
In the meantime I've disabled it. As I've mentioned above.
BTW do you happen to know the name or code for the shift key? If you do, then I could enter
Code: Select all
setxkbmap -option caps:<code for SHIFT>
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
Re: <solved> Cinn 17 remap Caps Lock key to SHIFT
Found out how to do it: remap the key using xmodmap. Create a text file containing
Then run the xmodmap progam: Now Shift Lock is just plain Shift_Left key.
Then I have to run that command at startup.
-Sahdu
Code: Select all
keycode 66 = Shift_L NoSymbol Shift_L
Code: Select all
xmodemap <textfilename>
Then I have to run that command at startup.
-Sahdu
sabbe sattā bhavantu sukhitattā. LM 21.2-64 Cinn 5.8.4
Re: <solved> Cinn 17 remap Caps Lock key to SHIFT
Thank you for this solution! It worked (when
It's odd how keyboard settings offer all those other options, but not acting as the left [Shift]. It shouldn't be hard for the people who know where to look, to add that option.
xmodemap
was replaced by xmodmap
).It's odd how keyboard settings offer all those other options, but not acting as the left [Shift]. It shouldn't be hard for the people who know where to look, to add that option.