This repository was archived by the owner on Sep 3, 2024. It is now read-only.
Bugfix/keymap#184
Closed
vic1707 wants to merge 17 commits intoChrisTitusTech:testfrom
vic1707:bugfix/keymap
Closed
Bugfix/keymap#184vic1707 wants to merge 17 commits intoChrisTitusTech:testfrom vic1707:bugfix/keymap
vic1707 wants to merge 17 commits intoChrisTitusTech:testfrom
vic1707:bugfix/keymap
Conversation
Update aur-pkgs.txt and pacman-pkgs.txt
Owner
|
fixed in #191 |
vic1707
commented
Jan 22, 2022
Comment on lines
-57
to
+69
| localectl --no-ask-password set-keymap ${KEYMAP} | ||
| echo "KEYMAP=${KEYMAP}" > /etc/vconsole.conf | ||
| mkdir -p /etc/X11/xorg.conf.d/ | ||
| touch /etc/X11/xorg.conf.d/00-keyboard.conf | ||
| cat << EOT >> /etc/X11/xorg.conf.d/00-keyboard.conf | ||
| # Written by systemd-localed(8), read by systemd-localed and Xorg. It's | ||
| # probably wise not to edit this file manually. Use localectl(1) to | ||
| # instruct systemd-localed to update it. | ||
| Section "InputClass" | ||
| Identifier "system-keyboard" | ||
| MatchIsKeyboard "on" | ||
| Option "XkbLayout" "${KEYMAP}" | ||
| EndSection | ||
| EOT |
Contributor
Author
There was a problem hiding this comment.
@ChrisTitusTech unfortunately this change wasn't implemented in #191.
So I think we still have the problem of the keyboard not persisting to the desktop environment 🤔 (I'll test soon and edit this comment).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On the startup script, I added a little note to clarify the input required by the user.
Typing
-frinstead offrcauseslocalectlto fail with errorlocalectl: invalid option -- 'f'.+
The
localectlisn't persistent upon reboot when the installation is finished + when executed manually after the install it doesn't seem to affect anything because we are running X11.When setting up a keymap manually it adds a line to
/etc/vconsole.confas well as in/etc/X11/xorg.conf.d/00-keyboard.conf.My modifications set up those exact modifications to get the keymap setup.
P.S: This approach is working, but really ugly, if someone has a better implementation feel free to let me know!