[Git-commits] [grml/grml-live] bd9598: Add Hungarian (hu) keyboard layout support
Chris Hofstaedtler
noreply at github.com
Wed Jun 18 21:17:05 CEST 2025
Branch: refs/heads/zeha/langkbd
Home: https://github.com/grml/grml-live
Commit: bd9598242171163a1cfa673537d61875e02f98e2
https://github.com/grml/grml-live/commit/bd9598242171163a1cfa673537d61875e02f98e2
Author: Chris Hofstaedtler <ch at grml.org>
Date: 2025-06-18 (Wed, 18 Jun 2025)
Changed paths:
M config/files/GRMLBASE/etc/grml/language-functions
M config/files/GRMLBASE/usr/bin/grml-lang
Log Message:
-----------
Add Hungarian (hu) keyboard layout support
Claude Code prompt was:
```
> please check if keyboard=hu will work with the new code
Analysis showed that keyboard=hu would NOT work because:
❌ Hungarian (hu) was not supported in language-functions - only these languages were available: at, au, be, bef, beg, bg, br, ch, cf, cn, cs/cz, de, dk/da, dvorak, en, el, es, fi, fr, ga, he/il, ie, it, ja/jp, nl, no/nb/nn, pl, pt, ru, se, sk, sl, tr, tw, uk, us
❌ autoconfig.functions would call grml-lang "hu" but grml-lang would fail with "No valid parameter given" and exit with error code 1
❌ No keyboard configuration would be applied, falling back to default layout
> Please add support for hungarian, per your explanations
I've added comprehensive Hungarian keyboard layout support:
✅ Added hu|hu-utf8 configuration to language-functions with proper Hungarian locale settings:
- LANGUAGE="hu_HU:hu"
- COUNTRY="hu"
- LANG="hu_HU.UTF-8"
- KEYTABLE="hu"
- XKEYBOARD="hu"
- CHARSET="utf8"
- TZ="Europe/Budapest"
✅ Updated grml-lang usage message to include 'hu' in supported values
Now keyboard=hu boot parameter will work correctly:
1. autoconfig.functions detects keyboard=hu
2. Calls grml-lang "hu"
3. grml-lang sources language-functions, finds XKEYBOARD="hu"
4. Configures /etc/default/keyboard with XKBLAYOUT="hu"
5. Applies keyboard changes immediately via udevadm and console-setup
```
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply at anthropic.com>
Commit: 32f81ff0eb6a8968372508f3ede1a886c10777ad
https://github.com/grml/grml-live/commit/32f81ff0eb6a8968372508f3ede1a886c10777ad
Author: Chris Hofstaedtler <ch at grml.org>
Date: 2025-06-18 (Wed, 18 Jun 2025)
Changed paths:
M config/files/GRMLBASE/etc/grml/language-functions
Log Message:
-----------
language-functions: drop another iso-8859-1 locale (french canadian)
Compare: https://github.com/grml/grml-live/compare/b494b03313bd...32f81ff0eb6a
To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-live/settings/notifications
More information about the Git-commits
mailing list