[Wayland-bugs] [Bug 98194] [wishlist] API to use keyboard-specific XkbOptions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 10 14:50:20 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98194

            Bug ID: 98194
           Summary: [wishlist] API to use keyboard-specific XkbOptions
           Product: Wayland
           Version: 1.5.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: v.schneidermann at gmail.com

I am using a laptop with its internal keyboard and an external keyboard when
not on the go.  Both keyboards have different layouts, therefore I've figured
out two different sets of XkbOptions to make the most of this situation with
Xorg [1].

However there doesn't seem to be a way to make this kind of setup work with
wayland compositors based on libinput.  I've spoken to the respective authors
and it appears that the only way of changing keyboard configuration is by
setting environment variables like `XKBOPTIONS`.  The libinput API doesn't seem
to cover programmatic access and modification of keyboards either, only pointer
devices.  Please let me know if I'm wrong about this, otherwise consider this
an enhancement request.

[1]:
https://github.com/wasamasa/dotfiles/blob/master/etc/X11/xorg.conf.d/20-keyboards.conf

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161010/dbf4df50/attachment.html>


More information about the wayland-bugs mailing list