Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: Rabie on July 22, 2022, 06:28:34 AM
-
Hi There,
i have a problem with changing Xorg Keymaps from English to German on PiCore.
i am using raspberry pi 3 with PiCore 13.0.3.
I can typ German in the Console if i switch tty but not in Xorg like in aterm for example.
I am using the bootcode lang=de_DE.UTF-8 kmap=de in cmdline.txt
mylocal.tcz is also loaded
locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=
tc@box:/mnt/mmcblk0p1$ locale -a
C
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
POSIX
i added loadkmap </usr/share/kmap/qwertz/de-latin1.kmap to bootsync.sh
but still can't write german in the programms
any advice ? :-\
[EDIT]: Changed bootlocal.sh to bootsync.sh. Rich
-
Kmaps only affects the console and Xvesa, not Xorg.
For Xorg you have to config/set one file, you can follow this thread but replace to what country you want.
Edit script change uk to de, save, run and reboot.
http://forum.tinycorelinux.net/index.php/topic,24893.msg164258.html#msg164258
-
Hi patrikg,
Kmaps only affects the console and Xvesa, not Xorg.
For Xorg you have to config/set one file, you can follow this thread but replace to what country you want.
Edit script change uk to de, save, run and reboot.
http://forum.tinycorelinux.net/index.php/topic,24893.msg164258.html#msg164258
your script did work :)
Thank you very much
-
Hi Rabie
... i added loadkmap </usr/share/kmap/qwertz/de-latin1.kmap to bootlocal.sh ...
That command belongs in bootsync.sh , not bootlocal.sh. See:
http://forum.tinycorelinux.net/index.php/topic,23698.msg148996.html#msg148996
When it comes to automatically starting programs, scripts, daemons, etc., the basic rules of thumb are:
1. Things that need to run before a GUI are started (like kmaps) should go into /opt/bootsync.sh.
2. Things that need to run after a GUI are started (like starting a GUI app) should go into ~/.X.d.
3. Things that are not sensitive to when they are started can go into /opt/bootlocal.sh which runs in the background.
When starting something from numbers 1 or 3, you need to specify a full path. They run before any user is logged in.
Item 2 is unique to each user.
-
Hi Rich,
i added loadkmap </usr/share/kmap/qwertz/de-latin1.kmap to bootlocal.sh
sorry i meant bootsync.sh :P
Thx
-
Hi Rabie
No problem. Your original post has been corrected. :)
-
Thank you @Rabie, for taking your time to report that you solved the problem. :)