14:45 - Thursday, 17 April 2014

Swapping Behaviour Of Win And Alt Key In Solaris 10 CDE

I’m using a PC keyboard on Solaris 10 Machine running Common Desktop Environment (CDE). My default keyboard mappings are

  • Win-Key => Meta
  • Alt-Key => Alt

which is very frustrating to use in Emacs because the most common modifier Meta has been moved to the Windows key compared to default behaviour on PC-Linux Machine.

I’v tried to figure out how to remap this by editing ~/.xmodmap and then running xmodmap but without sucess.

I have unfortunately now xev program installed on the machine so I can’t read out the keycodes either but these should be standard as I’m using a Microsoft keyboard.

Any ideas?

Share

Advertisement

Comment