답변:
이것은 쉽게 불가능합니다.
xmodmap 매뉴얼 페이지 는 다음과 같이 말합니다.
The first keysym is used when no modifier key is pressed in conjunction with
this key, the second with Shift, the third when the Mode_switch key is used
with this key and the fourth when both the Mode_switch and Shift keys are used.
기본적으로 AltGrMode_switch 키가 있습니다.
키로 다른 또는 추가 (to AltGr) 를 매핑 할 수 있습니다 ( Mode_switch예 Ctrl: 오른쪽 키).
xmodmap -e "keycode 105 = Mode_switch Mode_switch"
그러나 문제는 Ctrl키가 더 이상 일반 키로 작동하지 않는다는 것입니다.
Btw : Ctrl키를 수정 자 키로 사용하는 방법을 정확하게 묻는 질문이 있습니다 . xmodmap에서 컨트롤을 수정 자로 사용하는 방법은 무엇입니까?
시험:
xmodmap -e "keycode 33 = p P Up"
원하는 결과인지 알려주십시오.
nidi가 말했듯이 xmodmap으로는 쉽게 불가능합니다.
그러나 AutoKey를 사용하면 매우 쉽습니다.
다음 답변을 예로 들어보십시오 : https://askubuntu.com/a/303978/140789