How to swap the Caps Lock and Control keys on Solaris 10

  1. Edit the ~/.xmodmap file.
    Add the following lines to the file.
    remove Lock = Caps_Lock
    remove Control = Control_L
    keysym Control_L = Caps_Lock
    keysym Caps_Lock = Control_L
    add Lock = Caps_Lock
    add Control = Control_L
  2. Edit the ~/.dtprofile file.
    Add the following lines to the file.
    if [ -f ~/.xmodmaprc ] ; then
    /usr/openwin/bin/xmodmap ~/.xmodmaprc
    fi

No comments:

Good Bye, Folks!

As you may have heard, Fujitsu has completely discontinued Data Center Products and Solutions business in North America on April 1st, 2021. ...