Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: a.dester on August 31, 2020, 10:56:10 AM
-
Hello everybody, this is my first post.
I am unable to find "setxkbmap" command to change X keyboard layout at runtime on Tinycore 11 for RPi.
Previously I run TC version 7 and setxkbmap was included in Xorg-7.7-bin.tcz package.
Do you know if it is now located somewhere else?
Thank you
Kind regards
Alessandro
-
Hi a.dester
Welcome to the forum.
It appears TC7 was the last version that had setxkbmap.
-
Hi a.dester
Will kmaps do what you need:
http://tinycorelinux.net/11.x/armv6/tcz/kmaps.tcz.info
-
Hi a.dester
If you look here:
https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Using_setxkbmap
The section labeled "Using X configuration files" appears to show an alternative method to setxkbmap.
-
Hi Rich,
thank you.
I'm already using kmaps.tcz to change keyboard mapping in busybox shell.
The point is that I can't change the keyboard mapping in Xorg at runtime.
Modifying the X config file as explained at https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Using_setxkbmap (https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Using_setxkbmap) is working correctly (and I'm already using it), but doesn't allow to do it while X is running.
-
Hi a.dester
Attached is a script to build and package setxkbmap. Download the script into a work directory, then:
chmod 775 build_setxkbmap.sh
./build_setxkbmap.sh
When it completes, check package/submitqc.txt for errors. If there are no errors, then copy the setxkbmap.tcz and setxkbmap.tcz.dep
files in that same directory to your tce directory. Then:
tce-load -i setxkbmap
and try it out. If it looks OK, you can submit the 2 .tar.gz files in the work directory to the repository.
-
setxkbmap extracted from piCore-7.x Xorg-7.7-bin and posted to piCore-11.x repos