I’m not altogether sure that this is the right place for this but it follows on from my recent post - **Failure of “Konsole” thru’ ‘No protocol specified’ **- through which I was ably guided a the Global Moderator, nrickert, & which turned up some anomalies in Tumbleweed. Here’s another:
localhost:~ # xmodmap -e “remove lock = Caps_Lock”
No protocol specified
I then tried a formula used by nrickert & copied successfully by me in the previous post:
localhost:~ # ( xmodmap -e “remove lock = Caps_Lock” & )
No protocol specified
but that didn’t work either, and nor did my last (rather forlorn) hope:
localhost:~ # ( xmodmap -e “remove lock = Caps_Lock” )
No protocol specified
which didn’t work either (not that I expected it to).
I also tried the same with:
Bash - 4.4.23 : /usr/bin/setxkbmap -option ‘’ -option ‘ctrl:nocaps’
No protocol specified
I tried all these as variations as both Root and User with the same result. The ‘Nps’ problem seems to be a Tumbleweed bug. What can I say but “Grrr”.
Into the command line of Leap15, I entered ‘xmodmap -e “remove lock = Caps_Lock”’ which it accepted without demur but which made no difference to the “Caps Lock” control, but "/usr/bin/setxkbmap -option ‘’ -option ‘ctrl:nocaps’ " worked perfectly & disabled the key. I have now put this into the “.profile” and all is well.
OK! I have become aware that I can go:
System Settings=>Input Devices=>Keyboard Hardware and Layout=>Keyboard=>Advanced=>Caps Lock behaviour=>Caps Lock is disabled. (and this is what I eventually did with Tumbleweed)
But, to be perfectly honest, putting: xmodmap -e “remove lock = Caps_Lock” or even the slightly more complicated: /usr/bin/setxkbmap -option ‘’ -option ‘ctrl:nocaps’ into a file is no more difficult - especially as these files - .bash_aliases, bash_profile & .bashrc - have seen service with me, with occasional modification, for the last twenty years or so!
A bug - “grr” indeed!
dmk