GNOME Billentyűzet átkapcsoló


Table of Contents
GNOME Billentyűzet átkapcsoló applet

GNOME Billentyűzet átkapcsoló applet

GNOME Billentyűzet-átkapcsoló applet, mely az alapértelemezett beállításokkal látható a Figure 1 ábrán, segít gyorsan és könnyen kicserélni a billentyűzet-kiosztásod, ha többfélét használsz. Az applet Panel-hez adásához kattints jobb egérgombbal a Panel-re, majd válaszd ki a Panel->Panelra helyezés->Applet->Segédprogramok->GKB Billentyűzet-átkapcsoló menüelemet.

Figure 1. GNOME billentyűzet-átkapcsoló

Használat

Ha beállítottad, a GKB Billentyűzet-átkapcsoló applet segítségével átkapcsolhatsz az általad használt billentyűzetek között. Kattints bal egérgombbal az appletre vagy nyomd le a Alt-Shift billentyűkombninációt.

Ha jobb egérgombbal kattintassz az appletre, a következő elemeket tartalmazó menüt kapod:

  • Tulajdonságok… — megnyitja a GKB beállítások párbeszédablakot.

  • Súgó — megjeleníti ezt a dokumentumot.

  • Névjegy… — információt jelenít meg a GNOME Billentyűzet-átkapcsoló írójáról és az appletről.

Beállítások

Testreszabhatod a GNOME Billentyűzet-átkapcsoló appletet, ha jobb gombbal rákattintasz és megnyitod a Tulajdonságok… menüelem alatt rejtőző párbeszédablakot (ez látható a Figure 2 ábrán). Ezen a párbeszédablakon állíthatsz be új billentyűzetkiosztást, módosíthatod a meglévőt vagy eltávolíthatod azt, amelyikre már nincs szükséged, valamint itt állíthatod be az applet kinézetét is.

Figure 2. Tulajdonságok párbeszédablak

A Tulajdonságok párbeszédablakon két fül található: a Kiosztások és a Beállítások. A Kiosztások fülön, adhatod hozzá, szerkesztheted vagy eltávolíthatod a billentyűzet-kiosztásokat. Itt tudod megváltoztatni a kiosztások sorrendjét is. A Beállítások fülön meghatározhatod az applet kinézetét (zászló, címke, zászló+címke), a méterét (Normál vagy Nagy), valamint azt, hogy milyen billentyűkombinációra váltson kiosztást (lásd a the section called Known Bugs and Limitations részt.)

A billentyűzet-kiosztás beállítása

A kiosztás beállításához a következőket kell tenned:

  • Kiosztás hozzáadása — A kiosztás fülön kattints a Hozzáadás gombra. Megjelenik a Figure 3 fanézet, melyből kiválaszthatod a számodra legalkalmasabb kiosztást, a használt nyelv és az ország kiválasztásával.

    Figure 3. Kiosztás kiválasztása párbeszédablak

    Kiosztás hozzáadásához, kattints a nyelv előtt megjelenő + jelre. Ekkor megjelenik az adott nyelvet beszélő országok listája. Kattints most az országod előtt megjelenő + jelre: megjelenik az adott országban használt billentyűzetkiosztások listája. Válaszd ki a legszimpatikusabbat és nyomd meg a Hozzáadás gombot. Ha netán a magyar nyelvet és Magyarországot választottad és nem tudod mi a különbség Latin-1 és Latin-2 között, de érdekel, úgorj a "Magyar billentyűzet-kiosztások, avagy hogyan írjunk hosszú ő-t" c. részhez. A kiválasztott kiosztás bekerül a listába a Tulajdonságok ablakba. Adhatsz hozzá további kiosztásokat, vagy megnyomhatod a Bezárás a Kiosztás kiválasztása ablak bezárásához.

  • Létező billentyűzet-kiosztás szerkesztése — A kiosztás kijelölése után kattints a Szerkesztés gombra, ez felhozza a Kiosztás szerkesztése ablakot (lásd Figure 4).

    Figure 4. Kiosztás szerkesztése párbeszédablak

    Ezen a párbeszédablakon változtathatod meg a kiosztás tulajdonságait. Ezek a tulajdonságok a következők:

    • Név: A kiosztás neve, ez jelenik meg a Tulajdonságok ablakban, valamint a segédszövegben, ha az egeret az appletre viszed.

    • Címke: Ez a címke jelenik meg, ha a "Címke" vagy a "Zászló+címke" módot állítod be. Bővebb információért lásd a the section called Miscellaneous options fejezetet.

    • Nyelv: Ennek az opciónak nincs jelenleg hatása. A Gnome 2.0-ban fog működni.

    • Ország: Ennek az opciónak nincs jelenleg hatása. A Gnome 2.0-ban fog működni.

    • Zászló: Itt állíthatod be, hogy milyen zászló jelenjen meg az adott billentyűzet-kiosztással.

    • Architektúra: Ennek az opciónak nincs jelenleg hatása. A Gnome 2.0-ban fog működni.

    • Típus: Ennek az opciónak nincs jelenleg hatása. A Gnome 2.0-ban fog működni.

    • Kódlap: Ennek az opciónak nincs jelenleg hatása. A Gnome 2.0-ban fog működni.

    • Parancs: Ez az a parancs, amit az applet végrehajt, hogy kicserélje a billentyűzet-kiosztást. Alapértelmezett a gkb_xmmap xmodmap-fájl-kiterjesztes parancs, ahol xmodmap-fájl-kiterjesztes annak az xmodmap fájlnak a kiterjesztése, amit használni szeretnél.

      TipA rendszeredre telepített kiosztások felkutatása
       

      A szokványos Linux rendszereken, az xmodmap fájlok a /usr/share/xmodmap könyvtárban találhatók.

      Ha pl. 101 gombos US kiosztást szeretnél használni, állítsd be a gkb_xmmap us-101 parancsot.

      Ha nem működik, kipróbálhatod a setxkbmap LC parancsot, ahol LC az országod két betűs ISO kódja (pl. setxkbmap fr, ha francia billentyűzetet használsz). Végül, ha saját billentyűzetkiosztás-fájlt használsz (xmodmap fájlt), beállíthatod az xmodmap xmodmap-filename parancsot (pl.: xmodmap ~/xrus/yawerty.koi8.xmm, ha ciril kiosztást szeretnél koi8-as kódlappal. Please see the section called Technical information for more information.

  • Removing a keyboard layout that is no longer needed — To remove a keyboard, select it (click on it in the GKB Properties window) and click the Delete button.

  • Reordering keyboard layouts — The order in which the keyboard layouts become active as you click on the applet or press the hot key depends on the order they appear in the list in the Properties window. The layout that is displayed at the top of the list will become the default layout when you close the Properties window. To change the order in the list, select the keymap to be moved, and click Up or Down as appropriate.

After you have made all the changes you want, click on Apply to apply the changes or on OK to apply the changes and close the Properties dialog. To cancel the changes and return to previous values, click the Close button. The Help button brings up this chapter of the on-line help.

Miscellaneous options

Different options allow you to customize the look of your applet. As a new feature, you can select between three different display modes:

  • Flag mode — The flag associated to the keymap is displayed on the Panel.

  • Label mode — No flag is displayed, only the label associated with the keymap.

  • Flag and label mode — Both flag and label associated with the keymap are displayed.

Many users have reported, that the applet takes too much room on the panel. You can now set the applets size from the Applet size pull down list. Set the size to Normal if you want a smaller applet. If you have plenty of space or like nice big flags on you panel, set the option to Big.

An often formulated user wish was to implement the keymap switching using hotkeys. The developers proudly announce, that keyboard initiated switching now works. The hotkey combination that allows to change keymaps is set to Alt-Shift (Alt being the left Alt key). You can customize this hotkey sequence from the GKB Properties window's Options tab. Click on the Grab hotkey button and press the keys you want to set. The key combination is displayed in the input box near the button (you may see something like: Control-Shift_R). Finally, click on Apply or OK to finalize the new settings.

Technical information

Normally you do not need these details - but if something is not working, or you are just curious, read on.

GNOME Keyboard switches the keyboard map by issuing a command to X Window System. X Window System has two mechanisms for setting keyboard mapping: older one called "xmodmap" and a newer one, based on the so-called "Xkb extension". If you have Xkb enabled, you should use it and switch keyboard layouts by issuing a command setxkbmap LC. It comes with a number of various keyboard layout files, usually in directory /usr/X11R6/lib/X11/xkb/symbols.

If you do not have Xkb extension enabled, or if it just does not cover the language you need, you should use the older xmodmap mechanism. In this case, you need to have a file which describes keyboard layout in a special format (see manual page for xmodmap for details), and the command should be xmodmap filename . GNOME Keyboard includes a number of keyboard layout files, which are installed in the directory /usr/share/xmodmap; these files have names like xmodmap.de. To use one of these files, you can use the command gkb_xmmap LC which is equivalent to xmodmap /usr/share/xmodmap/xmodmap.LC: for example, gkb_xmmap hu is the same as xmodmap /usr/share/xmodmap/xmodmap.hu.

Known Bugs and Limitations

  • Languages and countries showing up in the Select layout dialog are not sorted in alphabetical order.

  • The program has very few error handling routines implemented. If you try to feed it something unusual, it may crash.

  • If it does not crash, it returns the error: "The keymap switching returned an error". If the Edit window is open when this error appears and you press the OK button on this window, it is likely that nothing will happen. Try closing the Edit window first and then the error window.

Authors

GNOME KeyBoard was written by Szabolcs Ban (). Please send all comments, suggestions, and bug reports to the GNOME bug tracking database. (Instructions for submitting bug reports can be found on-line). You can also use Bug Report Tool (bug-buddy), available in the Utilities submenu of Main Menu, for submitting bug reports.

This manual was originally written by Szabolcs (Shooby) Ban () and Dan Mueth (). It has been rewritten (strongly based on the original) by Emese Kovacs () to reflect changes from v1.2 to v1.4. The Technical Information section has been added by Alexander Kirillov (). Please send all comments and suggestions regarding this manual to the GNOME Documentation Project by sending an email to . You can also submit comments online by using the GNOME Documentation Status Table.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

A copy of the GNU General Public License is included as an appendix to the GNOME Users Guide. You may also obtain a copy of the GNU General Public License from the Free Software Foundation by visiting their Web site or by writing to

     Free Software Foundation, Inc.
     59 Temple Place - Suite 330
     BostonMA 02111-1307
     USA