On Sun, May 04, 2003 at 10:14:04PM -0400, Mark L. Kahnt wrote: > On Sun, 2003-05-04 at 16:11, Ron Johnson wrote: > > On Sun, 2003-05-04 at 13:19, Thomas Krennwallner wrote: > > > Hi! > > > > > > On Sun May 04, 2003 at 11:51:52AM -0500, Ron Johnson wrote: > > > > Thanks, but I haven't touched /etc/inittab > > > > > > > > $ dir /etc/inittab > > > > -rw-r--r-- 1 root root 2006 Nov 1 2001 /etc/inittab > > > > > > Aha! I thought it is default to disable C-A-D. Accourding to shutdown(8) > > > it checks whether the whitelisted user(s) is logged in and then shuts > > > down. Are you logged in when pressing C-A-D? And C-A-D won't work with > > > X. > > > > Well, this is interesting. > > > > I've been running all my failed tests using the *right* CTRL and > > ALT keys. > > > > When I use the *left* keys, it works like a charm. Why would > > this be? > > > > -- > > That would be because left and right Ctrls and Alts send different > keycodes, particularly with the right alt and non-English keyboards > (right alt is often a compose or additional character set key.) I too use the right alt key by preference. So in /etc/console/default.map.gz I have keycode 56 = Alt keycode 100 = Alt and in ~/.Xmodmap keycode 0x40 = Alt_L keycode 0x71 = Alt_L (UK-layout 102-key keyboard, IBM "clicky" type :-) ) Left and right Ctrls either send the same keycodes on this keyboard or are interpreted identically, so don't need a hack. I think it's same keycodes. -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
Attachment:
pgpNlqxK8DySC.pgp
Description: PGP signature