Mailinglist Archive: opensuse-bugs (4758 mails)

< Previous Next >
[Bug 1046436] after installation in "german", desktop has english keyboard layout
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 12 Jul 2017 08:47:03 +0000
  • Message-id: <bug-1046436-21960-La7aIRONpq@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1046436
http://bugzilla.suse.com/show_bug.cgi?id=1046436#c15

--- Comment #15 from Thomas Blume <thomas.blume@xxxxxxxx> ---
(In reply to Steffen Winterfeldt from comment #10)
There are actually two things:

(1)

/usr/bin/localectl --no-convert set-keymap de-nodeadkeys
Failed to set keymap: Failed to execute program org.freedesktop.locale1:
Permission denied

localectl does dbus calls to talk to systemd-localed.
Unfortunately, org.freedesktop.locale1 is not registered with dbus in the
installation system:

-->
# dbus-send --system --print-reply --type=method_call
--dest=org.freedesktop.locale1 /org/freedesktop/locale1
org.freedesktop.locale1.SetVConsoleKeyboard string:"de-nodeadkeys" string:""
boolean:false boolean:true
Error org.freedesktop.DBus.Error.Spawn.ExecFailed: Failed to execute program
org.freedesktop.locale1: Permission denied
--<

The easiest is probably to create a temporary unit that runs localectl at first
system boot.
Something similar is done via systemd-firstboot.service.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >