[systemd-devel] systemd should not call KDSKBMODE on a VT with X

Lennart Poettering lennart at poettering.net
Mon Feb 4 13:26:00 PST 2013


On Sat, 02.02.13 14:17, Arthur Taylor (art at ified.ca) wrote:

> Hello systemd developers
> 
> TL;DR: On a VT which X is running, messing with KDSKBMODE on
> underneath X at best has no affect and at worst breaks keyboard input
> badly. In the short term, systemd should stop calling this ioctl
> because it has no benefit and makes no sense.

It sounds to me we indeed want to set K_UNICODE only if K_OFF (or
something else like it) is currently not set.

However, before we change this, there's one thing that makes me wonder:
what does X11 do on shutdown? Does it put the kbd back to K_UNICODE? Or
back to K_XLATE?

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list