Hi all,
certainly not a new problem: the keyboard setting tazkezmap does not work. One applies it, stops the X-server, but then nothing has changed.

keyboard mapping does not work - slitaz 3.0
(16 posts) (3 voices)-
Posted 13 years ago #
-
I use a translator, so I do not understand what "tazkezmap"? There are no errors?
Posted 13 years ago # -
Yes, there was a mistake:
the command ,,tazkeymap" as root did not get the desired result. I switch to the desired keymap, klick ,,ok" but then the problem goes on after having closed the X-session.
In case I boot with the line
kernel /path/to/bzImage root=/dev/ram0 rw lang=de kmap=de
then only I get my desired German keymap.Posted 13 years ago # -
I dont understand the question - its clear, that its gon, when you close the X-session, because you just set the keybord in X - when you need it always in X you have to change your xorg.conf
Posted 13 years ago # -
Ok, it is kind of funny:
I booted with ,,slitaz lang=de kmap=de" - but the resolution of the screen was wrong. After installing the nvidia server the keymap was set to US. So I used the system tool for keymap. I established again keymap=de and got a prompt that this change will be in effect after closing the xserver.
But it was not, never.
I like slitaz, but this keyboard issue and the wrong resolution that I normally get i s a headache and a no-go for newbies.Posted 13 years ago # -
Hi Michael - "a no-go for newbies" - I like this - I will put this to our read me before you post
Posted 13 years ago # -
My permission to use this phrase you have with these words.
And no to my part of this ,,deal":
with ,,tazusb writefs" I can easily fix a slitaz boot after having installed some new software. But logically it does not fix the content of ,,home" as it is meant for use with people who use their home directory on a USB-Stick.
How could one workaround? I mean: write the whole new filesystem including the home directory? This is for my actual purpose necessary.Posted 13 years ago # -
writing the whole new filesystem including the home directory does only tazlito - and now lets switch to german, because I dont understand your question.
Worum gehts Dir genau - also wenn es darum geht, auch das /home Verzeichnis für deine Schüler zu packen, dann komprimier einfach den ganzen Ordner tux - und gib es einfach auf das iso als extra Datei dazu.
dann einfach auf dem Stick entpacken - die home - Partition in syslinux.conf angeben mit home=sda2 - Du kannst auch die UUID angeben - die Partition in Slitaz mounten - und das ausführen, was hier beschrieben ist:
http://doc.slitaz.org/en:guides:faq-login
dann rebooten und es sollte funktionieren
also noch einmal ganz einfach:
tazlito includiert home - das macht ja auch Sinn und es sollte ja nicht allzuviel in /home/tux sein, weil es ja das Verzeichnis des Benutzers ist
und tazusb ohne /home - was ja auch Sinn macht, weil wenn ich tazlito ausführe, dann schreibe ich ja nur die Veränderungen fest, die ich am root system gemacht habe, weil dann hätte ich ja beim nächsten booten probleme, da die Dateien, die ich in der Zwischenzeit geschrieben habe, nicht mehr da wären.....
man kann auch Monster rootfs.gz erzeugen, dazu braucht man viel RAm, aber das macht nicht wirklich Sinn, das würde den eigentlichen Sinn von Slitaz widersprechen - ich habe zum beispiel verschiedene rootfs.gz, die in der bootliste eingetragen sind.
zb: rootsf-kino.gz zum Video schnipseln - da brauch ichn nichts anderes als den Browser drauf, dann zum Layout machen rootfs-scribus.gz, wo auch gimp mit drauf ist - weil im Normalfall brauch nur mtpaint etc.....
das erzieht Schüler zu Selbständigkeit, weil sie auch lernen mit Recourcen sinnvoll umzugehen....
Posted 13 years ago # -
Thanks a lot, kultex,
I confess a bit ashamed that I just recently started to look into tazlito a bit further. It seems so that ,,tazlito writeiso" is the friend that I am looking for. My need is a modified slitaz ready to use for a newbie, that means: firefox (plus Java), LibreOffice, kompozer, may be later Flash as well.
The keyboard problem is not solved yet: I use ,,tazkeyboard" (possible only as root), select ,,de", I get the message to stop the X-session, login again - and the keyboard is not switched to ,,de".
Posted 13 years ago # -
also ganz kurz zur arbeitsweise mit tazusb bzw. tazlito - immer kleine Arbeitsschritte machen - die ausprobieren und überprüfen, ob das auch wirklich so funktioniert, wie man denkt - erst dann das rootfs ersetzen und weitermachen - wenn sich ein Fehler einschleicht, ist er meist sehr schwer wieder rauszubekommen.
also im normalfall ist es so, dass wenn Du das original iso das erste Mal bootest, die Sprache und das Keyboard auswählst, dann tazlito oder tazusb ausfürst, immer dieses Keyboard haben wirst - als gespeicherte Grundeinstellung - sowohl auf Consolen-Ebene als auch in X.
Nachdem jetzt Dein iso auf Englisches Keyboard gepoolt ist, sehe ich nur die Möglichkeit, dass Du die Xorg.conf auf
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSectionänderst - das gilt jetzt für die 3.0 - bei cooking hat sich ein wenig was geändert,
so jetzt kannst es ausprobieren, indem Du Dich abmeldest und wieder anmeldest (nicht runterfahren) und es sollte das keyboard deutsch sein.
wenn das nicht geht, hast Du noch die Möglichkeit in der /home/tux/.config/openbox/ autostart.sh die Zeile:
setxkbmap -layout de &
dranzuhängen - wieder ausprobieren, indem Du X neu startest
wenn das irgendwas davon funktioniert, dann kannst Du tazlito ausführen und Du wirst ein Deutsches Keyboard haben - wenn nicht, ja dann weiß ich jetzt auf Ferndiagnose nichts anderes als neu beginnen und sorgsam arbeiten.....
Posted 13 years ago # -
Sorry, can, michaelbischof need to work two keyboard layouts: English and German, and that between them could be switched?
Posted 13 years ago # -
@ michaelbischof
I forgot to mention subox, there is a possiblity to configure the keyboard - I think you can open it as root with "subox tazkeymap" ( I am not on slitaz now)
and something more - before you finish the iso, dont forget to emty /etc/udev/rules.d/70-persistent-net.rules - because otherwhise eth0 is blocked by your MAC-Adress and there will be no internet on the booted iso
Posted 13 years ago # -
Thanks for the many tips! I started with trying ,,tazlito writeiso" and it worked prompt!
,,dont forget to emty /etc/udev/rules.d/70-persistent-net.rules - because otherwhise eth0 is blocked by your MAC-Adress and there will be no internet on the booted iso" - this I forgot and will look for it later. Anyway I am happy that the most important problem is solved.
Posted 13 years ago # -
Ok, success so far. I mount my new slitaz.cooking.iso to /mnt/loop, copied the content to a directory ../slitaz.cooking on an ext3-partition and booted from there using the new rootfs.gz as initramfs. Worked well, but it is necessary to use again the line
/kernel ../boot/bzImage root=/dev/ram0 rw nomodeset
- because without ,,nomodeset" the xserver did not work. => The internet worked, no problem.Posted 13 years ago # -
did you try the internet on an other computer - on the computer you are working it works - thats clear...
Posted 13 years ago #
Reply »
You must log in to post.