SliTaz SliTaz Forum

You are not logged in.

#1 2012-01-21 08:58:22

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

keyboard mapping does not work - slitaz 3.0

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.

Offline

#2 2012-01-21 13:42:20

black dog
Member
Registered: 2011-04-09
Posts: 331

Re: keyboard mapping does not work - slitaz 3.0

I use a translator, so I do not understand what "tazkezmap"? There are no errors?

Offline

#3 2012-01-21 14:17:06

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

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.

Offline

#4 2012-01-21 19:32:24

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: keyboard mapping does not work - slitaz 3.0

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

Offline

#5 2012-01-21 20:44:38

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

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.

Offline

#6 2012-01-21 23:02:55

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: keyboard mapping does not work - slitaz 3.0

Hi Michael - "a no-go for newbies" - I like this - I will put this to our read me before you post

Offline

#7 2012-01-22 15:56:11

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

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.

Offline

#8 2012-01-22 22:52:33

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: keyboard mapping does not work - slitaz 3.0

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....

Offline

#9 2012-01-23 19:54:49

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

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".

Offline

#10 2012-01-23 22:02:40

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: keyboard mapping does not work - slitaz 3.0

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.....

Offline

#11 2012-01-24 02:25:20

black dog
Member
Registered: 2011-04-09
Posts: 331

Re: keyboard mapping does not work - slitaz 3.0

Sorry, can, michaelbischof need to work two keyboard layouts: English and German, and that between them could be switched?

Offline

#12 2012-01-24 08:11:03

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: keyboard mapping does not work - slitaz 3.0

@ 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

Offline

#13 2012-01-24 14:51:33

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

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.

Offline

#14 2012-01-24 15:44:31

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

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.

Offline

#15 2012-01-24 17:52:10

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: keyboard mapping does not work - slitaz 3.0

did you try the internet on an other computer - on the computer you are working it works  - thats clear...

Offline

#16 2012-01-24 18:26:15

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: keyboard mapping does not work - slitaz 3.0

No, thanks for this ,,second thought". I tried this on the same computer but before handing it out I will correct it. Anyway, I am quite happy now

- that it is quite easy to obtain the desired result with tazlito

- that finally I got a x-server with cooking

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.57 MiB (Peak: 1.77 MiB) ]