Xev can't detect Caps_lock

view full story

http://www.unix.com – Hi: I am trying to remap Caps_lock to something else but just encountered an unexpected issue: the xwindows can't even detect Caps_lock. I tried with xev, there was no events shown when Caps_lock key was toggled. the key itself still works though, meaning it does toggle the uppercase/lowercase mode (except when being used in xev). is xev suppoped to detect Caps_lock (or Num_lock)? if it is, what could cause it to ignore them? BTW, there is no ".xmodmap" in my home directory yet. Also, I am using Vnc if it matters. Thanks. (HowTos)