Skip to content

Add support for Linux #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add support for Linux #4

wants to merge 1 commit into from

Conversation

isabekov
Copy link

Identify keyboard layout using xkblayout utility from X11 window system.

@imomaliev imomaliev mentioned this pull request Mar 25, 2024
@danarth
Copy link

danarth commented Mar 26, 2024

@isabekov please could you provide more information about the xkblayout utility? I have the X11 window system, and I can get the current keyboard layout with:

setxkbmap -query | awk '/layout/ {print $2}'

I can't find any docs for a xkblayout command but plenty exists for setxbmap - perhaps this would be a more easily adoptable solution?

@isabekov
Copy link
Author

On ArchLinux, it is found in AUR which uses the source code from Dmitry Alenichev's project:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants