WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: german keyboard layout: looking for a ToDo  (Read 5741 times)

Offline Capodastro

  • Newbie
  • *
  • Posts: 33
german keyboard layout: looking for a ToDo
« on: May 16, 2015, 03:33:43 AM »
Hi,
I didn't find useful information about configuring the keyboard for German language.
putting all information together and checking the paths it should sound in text modus:

"sudo loadkeys /user/share/kmap/qwertz/de-latin1-nodeadkeys.kmap:"

but no loadkeys utility and I am condemned to type in English for the rest of my life! :)
Any help? Thanks a lot.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: german keyboard layout: looking for a ToDo
« Reply #1 on: May 16, 2015, 04:49:16 AM »
That would be
Code: [Select]
sudo loadkmap < /usr/share/kmap/qwertz/de-latin1-nodeadkeys.kmap

You can also use boot code
Code: [Select]
kmap=qwertz/de-latin1-nodeadkeys
Download a copy and keep it handy: Core book ;)

Offline Capodastro

  • Newbie
  • *
  • Posts: 33
Re: german keyboard layout: looking for a ToDo
« Reply #2 on: May 16, 2015, 10:46:17 AM »
Hallo Misalf,
really thanks a lot! The bootcode "tinycore kmap..."  works in text modus, unfortunately loadkmap didn't work. The reason seems to be in a missing dependency and I can't figure out the package/s to add. Right now I regard this fact as a bit problematic, because the same occurred by testing thunar, file-roller and other software: the missed packages rely on the human intuition.
Any idea about how to "fill the hole"?
Thanks.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: german keyboard layout: looking for a ToDo
« Reply #3 on: May 16, 2015, 10:51:22 AM »
Not if you are going to keep the error messages a secret.
The provides key in Apps should give you the name of the extension that contains a given file.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: german keyboard layout: looking for a ToDo
« Reply #4 on: May 16, 2015, 11:36:03 AM »
If you are using Xorg, you can create a file like this and add it to your backup.

/usr/local/share/X11/xorg.conf.d/10-keyboard.conf
Code: [Select]
Section "InputClass"
Identifier       "Keyboard Defaults"
MatchIsKeyboard  "yes"
Option           "XkbLayout"   "de"
Option           "XkbVariant"  "nodeadkeys"
Option           "XkbOptions"  "terminate:ctrl_alt_bksp"
EndSection

Download a copy and keep it handy: Core book ;)

Offline volkerp

  • Jr. Member
  • **
  • Posts: 63
Re: german keyboard layout: looking for a ToDo
« Reply #5 on: May 16, 2015, 11:54:29 AM »
Alternatively add

Code: [Select]
loadkmap < /usr/share/kmap/qwertz/de-latin1-nodeadkeys.kmap
to /opt/bootlocal.sh and reboot.

After that the German keyboard should work.


Offline Capodastro

  • Newbie
  • *
  • Posts: 33
Re: german keyboard layout: looking for a ToDo
« Reply #6 on: May 16, 2015, 01:43:41 PM »
thanks, friends! I will use all that and let you know.
gerald, perhaps you misunderstand me: the charm of this distro is that is tiny. In order to keep it tiny is necessary to configure by editing configuration files. The dependencies are a problem for the same reason, they can't be the same for everybody: I have as example an "optimus laptop", what means a major and a minor graphic card, with all consequences. If I simply install nouveau or Xorg3D,  my X server will be compromised and I can quietly start a new install. By the way, optimus laptops are beginning to be common.
OK I am sure you understand me :)
 

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: german keyboard layout: looking for a ToDo
« Reply #7 on: May 16, 2015, 03:14:05 PM »
I did not misunderstand you at all.
Code: [Select]
. The reason seems to be in a missing dependency and I can't figure out the package/s to add. You won't get help without showing us the errors you get.
Intuition is not needed, just the proper application of the existing tools.  Apps can show you which application contains any specific file.
tce-load -i will tell you if a dep is missing.

Offline Capodastro

  • Newbie
  • *
  • Posts: 33
Re: german keyboard layout: looking for a ToDo
« Reply #8 on: May 17, 2015, 01:16:57 PM »
Hi gerald,
Belive me, you and the other advanced users did help mi decisively! In this forum there are great people. So, let me inform you.
The only way to install a working german layout was by putting in the 10-keyboard.conf file, like to say the keyboard section  Xorg.conf. All that makes sense, but I needed an evidence to get sure about what happens. So I reinstalled the OS from scratch, but this time with a bit more knowledge and experience.

 - I have a lot of trouble with the initial tiny core configuration which starts approx. every tenth time. In order to get a stable OS I need to use xorg instead the "native" vesa.
- In such circumstances I needed some patience by experimenting but I acknowledged that under xvesa "loadkmap < /usr/share/kmap/qwertz/de-latin1-nodeadkeys.kmap" works even as kernel parameter, of course in the form "kmap=qwertz/de-latin1-nodeadkeys". No need of installing packages, for example kmap or however sounds the proper name.
- After installig xorg the x server recognizes only xorg instructions exactly like most people who doesn't speak foreign lenguages. :)
- I didn't find out how to put in a persistent file, however I didn't yet study with attention the remastering panel. On the moment I am planning just "cp 10-keyboard.conf /usr/local/share/X11/xorg.conf.d" and let see.

OK Jerry, what I didn't put down is my laptop model:
MSI 60 2PC Apache, 8 Gb RAM, Nvidia GTX850M,
Optimus technology, installed succesfully under SuSE and Mint :)

Once more thanks for the great help. On the end, I am planning a recapitulation post for your attention and corrections.




Offline Capodastro

  • Newbie
  • *
  • Posts: 33
Re: german keyboard layout: looking for a ToDo
« Reply #9 on: May 18, 2015, 06:55:21 AM »
OK, done!
Assuming Xorg is installed:

- To get the german layout in text modus (init 3) add as kernel parameter in the bootloader:
  "kmap=qwertz/de-latin1-nodeadkeys"

- To get the german layout in graphic modus (init 5)

   1) make a "10-keyboard.conf" file containing:

Section "InputClass"
   Identifier       "Keyboard Defaults"
   MatchIsKeyboard  "yes"
   Option           "XkbLayout"   "de"
   Option           "XkbVariant"  "nodeadkeys"
   Option           "XkbOptions"  "terminate:ctrl_alt_bksp"
EndSection

   2)  Copy the file (as root) to "/usr/local/share/X11/xorg.conf.d"

   3)  To make this change persistent-like edit as root "/opt/.filetool.lst" and add a new line containing:
         "usr/local/share/X11/xorg.conf.d/10-keyboard.conf".
          Remark there is no slash on the begin.

  4) Reboot with selected  "Safe" by backup options.