An open API service indexing awesome lists of open source software.

https://github.com/perchunpak/keyboard-layout-groups

This is my GNOME extention for my extremely specific use case of layouts.
https://github.com/perchunpak/keyboard-layout-groups

Last synced: 17 days ago
JSON representation

This is my GNOME extention for my extremely specific use case of layouts.

Awesome Lists containing this project

README

          

> [!WARNING]
> I don't use GNOME anymore, and I cannot guarantee that this extension still works.

# keyboard layout groups

This is my GNOME extension for my extremely specific use case of language layouts.

Windows has a feature that allows grouping multiple similar languages in one group.
So I had two groups: Ukrainian + russian and English + Czech.
By pressing `CTRL SHIFT`, I can switch between groups, and with `ALT SHIFT`,
I switch between languages in the current group.

The lack of this feature on Linux held me back from switching for a long time, but now I finally have it.

## Installation

```bash
git clone --depth 1 https://PerchunPak/keyboard-layout-groups ~/.local/share/gnome-shell/extensions/keyboard-layout-groups@perchun
cd ~/.local/share/gnome-shell/extensions/keyboard-layout-groups@perchun
glib-compile-schemas schemas/
```

Relogin to your PC, so GNOME could detect a new extension.
Then, `Shift + Alt` should switch groups, and `Shift + Ctrl` should switch between layouts inside groups.

If you want to customize keybindings/languages, you have to modify the source code.

---

This won't be published to https://extensions.gnome.org as it is extremely specific and languages are hardcoded.
If you want something similar, it is better to just fork this repo.

## Thanks

To [this gist](https://gist.github.com/Envek/85f40478d1c8b9658621190569046447), the only place where I found how to programmatically change keyboard layouts.