How to add shortcut key by bash script

view story

http://stackoverflow.com – We are working on a kiosk mode in Linux Ubuntu. We would like to define a shortcut by command line (bash script). Is this possible? We would like to setup our kiosk mode automatically by a bash script. So creating a new shortcut via Compiz isn't possible. Any ideas? (HowTos)