Had some trouble getting the small aluminum keyboard to do a delete to the right. But with the help of this post I got it workings. Basically you need to create a .xmodmap file in your home directory with with the keycode of the key that you want to be Delete in this case 169 is for the “eject” button:
keycode 169 = Delete
Also by adding to .xmodmap:
keycode 133 = Alt_L MetaL
keycode 134 = Alt_R MelaR
You can map the command keys to Alt left and right respectively. You can use the “xev” program to determine the keycodes.