WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Missing setxkbmap on Tinycore 11  (Read 421 times)

Offline a.dester

  • Newbie
  • *
  • Posts: 2
Missing setxkbmap on Tinycore 11
« on: August 31, 2020, 07: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

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8251
Re: Missing setxkbmap on Tinycore 11
« Reply #1 on: August 31, 2020, 08:28:43 AM »
Hi a.dester
Welcome to the forum.

It appears TC7 was the last version that had  setxkbmap.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8251
Re: Missing setxkbmap on Tinycore 11
« Reply #2 on: August 31, 2020, 08:32:08 AM »
Hi a.dester
Will  kmaps  do what you need:
http://tinycorelinux.net/11.x/armv6/tcz/kmaps.tcz.info

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8251
Re: Missing setxkbmap on Tinycore 11
« Reply #3 on: August 31, 2020, 08:42:52 AM »
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.

Offline a.dester

  • Newbie
  • *
  • Posts: 2
Re: Missing setxkbmap on Tinycore 11
« Reply #4 on: September 01, 2020, 01:19:02 AM »
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 newbielink:https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Using_setxkbmap [nonactive] is working correctly (and I'm already using it), but doesn't allow to do it while X is running.
« Last Edit: September 01, 2020, 01:20:48 AM by a.dester »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 8251
Re: Missing setxkbmap on Tinycore 11
« Reply #5 on: September 01, 2020, 11:38:44 PM »
Hi a.dester
Attached is a script to build and package  setxkbmap.  Download the script into a work directory, then:
Code: [Select]
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:
Code: [Select]
tce-load -i setxkbmapand try it out. If it looks OK, you can submit the 2  .tar.gz  files in the work directory to the repository.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 12526
Re: Missing setxkbmap on Tinycore 11
« Reply #6 on: September 04, 2020, 03:48:37 AM »
setxkbmap extracted from piCore-7.x Xorg-7.7-bin and posted to piCore-11.x repos