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

Kay Sievers kay at vrfy.org
Thu Feb 7 18:34:19 PST 2013


On Fri, Feb 8, 2013 at 3:31 AM, Jan Engelhardt <jengelh at inai.de> wrote:
> On Friday 2013-02-08 02:59, Lennart Poettering wrote:
>
>>On Wed, 06.02.13 01:04, Jan Engelhardt (jengelh at inai.de) wrote:
>>
>>>
>>> On Tuesday 2013-02-05 01:36, Kay Sievers wrote:
>>>
>>> >On Sat, Feb 2, 2013 at 11:17 PM, Arthur Taylor <art at ified.ca> wrote:
>>> >
>>> >> KDSKBMODE is a virtual console ioctl which changes the current "mode"
>>> >> of the virtual console keyboard for that particular virtual terminal.
>>> >> That is, the virtual console keyboard mode, like the keymap, is a
>>> >> per-virtual terminal setting which is saved and restored when
>>> >> switching virtual terminals.
>>> >
>>> >Are you really sure about this? The keymap seems to be global on my
>>> >box. Changing the keymap in any VT changes it for all VTs. VTs only
>>> >have a per-VT font here.
>>>
>>> Speaking of which, how does one configure systemd so that font is also
>>> global, like it used to be?
>>
>>It is, in git:
>>
>>http://cgit.freedesktop.org/systemd/systemd/commit/src/vconsole/vconsole-setup.c?id=d3b37e846950aab3ce940c46204b729552093df8
>
> I would have expected some tunable in /etc.
> Who knows, maybe next month I like having different fonts per tty again :p

We support only one single font for all VTs, and there will be no
per-VT settings in vconsole.

Font setting is not a privileged operation, any user logged-in can do
its own stuff here and change it, it will just mess up everything. :)

Kay


More information about the systemd-devel mailing list