You can create .sh files with an application like notepad++(windows)(Don't forget to save your file in UNIX format) or any editors like nano or vim (linux) or you can launch your device's nano or vim or etc. Because the .sh file will be just executed (here) you can type commands inside it.And,to be honest,the existing .sh files are also a bunch of commands that could be written in X-Terminal one by one without any problems(But it will slow you down). To integrate a key you should type 4 lines for it including: Line 1:keycode Line 2:key virtual mouse number Line 3:virtual mouse's x Line 4:virtual mouse's y For example Code: gconftool-2 --set --type int /apps/preenv/(exename)/key_103_key 103 #This is the key "g" gconftool-2 --set --type int /apps/preenv/(exename)/key_103_mouse 1 #The key "g" is using the mouse NO.1 gconftool-2 --set --type int /apps/preenv/(exename)/key_103_x 357 gconftool-2 --set --type int /apps/preenv/(exename)/key_103_y 272 # Virtual click dimensions for the key "g" Note that you can't evade the formal procedure. If you have any problems,e.g you don't know the keycode you can publish your .sh file here and I will fix the problem for you. Try the cloud596's experiment.
gconftool-2 --set --type int /apps/preenv/(exename)/key_103_key 103 #This is the key "g" gconftool-2 --set --type int /apps/preenv/(exename)/key_103_mouse 1 #The key "g" is using the mouse NO.1 gconftool-2 --set --type int /apps/preenv/(exename)/key_103_x 357 gconftool-2 --set --type int /apps/preenv/(exename)/key_103_y 272 # Virtual click dimensions for the key "g"