Tuesday May 29, 2007

Hallelujah!

Ever since I installed Solaris Nevada on my desktop, I've been plagued by an obnoxious problem. Periodically, particularly when using NetBeans, I would type something that would zap the X server. Normally it was while fat-fingering, so I was never sure exactly what it was that I typed to cause the problem, and so I never researched it. I had always assumed that it was going to be some deep and odd issue with the way NetBeans uses Swing.

Well, I just managed to zap my X server while using an xterm. More importantly, I did it by pressing only two keys: CTRL and backspace. A quick search on the Internet turned up OpenSolaris issue 6404762. Pressing CTRL and backspace while num lock is on zaps the X server. The problem is actually a minor issue with some screwed up key mappings. While not stated in the workaround for the issue, the issue description provides enough information to figure out that the way to fix it is to edit the /usr/X11/lib/X11/xkb/symbols/sun file for your locale and swap the Mod2 and Mod3 mappings. Works like a charm!

About

templedf

Search

Archives
« July 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  
       
Today