Follow these steps to create and use your remapping script:
Create a file in your home directory that is called fkeys by using any text editor.
Type in the script as shown in fkeys Script.
Save the changes and quit the editor.
At the prompt, type the following command.
$ xmodmap fkeys
You must be in the same directory as the script file.
Click a mouse button in the Workspace to make the script effective.
After you complete these steps, you can use the function keys as Help, Cut, Copy, Paste, Undo, and Front keys.
! keysym F2 = L10 keysym F3 = L6 keysym F4 = L8 keysym F5 = L9 keysym F8 = L4 keysym F9 = L5 remove control = Control_R keycode 0x47 = Meta_R add mod1 = Meta_R