COSMIC keyboard layout
This protocol notifies clients of the active keyboard layout group, and allows setting a new value.
Warning! The protocol described in this file is currently in the testing phase. Backward compatible changes may be added together with the corresponding interface version bump. Backward incompatible changes can only be done by creating a new major version of the extension.
zcosmic_keyboard_layout_manager_v1
Manager for creating `zcosmic_keyboard_layout_v1` instances.
get_keyboard_layout(keyboard_layout: new_id<zcosmic_keyboard_layout_v1>, keyboard: object<wl_keyboard>)
Argument | Type | Description |
|---|---|---|
| keyboard_layout | new_id<zcosmic_keyboard_layout_v1> | |
| keyboard | object<wl_keyboard> |
Create a `zcosmic_keyboard_layout_v1` to get and set group for given keyboard.
zcosmic_keyboard_layout_v1
Object to get and set `group` for a particular `wl_keyboard`.
set_group(group: uint)
Argument | Type | Description |
|---|---|---|
| group | uint |
On success, the `group` event will be generated for all clients, and the focused client will receive `wl_keyboard::modifiers` with the new group.
The request will be ignored if `group` is out of bounds.
Compositor Support
| zcosmic_keyboard_layout_manager_v1 | ↓ | ||
| Compositors | |||
| Cage | 0.3.0 | x | |
| COSMIC | 1.11.0 | 1 | |
| flakewm | 3.0.5 | x | |
| GameScope | 3.17.0 | x | |
| Hyprland | 0.57.2 | x | |
| Jay | 1.14.0 | x | |
| KWin | 6.7 | x | |
| Labwc | 0.20.2 | x | |
| Louvre | 2.14.1 | x | |
| Mango | 0.16.3 | x | |
| Mir | 2.26 | x | |
| Muffin | 6.7.4 | x | |
| Mutter | 51 | x | |
| niri | 26.04 | x | |
| phoc | 0.55 | x | |
| Pila | 0.5.1 | x | |
| Qtile | 0.37.1 | x | |
| river | 0.5.0 | x | |
| Sway | 1.11 | x | |
| Treeland | 0.8.0 | x | |
| Wayfire | 0.9.0 | x | |
| Weston | 15.0.1 | x | |
Copyright
Copyright © 2026 System76, Inc
Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.