<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [wishlist] API to use keyboard-specific XkbOptions"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98194">98194</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[wishlist] API to use keyboard-specific XkbOptions
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>libinput
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>v.schneidermann@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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]:
<a href="https://github.com/wasamasa/dotfiles/blob/master/etc/X11/xorg.conf.d/20-keyboards.conf">https://github.com/wasamasa/dotfiles/blob/master/etc/X11/xorg.conf.d/20-keyboards.conf</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>