มันเป็นไปไม่ได้อย่างง่ายดาย
ในฐานะที่เป็นหน้าคน 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.
โดยค่าเริ่มต้นAltGrคือปุ่ม Mode_switch
เป็นไปได้ที่จะแมปรหัสอื่น (หรือAltGr) เป็นMode_switchคีย์เช่นCtrlคีย์ขวา:
xmodmap -e "keycode 105 = Mode_switch Mode_switch"
อย่างไรก็ตามปัญหาคือรหัสนั้นจะไม่ทำงานเหมือนCtrlคีย์ปกติอีกต่อไป
Btw: มีคำถามที่ถามอย่างแม่นยำว่าจะใช้Ctrlคีย์เป็นคีย์ตัวดัดแปลงได้อย่างไร :
วิธีใช้ตัวควบคุมเป็นตัวดัดแปลงด้วย xmodmap?