I just tested in XFCE and Gnome, in those 2 DE the alt+number shortcut is sent to the application.
It just confirms me that it’s something in Cinnamon that interprets it as a shortcut and catch the keypress without sending it to the application.
Another strange thing.
I tried with xev to see what was sent as an event.
An ALT+2 makes this:
KeyPress event, serial 38, synthetic NO, window 0x7200001,
root 0x1df, subw 0x0, time 46674796, (72,-19), root:(100,77),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 38, synthetic NO, window 0x7200001,
root 0x1df, subw 0x0, time 46675382, (72,-19), root:(100,77),
state 0x8, keycode 11 (keysym 0x32, 2), same_screen YES,
XLookupString gives 1 bytes: (32) "2"
XmbLookupString gives 1 bytes: (32) "2"
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x7200001,
root 0x1df, subw 0x0, time 46675530, (72,-19), root:(100,77),
state 0x8, keycode 11 (keysym 0x32, 2), same_screen YES,
XLookupString gives 1 bytes: (32) "2"
XFilterEvent returns: False
KeyRelease event, serial 38, synthetic NO, window 0x7200001,
root 0x1df, subw 0x0, time 46675940, (72,-19), root:(100,77),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
But an ALT+1 sends this:
KeyPress event, serial 38, synthetic NO, window 0x7200001,
root 0x1df, subw 0x0, time 46752277, (158,145), root:(186,241),
state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
FocusOut event, serial 38, synthetic NO, window 0x7200001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 38, synthetic NO, window 0x7200001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 38, synthetic NO, window 0x7200001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 38, synthetic NO, window 0x0,
keys: 4294967263 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
KeyRelease event, serial 38, synthetic NO, window 0x7200001,
root 0x1df, subw 0x0, time 46753251, (158,145), root:(186,241),
state 0x8, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
I don’t know if this is relevant tough…