From Mageia wiki
Jump to: navigation, search
(start page)
 
(X: use setxkbmap to switch layout)
 
(5 intermediate revisions by the same user not shown)
Line 8: Line 8:
  
 
In "our %lang2keyboard" you see: language code, followed by keyboard codes, each of wich has a number, the "weight" of that keyboard for the given language. <br/>
 
In "our %lang2keyboard" you see: language code, followed by keyboard codes, each of wich has a number, the "weight" of that keyboard for the given language. <br/>
The weight indicates how important that keyboard is for that language. A weigh of 90 or more means that in traditional installer (unless an additional language was chosen), this keyboard is assumed to be the correct one and that there will only be a keyboard choice screen in the summary step, after all packages were installed and passwords typed.<br/><br/>
+
The weight indicates how important that keyboard is for that language. A weight of 90 or more means that in traditional installer (unless an additional language was chosen), this keyboard is assumed to be the correct one and that there will only be a keyboard choice screen in the summary step, after all packages are installed and passwords typed.<br/><br/>
  
 
To be checked:  
 
To be checked:  
 
* for some languages, there are keyboards without weight. What does that mean, imply, cause?
 
* for some languages, there are keyboards without weight. What does that mean, imply, cause?
* there is an Asturian keyboard, however, it isn't added here: 'ast' => 'es:85 lat:80 us_intl:50'
 
 
  
 
=drakx=
 
=drakx=
Line 19: Line 17:
 
==perl-install==
 
==perl-install==
  
Only looked in the perl-install directory, so far. There is a '''keybaordindrakx''' directory containing files. <br/><br/>
+
Only looked in the perl-install directory. <br/><br/>
Apart from that, at least the following files in drakx/perl-install contain one or more lines with the word "keyboard"
+
At least the following files in drakx/perl-install contain one or more lines with the word "keyboard"
  
  
Line 48: Line 46:
 
* standalone.pm
 
* standalone.pm
 
* unused/christmas-karaoke.patch
 
* unused/christmas-karaoke.patch
 
  
 
=man pages=
 
=man pages=
Line 80: Line 77:
  
 
The keymaps used in a VT, can be found in /usr/lib/kbd/keymaps/
 
The keymaps used in a VT, can be found in /usr/lib/kbd/keymaps/
 +
 +
Set a different keymap with e.g (for Spanish): {{Cmd|loadkeys es}}, or using the full path: {{Cmd|loadkeys /usr/lib/kbd/keymaps/i386/qwerty/es.map.gz}}
  
 
==X==
 
==X==
  
 
The keymaps used in X, are in /usr/share/X11/xkb/symbols/
 
The keymaps used in X, are in /usr/share/X11/xkb/symbols/
 +
 +
It can be changed with the {{Cmd|setxkbmap}} command, e.g.  {{Cmd|setxkbmap de}} to switch to a German keyboard

Latest revision as of 22:00, 7 March 2017

this page is a draft.
It requires improvements. If you want to improve it, simply log in and click on the Edit tab.

Please remove this {{Draft}}template, when you're sure the page is complete and correct.


View the other draft pages, or other pages to improve and maintain.

The intention of this page is to figure out and document how our tools work with regard to keyboard settings.
It is also intended to collect useful information to help solve keyboard bugs.

drakx-kbd-mouse-x11

to be written

drakx-kbd-mouse-x11/lib/keyboard.pm

In "our %lang2keyboard" you see: language code, followed by keyboard codes, each of wich has a number, the "weight" of that keyboard for the given language.
The weight indicates how important that keyboard is for that language. A weight of 90 or more means that in traditional installer (unless an additional language was chosen), this keyboard is assumed to be the correct one and that there will only be a keyboard choice screen in the summary step, after all packages are installed and passwords typed.

To be checked:

  • for some languages, there are keyboards without weight. What does that mean, imply, cause?

drakx

perl-install

Only looked in the perl-install directory.

At least the following files in drakx/perl-install contain one or more lines with the word "keyboard"


  • any.pm
  • c/stuff.xs.pl
  • detect_devices.pm
  • harddrake/data.pm
  • install/install2.pm:
  • install/steps_interactive.pm
  • install/commands.pm
  • install/share/list.xml
  • install/share/gdb-inst
  • install/share/keymaps_generate
  • install/steps.pm
  • install/steps_list.pm
  • install/help/help.pm
  • install/NEWS
  • list_modules.pm
  • Makefile
  • modules.pm
  • services.pm
  • standalone/drakbug
  • standalone/drakautoinst
  • standalone/interactive_http/authorised_progs
  • standalone/draksec
  • standalone/finish-install
  • standalone.pm
  • unused/christmas-karaoke.patch

man pages

The following man pages may contain useful information:

  • dumpkeys
  • keymaps
  • loadkeys
  • setkeycodes
  • setxkbmap
  • showkey
  • xmodmap
  • Compose
  • XkbKeycodeToKeysym
  • XkbLookupKeySym
  • XkbRefreshKeyboardMapping
  • XmbLookupString
  • Xutf8LookupString
  • XwcLookupString
  • XButtonEvent
  • XLookupKeysym
  • XMapEvent
  • XStringToKeysym

keymaps

Terminal

The keymaps used in a VT, can be found in /usr/lib/kbd/keymaps/

Set a different keymap with e.g (for Spanish): loadkeys es, or using the full path: loadkeys /usr/lib/kbd/keymaps/i386/qwerty/es.map.gz

X

The keymaps used in X, are in /usr/share/X11/xkb/symbols/

It can be changed with the setxkbmap command, e.g. setxkbmap de to switch to a German keyboard