As the title suggests, I get an error when I run .Xmodmap which should be correct.
xmodmap through /.Xmodmap
.Xmodmap is
remove Lock=Caps_Lock
Keysym Caps_Lock=Escape
That's what it says.
Also, the error is
xmodmap:.Xmodmap:1:bad keysym in remove modifier list 'Caps_Lock', no correcting keycodes
xmodmap:.Xmodmap:2:bad keysym target keysym 'Caps_Lock', no corresponding keycodes
xmodmap—2 errors encountered, aborting.
That's right.
How can I stop this kind of error?
By the way, this is Ubuntub 17.10
Additional Information
%xmodmap-pke Results
keycode66 = Caps_Lock NoSymbol Caps_Lock
% setxkbmap-print Results
xkb_keymap{
xkb_keycodes {include "evdev+alias(qwerty)"};
xkb_types {include "complete"};
xkb_compat {include "complete"};
xkb_symbols {include"pc+us+inet(evdev)};
xkb_geometry {include"pc(pc105)"};
};
% setxkbmap-query Results
rules —evdev
model —pc105
layout:us
As a result of the last xmodmap
, when the Caps_Lock disappears anywhere, it seems that KEYSYMNAME is not assigned to the keycode.
remove Lock=Caps_Lock
keysym Caps_Lock = Escape Caps_Lock
It might work if
Answer to a similar question in AskUbuntu.
Looking at "setxkbmap-print", "setxkbmap-query", there are no specific options settings, so it seems to remain the default.
"There is ""keycode66=Caps_Lock NoSymbol Caps_Lock"", so there seems to be no problem, but is it possible that it has been executed twice?"
Do I get the same error message if I run the following commands one by one from the command line instead of .Xmodmap?
xmodmap-e'remove lock=Caps_Lock'
xmodmap-e'keysym Caps_Lock=Escape'
© 2024 OneMinuteCode. All rights reserved.