Solaris Advanced User's Guide

x86: Using the Remapping Script

Follow these steps to create and use your remapping script:

  1. Create a file in your home directory that is called fkeys by using any text editor.

  2. Type in the script as shown in fkeys Script.

  3. Save the changes and quit the editor.

  4. At the prompt, type the following command.


    $ xmodmap fkeys 
    

    Note –

    You must be in the same directory as the script file.


  5. 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.

fkeys Script


! 
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