Skip to content
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

update.c: work around segfault #30

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

Conversation

01micko
Copy link
Contributor

@01micko 01micko commented Nov 11, 2024

fixes #29

@Consolatis
Copy link
Member

Could we somehow get the system default keymap, maybe via gsettings or some other way? Or in the worst case based on the language used?

@01micko
Copy link
Contributor Author

01micko commented Nov 11, 2024

Could we somehow get the system default keymap, maybe via gsettings or some other way? Or in the worst case based on the language used?

In debian at least there is /etc/default/keyboard

cat /etc/default/keyboard 
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

@01micko 01micko marked this pull request as ready for review November 13, 2024 00:58
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.

If XKB_DEFAULT_LAYOUT doesn't exist the program segfaults
2 participants