cosmic-settings
cosmic-settings copied to clipboard
Settings > Input Devices > Keyboard
Keyboard settings in COSMIC is where the user will be able to manage input sources and keyboard shortcuts.
Input Sources
Users should be able to add Input sources by clicking on "Add input source" button at the bottom of the ListView with input sources. Clicking this button should bring up the ContextDrawer with the list of input sources and a search field to enable people to quickly find what they need.
Users should be able to drag Input sources inside the ListView to rearrange them. Each input source should have a View-more icon button at the end of the list item that brings up the menu with options to move the item inside the list, view keyboard layout, removing the input source, and additional settings if they are available.
The copy underneath the heading of the section specifies the keyboard binding for switching input sources. It should change here if one customizes it in keyboard shortcuts.
When there is more than one input source added Input Sources applet should be added to the Panel (see Panel configurations designs).
Special Character Key
Compose key setting is shown in this section. Clicking on the List item with Compose key should open the ContextDrawer with the options to set Compose key to a specific modifier.
Keyboard Shortcuts.
Clicking on "View and customize shortcuts" should take the user to the Keyboard Shortcuts page.
I would love a per-device Input Source.
My laptop keyboard layout is GB, but my mechanical keyboard is US. Switching is an option but it'd be much nicer if it could be set per-device.
Per-device input settings are supported in cosmic-comp now with an input_devices
setting, but aren't exposed in the UI. But this doesn't include keyboard layout.
Keyboard layout works a bit differently from a technical standpoint. A client is sent a single "keymap" (https://wayland.app/protocols/wayland#wl_keyboard:event:keymap), that probably isn't reasonable to change dynamically depending on what keyboard is used.
It should be possible to have a the compositor automatically switch "group" (like when you switch layouts with a key bindings) based on the keyboard used, though. But it seems like a pretty specialized feature.
That explains why it's not a feature I've seen before.
Thanks for explaining that to me!
Not sure if this is a known issue or not.
My custom layout that worked in X11/Wayland on stable PopOS! does not show up in the selector. It is english special layout. I installed it the same way as before (installation guide https://github.com/binarybottle/engram/tree/master/install/linux/x_keyboard_extension).
Maybe its not PopOS!'s issue, but it is a regression from previous version.