logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#26 02-02-2014 10:49:59

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Alors pour visualiser le fichier "/usr/share/X11/xkb/symbols/gr:    name[Group1] = "Greek (polytonic)"

j'ai fait

less /usr/share/X11/xkb/symbols/gr



c'est big big :

name[Group1] = "Greek";
 
        include "eurosign(e)"
        include "eurosign(5)"
        include "kpdl(comma)"
        include "level3(ralt_switch)"
 
        key <AB01> { [       NoSymbol,       NoSymbol,          U037D,          U03FF ] };
        key <AB02> { [       NoSymbol,       NoSymbol,     rightarrow,      leftarrow ] };
        key <AB03> { [       NoSymbol,       NoSymbol,      copyright                 ] };
        key <AB04> { [       NoSymbol,       NoSymbol,          U03D6                 ] };
        key <AB05> { [       NoSymbol,       NoSymbol,          U03D0                 ] };
        key <AB06> { [       NoSymbol,       NoSymbol,          U0374,          U0375 ] };
        key <AB07> { [       NoSymbol,       NoSymbol,          U03FB,          U03FA ] };
        key <AB08> { [       NoSymbol,       NoSymbol,  guillemotleft                 ] };
        key <AB09> { [       NoSymbol,       NoSymbol, guillemotright, periodcentered ] };
        key <AC03> { [       NoSymbol,       NoSymbol,      downarrow,        uparrow ] };
        key <AC04> { [       NoSymbol,       NoSymbol,          U03D5                 ] };
        key <AC05> { [       NoSymbol,       NoSymbol,          U03DD,          U03DC ] };
        key <AC07> { [       NoSymbol,       NoSymbol,          U037C,          U03FE ] };
        key <AC08> { [       NoSymbol,       NoSymbol,          U03DF,          U03DE ] };
        key <AC09> { [       NoSymbol,       NoSymbol,          U03F2,          U03F9 ] };
        key <AC10> { [       NoSymbol,       NoSymbol,     dead_acute,     dead_psili ] };
        key <AC11> { [       NoSymbol,       NoSymbol,     dead_grave,     dead_dasia ] };
        key <AD01> { [       NoSymbol,       NoSymbol, periodcentered                 ] };
        key <AD02> { [       NoSymbol,       NoSymbol,          U03DB,          U03DA ] };
        key <AD04> { [       NoSymbol,       NoSymbol,     registered,          U03F1 ] };
        key <AD07> { [       NoSymbol,       NoSymbol,          U03D1,          U03F4 ] };
        key <AD08> { [       NoSymbol,       NoSymbol,          U037B,          U03FD ] };
        key <AD10> { [       NoSymbol,       NoSymbol,          U03E1,          U03E0 ] };
        key <AD11> { [       NoSymbol,       NoSymbol,     dead_tilde,    dead_macron ] };
        key <AD12> { [       NoSymbol,       NoSymbol,      dead_iota,     dead_breve ] };
        key <AE01> { [       NoSymbol,       NoSymbol,       NoSymbol,    onesuperior ] };
        key <AE02> { [       NoSymbol,       NoSymbol,        onehalf,    twosuperior ] };
        key <AE03> { [       NoSymbol,       NoSymbol,       sterling,  threesuperior ] };
        key <AE04> { [       NoSymbol,       NoSymbol,     onequarter,  threequarters ] };
        key <AE07> { [       NoSymbol,       NoSymbol,          U03F0                 ] };
partial alphanumeric_keys alternate_group
xkb_symbols "simple" {
 
    include "gr(bare)"
 
    name[Group1] = "Greek (simple)";
 
    key <TLDE> { [        grave,  asciitilde ] }; // ` ~
    key <AE01> { [            1,      exclam ] }; // 1 !
    key <AE02> { [            2,          at ] }; // 2 @
    key <AE03> { [            3,  numbersign ] }; // 3 #
    key <AE04> { [            4,      dollar ] }; // 4 $
    key <AE05> { [            5,     percent ] }; // 5 %
    key <AE06> { [            6, asciicircum ] }; // 6 ^
    key <AE07> { [            7,   ampersand ] }; // 7 &
    key <AE08> { [            8,    asterisk ] }; // 8 *
    key <AE09> { [            9,   parenleft ] }; // 9 (
    key <AE10> { [            0,  parenright ] }; // 0 )
    key <AE11> { [        minus,  underscore ] }; // - _
    key <AE12> { [        equal,        plus ] }; // = +
 
    key <AD11> { [  bracketleft,   braceleft ] }; // [ {
    key <AD12> { [ bracketright,  braceright ] }; // ] }
 
    key <AC11> { [   apostrophe,    quotedbl ] }; // ' "
 
    key <AB08> { [        comma,        less ] }; // , <
    key <AB09> { [       period,     greater ] }; // . >
    key <AB10> { [        slash,    question ] }; // / ?
    key <BKSL> { [    backslash,         bar ] }; // \ |
 
    include "kpdl(comma)"
};
hidden partial alphanumeric_keys alternate_group
xkb_symbols "bare" {
 
    key <AD01> { [             semicolon,          colon ] }; // ; :
    key <AD02> { [ Greek_finalsmallsigma,    Greek_SIGMA ] }; // ? ?
    key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ? ?
    key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ? ?
    key <AD05> { [             Greek_tau,      Greek_TAU ] }; // ? ?
    key <AD06> { [         Greek_upsilon,  Greek_UPSILON ] }; // ? ?
    key <AD07> { [           Greek_theta,    Greek_THETA ] }; // ? ?
    key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ? ?
    key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ? ?
    key <AD10> { [              Greek_pi,       Greek_PI ] }; // ? ?
 
    key <AC01> { [           Greek_alpha,    Greek_ALPHA ] }; // ? ?
    key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // ? ?
    key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // ? ?
    key <AC04> { [             Greek_phi,      Greek_PHI ] }; // ? ?
    key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // ? ?
    key <AC06> { [             Greek_eta,      Greek_ETA ] }; // ? ?
    key <AC07> { [              Greek_xi,       Greek_XI ] }; // ? ?
    key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // ? ?
    key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // ? ?
    key <AC10> { [            dead_acute, dead_diaeresis ] }; // ´ ¨
 
    key <AB01> { [            Greek_zeta,     Greek_ZETA ] }; // ? ?
    key <AB02> { [             Greek_chi,      Greek_CHI ] }; // ? ?
    key <AB03> { [             Greek_psi,      Greek_PSI ] }; // ? ?
    key <AB04> { [           Greek_omega,    Greek_OMEGA ] }; // ? ?
    key <AB05> { [            Greek_beta,     Greek_BETA ] }; // ? ?
    key <AB06> { [              Greek_nu,       Greek_NU ] }; // ? ?
    key <AB07> { [              Greek_mu,       Greek_MU ] }; // ? ?
 
    key <LSGT> { [         guillemotleft, guillemotright ] }; // « »
};
:
// ===========================================================================================
// Greek - Extended                                                                          |
// ===========================================================================================
//
// ???????????????????????????????????????????????????????????????????????????????????????????
// ? ~   ? !   ? @   ? #   ? $   ? %   ? ^   ? &   ? *   ? (   ? )   ? _   ? +   ?Backspace  ?
// ? `   ? 1   ? 2   ? 3 £ ? 4   ? 5 € ? 6   ? 7   ? 8   ? 9   ? 0 ° ? - ± ? =   ?           ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? :   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? {   ? }   ?Enter    ?
// ?Tab    ? ; · ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? [   ? ]   ?         ?
// ??????????????????????????????????????????????????????????????????????????????????        ?
// ?Caps    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ¨   ? "   ? |   ?        ?
// ?Lock    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ´   ? '   ? \   ?        ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? »   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? <   ? >   ? ?   ?               ?
// ?Shift  ? «   ? ?   ? ?   ? ? © ? ?   ? ?   ? ?   ? ?   ? , « ? . » ? /   ?Shift          ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ?       ?       ?                                  ?       ?       ?       ?      ?
// ?Ctrl   ?Meta   ?Alt    ?              Space               ?AltGr  ?Meta   ?Menu   ?Ctrl  ?
// ???????????????????????????????????????????????????????????????????????????????????????????
 
partial alphanumeric_keys alternate_group
xkb_symbols "extended" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (extended)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
    key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
    key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
 
    key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
    key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
 
    key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
    key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
    key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
 
    include "level3(ralt_switch)"
    include "eurosign(5)"
    include "eurosign(e)"
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "polytonic" {
 
    include "gr(extended)"
 
    name[Group1] = "Greek (polytonic)";
 
    key.type[Group1] = "THREE_LEVEL";
 
:
key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
    key <AD12> { [  dead_iota,     VoidSymbol,  dead_breve ] }; // ?   ?
 
    key <AC10> { [ dead_acute, dead_psili  ] }; // ´ ?
    key <AC11> { type[Group1]="FOUR_LEVEL",
                 [ dead_grave, dead_dasia, apostrophe, quotedbl  ] };
                 // ` ?  ' "
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "nodeadkeys" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (eliminate dead keys)";
 
    key <AC10> { [ semicolon, colon ] }; // ; :
};
 



Bâhaha, ce sera peut-être plus clair pour voir comment changer tout cela selon ce qu'explique le tuto de ce lien http://artisan.karma-lab.net/redefinition-dun-clavier !

big_smile

Dernière modification par Hypathie (04-02-2014 15:39:04)

Hors ligne

#27 02-02-2014 10:51:48

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Donc, on te conseillait d'en faire une copie avant modification:

cp /usr/share/X11/xkb/symbols/gr /usr/share/X11/xkb/symbols/gr.bix



Ensuite, il faudra faire en sorte que ce soit la copie qui soit utilisée,
de cette façon, le fichier modifié ne sera pas "écrasé" par une mise à jour.

Dernière modification par MicP (02-02-2014 11:44:44)

#28 02-02-2014 10:55:18

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

ok je l'ai fait ; merci pour la commande !
smile

Dernière modification par Hypathie (02-02-2014 11:21:48)

Hors ligne

#29 02-02-2014 10:57:58

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

maintenant,
comment faire pour que ce soit la copie qui soit utilisée, et pas l'original (qui sera sans doute écrasé par une mise à jour)
puis modifier la copie pour l'adapter à tes besoins

EDIT: Ce que propose captnfab au post suivant smile

Dernière modification par MicP (02-02-2014 11:11:49)

#30 02-02-2014 11:06:42

captnfab
Admin-Girafe
Lieu : /dev/random
Distrib. : Debian
Noyau : Dur
(G)UI : gui gui, je zuis un doiseau
Inscription : 07-07-2008
Site Web

Re : [résolu]configurer une disposition grecque polytonique pour debian

Éditer le fichier /etc/default/keyboard comme suit :

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="fr,gr.bix"
XKBVARIANT="latin9, polytonic"
XKBOPTIONS="compose:menu,terminate:ctrl_alt_bksp,grp:alt_shift_toggle"

BACKSPACE="guess"


captnfab,
Association Debian-Facile, bépo.
TheDoctor: Your wish is my command… But be careful what you wish for.

Hors ligne

#31 02-02-2014 12:16:34

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Bon voilà, j'ai bien fait la copie (/usr/share/X11/xkb/symbols/gr.bix) et  j'ai changé ce qui doit l'être dans "/etc/default/keyboard" mais en considérant ce qui est là dedans http://www.utf8-chartable.de/unicode-utf8-table.pl, j'ai encore des difficultés pour modifier le fichier "/usr/share/X11/xkb/symbols/gr"

Malgré toute votre aide, je crois qu'il me faudrait encore vous demander un petit exemple.
Ce serait vraiment très gentil de me montrer comment par exemple, mettre Apha  (qui est à la place de "Q" clavier fçs) à la place de ";" (c'à d sur le "A" du clavier fçais).

Merci smile

Hors ligne

#32 02-02-2014 12:29:02

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Pour échanger le ": ;" en "? ?" et inversement, échanger les valeurs ligne 91 et ligne 102.

Ce qui donnerait:

Dans le fichier /usr/share/X11/xkb/symbols/gr.bix
­
ligne  91 => key <AD01> { [           Greek_alpha,    Greek_ALPHA ] }; // ? ?
ligne 102 => key <AC01> { [             semicolon,          colon ] }; // ; :
­

=>


// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? {   ? }   ?Enter    ?
// ?Tab    ? ? . ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? [   ? ]   ?         ?
// ??????????????????????????????????????????????????????????????????????????????????        ?
// ?Caps    ? :   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ¨   ? "   ? |   ?        ?
// ?Lock    ? ;   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ´   ? '   ? \   ?        ?
// ???????????????????????????????????????????????????????????????????????????????????????????
 

Dernière modification par MicP (02-02-2014 14:27:45)

#33 02-02-2014 17:19:10

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Bon, je pense avoir réussi à déplacer des lettres grecques dans une disposition plus facile pour les utilisateurs AZERTY

en changeant ceci :

  key <AD01> { [             semicolon,          colon ] }; // ; :
    key <AD02> { [ Greek_finalsmallsigma,    Greek_SIGMA ] }; // ? ?
    key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ? ?
    key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ? ?
    key <AD05> { [             Greek_tau,      Greek_TAU ] }; // ? ?
    key <AD06> { [         Greek_upsilon,  Greek_UPSILON ] }; // ? ?
    key <AD07> { [           Greek_theta,    Greek_THETA ] }; // ? ?
    key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ? ?
    key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ? ?
    key <AD10> { [              Greek_pi,       Greek_PI ] }; // ? ?

    key <AC01> { [           Greek_alpha,    Greek_ALPHA ] }; // ? ?
    key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // ? ?
    key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // ? ?
    key <AC04> { [             Greek_phi,      Greek_PHI ] }; // ? ?
    key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // ? ?
    key <AC06> { [             Greek_eta,      Greek_ETA ] }; // ? ?
    key <AC07> { [              Greek_xi,       Greek_XI ] }; // ? ?
    key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // ? ?
    key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // ? ?
    key <AC10> { [            dead_acute, dead_diaeresis ] }; // ´ ¨

    key <AB01> { [            Greek_zeta,     Greek_ZETA ] }; // ? ?
    key <AB02> { [             Greek_chi,      Greek_CHI ] }; // ? ?
    key <AB03> { [             Greek_psi,      Greek_PSI ] }; // ? ?
    key <AB04> { [           Greek_omega,    Greek_OMEGA ] }; // ? ?
    key <AB05> { [            Greek_beta,     Greek_BETA ] }; // ? ?
    key <AB06> { [              Greek_nu,       Greek_NU ] }; // ? ?
    key <AB07> { [              Greek_mu,       Greek_MU ] }; // ? ?

    key <LSGT> { [         guillemotleft, guillemotright ] }; // « »



comme ceci :

 key <AD01> { [           Greek_alpha     Greek_ALPHA ] }; // ? ?
    key <AD02> { [            Greek_zeta,     Greek_ZETA ] }; // ? ?
    key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ? ?
    key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ? ?
    key <AD05> { [             Greek_tau,      Greek_TAU ] }; // ? ?
    key <AD06> { [             Greek_psi,      Greek_PSI ] }; // ? ?
    key <AD07> { [         Greek_upsilon,  Greek_UPSILON ] }; // ? ?
    key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ? ?
    key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ? ?
    key <AD10> { [              Greek_pi,       Greek_PI ] }; // ? ?
    key <AC01> { [           Greek_theta,    Greek_THETA ] }; // ? ?
    key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // ? ?
    key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // ? ?
    key <AC04> { [             Greek_phi,      Greek_PHI ] }; // ? ?
    key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // ? ?
    key <AC06> { [             Greek_eta,      Greek_ETA ] }; // ? ?
    key <AC07> { [          Greek_finelsmallsiga         ] }; // ?
    key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // ? ?
    key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // ? ?
    key <AC10> { [              Greek_mu,       Greek_MU ] }; // ? ?
    key <AB01> { [           Greek_omega,    Greek_OMEGA ] }; // ? ?
    key <AB02> { [              Greek_xi,       Greek_XI ] }; // ? ?
    key <AB03> { [             Greek_chi,      Greek_CHI ] }; // ? ?
    key <AB04> { [             NoSymbol,       NoSymbol  ] }; // à remplir
    key <AB05> { [             Greek_beta,     Greek_BETA ] }; // ? ?
    key <AB06> { [               Greek_nu,       Greek_NU ] }; // ? ?
    key <AB07> { [              NoSymbol,       NoSymbol  ] }; // à remplir
 



Il me reste enfin à trouver le moyen de me servir du troisième niveau pour pouvoir poser les signes diacritiques sur les lettres comme sur le clavier français quand on appuie par exemple sur ^ avant une voyelle pour lui affecter un accent circonflexe.
Sauf qu'il va falloir faire cela pour les deux esprits ; les trois accents ; et le iota souscrit. Et rendre cela possible pour toutes les voyelles, et pour le Rhô pouvoir lui affecter l'esprit rude.

C'est pas encore gagné, mais ça avant, merci la compagnie !

big_smile

Dernière modification par Hypathie (04-02-2014 15:39:35)

Hors ligne

#34 02-02-2014 17:24:47

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

hypathie a écrit :

... trouver le moyen de me servir du troisième niveau ...


Pour le troisième niveau, ajouter un troisième champ.
Par exemple, tu trouvera ci-dessous la définition d'une touche à trois niveaux.

   key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯



hypathie a écrit :

... pouvoir poser les signes diacritiques sur les lettres comme sur le clavier français quand on appuie par exemple sur ^ avant une voyelle pour lui affecter un accent circonflexe. ...


Ce lien qui pourrait t'intéresser, car il concerne les "touches mortes" (...used to attach a specific diacritic to a base letter. ...)

==================
Il y a des petites erreurs de typo là :

    key <AC07> { [          Greek_finelsmallsiga         ] }; // ?


à changer en :

    key <AC07> { [ Greek_finalsmallsigma,       NoSymbol ] }; // ?



et là :

 key <AD01> { [           Greek_alpha     Greek_ALPHA ] }; // ? ?


il y manquait juste une virgule.. smile

 key <AD01> { [           Greek_alpha,     Greek_ALPHA ] }; // ? ?




Le contenu actuel du fichier "/usr/share/X11/xkb/symbols/gr.bis" est donc:

// Hellenic "Hypathie" keyboard map for X.org
//
// Original version:
//   Kostas Gewrgiou <gewrgiou@imbc.gr>
// Heavily modified and maintained by:
//   Vasilis Vasaitis <vvas@hal.csd.auth.gr>
// Originally converted to single group form by:
//   Ivan Pascal <pascal@info.tsu.ru>
// Modified by Hypathie
//   hypathie At debian-facile Point org
 
default partial alphanumeric_keys alternate_group
xkb_symbols "basic" {
        include "gr(simple)"
     
        name[Group1] = "Greek";
     
        include "eurosign(e)"
        include "eurosign(5)"
        include "kpdl(comma)"
        include "level3(ralt_switch)"
     
        key <AE01> { [       NoSymbol,       NoSymbol,       NoSymbol,    onesuperior ] };
        key <AE02> { [       NoSymbol,       NoSymbol,        onehalf,    twosuperior ] };
        key <AE03> { [       NoSymbol,       NoSymbol,       sterling,  threesuperior ] };
        key <AE04> { [       NoSymbol,       NoSymbol,     onequarter,  threequarters ] };
        key <AE07> { [       NoSymbol,       NoSymbol,          U03F0                 ] };
        key <AE10> { [       NoSymbol,       NoSymbol,         degree                 ] };
   
        key <AD01> { [       NoSymbol,       NoSymbol, periodcentered                 ] };
        key <AD02> { [       NoSymbol,       NoSymbol,          U03DB,          U03DA ] };
        key <AD04> { [       NoSymbol,       NoSymbol,     registered,          U03F1 ] };
        key <AD07> { [       NoSymbol,       NoSymbol,          U03D1,          U03F4 ] };
        key <AD08> { [       NoSymbol,       NoSymbol,          U037B,          U03FD ] };
        key <AD10> { [       NoSymbol,       NoSymbol,          U03E1,          U03E0 ] };
        key <AD11> { [       NoSymbol,       NoSymbol,     dead_tilde,    dead_macron ] };
        key <AD12> { [       NoSymbol,       NoSymbol,      dead_iota,     dead_breve ] };
        key <AC03> { [       NoSymbol,       NoSymbol,      downarrow,        uparrow ] };
   
        key <AC04> { [       NoSymbol,       NoSymbol,          U03D5                 ] };
        key <AC05> { [       NoSymbol,       NoSymbol,          U03DD,          U03DC ] };
        key <AC07> { [       NoSymbol,       NoSymbol,          U037C,          U03FE ] };
        key <AC08> { [       NoSymbol,       NoSymbol,          U03DF,          U03DE ] };
        key <AC09> { [       NoSymbol,       NoSymbol,          U03F2,          U03F9 ] };
        key <AC10> { [       NoSymbol,       NoSymbol,     dead_acute,     dead_psili ] };
        key <AC11> { [       NoSymbol,       NoSymbol,     dead_grave,     dead_dasia ] };
     
        key <AB01> { [       NoSymbol,       NoSymbol,          U037D,          U03FF ] };
        key <AB02> { [       NoSymbol,       NoSymbol,     rightarrow,      leftarrow ] };
        key <AB03> { [       NoSymbol,       NoSymbol,      copyright                 ] };
        key <AB04> { [       NoSymbol,       NoSymbol,          U03D6                 ] };
        key <AB05> { [       NoSymbol,       NoSymbol,          U03D0                 ] };
        key <AB06> { [       NoSymbol,       NoSymbol,          U0374,          U0375 ] };
        key <AB07> { [       NoSymbol,       NoSymbol,          U03FB,          U03FA ] };
        key <AB08> { [       NoSymbol,       NoSymbol,  guillemotleft                 ] };
        key <AB09> { [       NoSymbol,       NoSymbol, guillemotright, periodcentered ] };
};
     
partial alphanumeric_keys alternate_group
xkb_symbols "simple" {
 
    include "gr(bare)"
 
    name[Group1] = "Greek (simple)";
 
    key <TLDE> { [        grave,  asciitilde ] }; // ` ~
 
    key <AE01> { [            1,      exclam ] }; // 1 !
    key <AE02> { [            2,          at ] }; // 2 @
    key <AE03> { [            3,  numbersign ] }; // 3 #
    key <AE04> { [            4,      dollar ] }; // 4 $
    key <AE05> { [            5,     percent ] }; // 5 %
    key <AE06> { [            6, asciicircum ] }; // 6 ^
    key <AE07> { [            7,   ampersand ] }; // 7 &
    key <AE08> { [            8,    asterisk ] }; // 8 *
    key <AE09> { [            9,   parenleft ] }; // 9 (
    key <AE10> { [            0,  parenright ] }; // 0 )
    key <AE11> { [        minus,  underscore ] }; // - _
    key <AE12> { [        equal,        plus ] }; // = +
 
    key <AD11> { [  bracketleft,   braceleft ] }; // [ {
    key <AD12> { [ bracketright,  braceright ] }; // ] }
 
    key <AC11> { [   apostrophe,    quotedbl ] }; // ' "
 
    key <AB08> { [        comma,        less ] }; // , <
    key <AB09> { [       period,     greater ] }; // . >
    key <AB10> { [        slash,    question ] }; // / ?
 
    key <BKSL> { [    backslash,         bar ] }; // \ |
 
    include "kpdl(comma)"
};
 
hidden partial alphanumeric_keys alternate_group
xkb_symbols "bare" {
 
    key <AD01> { [           Greek_alpha,    Greek_ALPHA ] }; // ? ?
    key <AD02> { [            Greek_zeta,     Greek_ZETA ] }; // ? ?
    key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ? ?
    key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ? ?
    key <AD05> { [             Greek_tau,      Greek_TAU ] }; // ? ?
    key <AD06> { [             Greek_psi,      Greek_PSI ] }; // ? ?      
    key <AD07> { [         Greek_upsilon,  Greek_UPSILON ] }; // ? ?
    key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ? ?
    key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ? ?
    key <AD10> { [              Greek_pi,       Greek_PI ] }; // ? ?
 
    key <AC01> { [           Greek_theta,    Greek_THETA ] }; // ? ?
    key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // ? ?
    key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // ? ?
    key <AC04> { [             Greek_phi,      Greek_PHI ] }; // ? ?
    key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // ? ?
    key <AC06> { [             Greek_eta,      Greek_ETA ] }; // ? ?
    key <AC07> { [ Greek_finalsmallsigma,       NoSymbol ] }; // ?
    key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // ? ?
    key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // ? ?
    key <AC10> { [              Greek_mu,       Greek_MU ] }; // ? ?
 
    key <AB01> { [           Greek_omega,    Greek_OMEGA ] }; // ? ?
    key <AB02> { [              Greek_xi,       Greek_XI ] }; // ? ?
    key <AB03> { [             Greek_chi,      Greek_CHI ] }; // ? ?
    key <AB04> { [              NoSymbol,       NoSymbol ] }; // à remplir
    key <AB05> { [            Greek_beta,     Greek_BETA ] }; // ? ?
    key <AB06> { [              Greek_nu,       Greek_NU ] }; // ? ?
    key <AB07> { [              NoSymbol,       NoSymbol ] }; // à remplir
 
    key <LSGT> { [         guillemotleft, guillemotright ] }; // « »
};
 
// ===========================================================================================
// Greek - Extended - bis (hypathie)                                                         |
// ===========================================================================================
// ???????????????????????????????????????????????????????????????????????????????????????????
// ? ~   ? !   ? @   ? #   ? $   ? %   ? ^   ? &   ? *   ? (   ? )   ? _   ? +   ?Backspace  ?
// ? `   ? 1   ? 2   ? 3 £ ? 4   ? 5 € ? 6   ? 7   ? 8   ? 9   ? 0 ° ? - ± ? =   ?           ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? {   ? }   ?Enter    ?
// ?Tab    ? ? · ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? [   ? ]   ?         ?
// ??????????????????????????????????????????????????????????????????????????????????        ?
// ?Caps    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ? ?   ? "   ? |   ?        ?
// ?Lock    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? '   ? \   ?        ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? »   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ?     ? <   ? >   ? ?   ?               ?
// ?Shift  ? «   ? ?   ? ?   ? ? © ?     ? ?   ? ?   ?     ? , « ? . » ? /   ?Shift          ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ?       ?       ?                                  ?       ?       ?       ?      ?
// ?Ctrl   ?Meta   ?Alt    ?              Space               ?AltGr  ?Meta   ?Menu   ?Ctrl  ?
// ???????????????????????????????????????????????????????????????????????????????????????????
 
partial alphanumeric_keys alternate_group
xkb_symbols "extended" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (extended)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
    key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
    key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
 
    key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
    key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
 
    key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
    key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
    key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
 
    include "level3(ralt_switch)"
    include "eurosign(5)"
    include "eurosign(e)"
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "polytonic" {
 
    include "gr(extended)"
 
    name[Group1] = "Greek (polytonic)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
    key <AD12> { [  dead_iota,     VoidSymbol,  dead_breve ] }; // ?   ?
 
    key <AC10> { [ dead_acute, dead_psili  ] }; // ´ ?
    key <AC11> { type[Group1]="FOUR_LEVEL", [ dead_grave, dead_dasia, apostrophe, quotedbl  ] }; // ` ?  ' "
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "nodeadkeys" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (eliminate dead keys)";
 
    key <AC10> { [ semicolon, colon ] }; // ; :
};
 


==================
Étant donné qu'on était tous partis (sur #debian-facile)
en suivant une erreur de typo ("bix" au lieu de "bis")
tu pourrais modifier le nom du fichier modifié:

/usr/share/X11/xkb/symbols/gr.bix


en

/usr/share/X11/xkb/symbols/gr.bis


et donc, bien sûr, le fichier "/etc/default/keyboard" deviendra contenir:

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="fr,gr.bis"
XKBVARIANT="latin9, polytonic"
XKBOPTIONS="compose:menu,terminate:ctrl_alt_bksp,grp:alt_shift_toggle"

BACKSPACE="guess"


===================
Tu devrais donc (corrige moi si je me trompe) en être arrivée maintenant à la configuration suivante :

===========================================================================================
Greek - Extended - bis (hypathie)                                                         |
===========================================================================================
???????????????????????????????????????????????????????????????????????????????????????????
? ~   ? !   ? @   ? #   ? $   ? %   ? ^   ? &   ? *   ? (   ? )   ? _   ? +   ?Backspace  ?
? `   ? 1   ? 2   ? 3 £ ? 4   ? 5 € ? 6   ? 7   ? 8   ? 9   ? 0 ° ? - ± ? =   ?           ?
???????????????????????????????????????????????????????????????????????????????????????????
?       ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? {   ? }   ?Enter    ?
?Tab    ? ? · ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? [   ? ]   ?         ?
??????????????????????????????????????????????????????????????????????????????????        ?
?Caps    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ? ?   ? "   ? |   ?        ?
?Lock    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? '   ? \   ?        ?
???????????????????????????????????????????????????????????????????????????????????????????
?       ? »   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ?     ? <   ? >   ? ?   ?               ?
?Shift  ? «   ? ?   ? ?   ? ? © ?     ? ?   ? ?   ?     ? , « ? . » ? /   ?Shift          ?
???????????????????????????????????????????????????????????????????????????????????????????
?       ?       ?       ?                                  ?       ?       ?       ?      ?
?Ctrl   ?Meta   ?Alt    ?              Space               ?AltGr  ?Meta   ?Menu   ?Ctrl  ?
???????????????????????????????????????????????????????????????????????????????????????????
 

Dernière modification par MicP (03-02-2014 10:45:07)

#35 03-02-2014 06:49:21

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Bonjour tout le monde et MicP,

Comme mentionné #33, j'ai bien changé comme tu me l'as sur #debian-facile, la ligne :

key <AC07> { [          Greek_finelsmallsiga         ] }; // ?



comme ceci

 key <AC07> { [          Greek_finelsmallsiga         ] }; // ?



Je n'ai pas encore changé les gr.bix en gr.bis (je vois pas bien ce que cela changerait cette modif?   smile  )
mais j'ai récupéré le message d'erreur au démarrage me disant qu'il pourrait être significatif, pour trouver d'où vient l'erreur, car cette modification sur "key <AC07>"  ne suffit pas, il doit y en avoir une autre.

Au démarrage j'ai le message :


Setting up console font and keymap /usr/bin/ckbcomp: Can not find file "symbols/bix" in any known directory
[color=red]failed[/color]
 



Bizarre qu'il me parle de "/usr/bin/ckbcomp" alors qu'il s'agit des fichiers "/usr/share/X11/xkb/" et "/etc/default/keyboard" ?

Je me demande aussi pour que cela fonctionne :

1) s'il ne faudrait-il pas "prévenir des changements dans un fichier de "/usr/bin/ckbcomp", comme on l'a fait dans le fichier  "/etc/default/keyboard" ?

2) et s'il n'y aurait un autre pb de typographie de ce genre : en effet, j'ai changé par exemple,

key <AD01> { [           Greek_alpha     Greek_ALPHA ] }; // ? ?



Or à cette emplacement, il y a un point ; je me demande si à l'endroit où ce point est "programmé" en troisième niveau,
il ne faudrait pas changer quelque chose pour prévenir du changement au niveau des troisième niveau partout où il y a eu changement du premier et du deuxième ?

Plus exactement je ne comprends pas en effet

MicP a écrit :

Pour le troisième niveau, ajouter un troisième champ.



Or si on regarde le fichier d'origine qui donnait cela :


     ?         ? :     ? ?   | ?   ? ?   ? ?  ? ?    ?   ? ?   ? ?   ? ?   ? {   ? }   ?Enter   ?
     ? Tab   ?  ; .  ? ?   ? ? €   ? ® ?    ? ?   ? ?  ? ?   ? ?    ? ?   ? [   ? ]    ?          ?

Avec la ligne

 key <AD01> { [             semicolon,          colon ] }; // ; :


Je ne vois pas dans cette ligne d'indication du point au troisième niveau (pour le point), avec un troisième champ . big_smile

Par troisième champ tu veux bien dire qu'il devrait être écrit quelque chose à côté de "colon", dans la ligne  key <AD01> ?

Pourrais-tu me donner un exemple de "troisième champ" dans le fichier d'origine s'il te plait ?

De même d'ailleurs, pour les autres lettres.

Merci

Dernière modification par Hypathie (03-02-2014 07:10:19)

Hors ligne

#36 03-02-2014 07:04:06

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Bonjour hypathie.

Il manque un "m" et un "e" est à remplacer par un "a"
Greek_finalsmallsigma

Si tu veux l'utiliser, J'ai mis dans mon post précédent le contenu du ficher "/usr/share/X11/xkb/symbols/gr.bix" (ou .bis)


The  ckbcomp keymap compiler converts a description of an XKB keymap into a console keymap that can be read directly by loadkeys
Il doit donc rester quelques erreurs de typographie dans ton fichier

==================
Pour le "point", il est définit ici: (juste en dessous du dessin du clavier).
en quelque sorte, il est "ajouté" à la définition.


partial alphanumeric_keys alternate_group
xkb_symbols "extended" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (extended)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
    key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
    key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
 
    key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·

Dernière modification par MicP (12-02-2014 06:07:22)

#37 03-02-2014 07:14:21

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Je ne sais pas je ne suis pas encore aller sur IRC là ?
Je vais voir, mais demande pas MP à quelque un qui s'y connait moi j'suis un peu nulle tu sais wink

D'ailleurs "The  ckbcomp keymap compiler converts a description of an XKB keymap into a console keymap that can be read directly by loadkeys" : donc pas besoin de le "prévenir des changements.

Merci smile

Hors ligne

#38 03-02-2014 07:19:12

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Pour le compilateur "ckbcomp", il doit sans doute s'agir d'une erreur de typo résiduelle dans le fichier "/usr/share/X11/xkb/symbols/gr.bix" qui provoque l'apparition de ce message.

Dernière modification par MicP (03-02-2014 14:22:11)

#39 03-02-2014 07:35:12

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

ok pb général !

big_smile

Hors ligne

#40 03-02-2014 07:35:53

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Avec le fichier qui est dans mon post #34 , est-ce que ça fonctionne ?

Dernière modification par MicP (03-02-2014 14:22:33)

#41 03-02-2014 08:16:30

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

coucou,
post #34

MicP a écrit :

à changer en :

key <AC07> { [ Greek_finalsmallsigma,       NoSymbol ] }; // ?



Mais post #36 :

MicP a écrit :

Il manque un "m" et un "e" est à remplacer par un "a"
Greek_finalsmallsigma




Faut-il retirer alors NoSymbol ?

Non, il me semble qu'il faut faire :

key <AC07> { [          Greek_finalsmallsigma,    NoSymbol  ] }; // ?



J'en suis là et au changement proposé post #34

MicP a écrit :

Étant donné qu'on était tous partis (sur #debian-facile)
en suivant une erreur de typo ("bix" au lieu de "bis")
tu pourrais modifier le nom du fichier modifié:

.

lol

Dernière modification par Hypathie (04-02-2014 15:43:38)

Hors ligne

#42 03-02-2014 08:17:59

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Oui, c'est bon: il faut laisser "NoSymbol"

====================
Dans: /etc/default/keyboard
XKBLAYOUT="fr,gr.bix"          à changer (avec le compte "root") par :
XKBLAYOUT="fr,gr.bis"

====================
/usr/share/X11/xkb/symbols/gr.bix        à renommer en :
/usr/share/X11/xkb/symbols/gr.bis

mv /usr/share/X11/xkb/symbols/gr.bix /usr/share/X11/xkb/symbols/gr.bis



====================
En fait, c'est seulement pour une question de lisibilité: Une erreur de typographie a fait qu'on a tous utilisé l'extension ".bix", mais il s'agit en fait d'une copie modifiée => "bis"

Tu pourra même le renommer plus tard en ".hypathie" si tu veux. smile

Dernière modification par MicP (12-02-2014 06:09:48)

#43 03-02-2014 11:44:13

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Bon alors pour récapituler ce qu'il y a chez moi,
j'ai dans le fichier "/usr/share/X11/xkb/symbols" :

* le fichier gr : qui est l'original ;
* le fichier gr.bix : qui est une copie de sécurité de l'original gr ;
* le fichier gr.bix00 : qui est le fichier en cours de transformation

J'ai donc fait pour appeler gr.bix00 gr.bis ceci :

mv /usr/share/X11/xkb/symbols/gr.bix00 /usr/share/X11/xkb/symbols/gr.bis

.

J'ai donc maintenant :
* le fichier gr : qui est l'original ;
* le fichier gr.bix : qui est une copie de sécurité de l'original gr ;
* le fichier gr.bis : qui est le fichier en cours de transformation.

Ensuite j'ai bien changé le fichier "/etc/default/keyboard" ainsi :

# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.


XKBMODEL="pc105"
XKBLAYOUT="fr,gr.bis"
XKBVARIANT="latin9, polytonic"
XKBOPTIONS="compose:menu,terminate:ctrl_alt_bksp,grp:alt_shift_toggle"

BACKSPACE="guess"



Voilivoilà smile

Dernière modification par Hypathie (04-02-2014 15:42:48)

Hors ligne

#44 03-02-2014 11:48:21

captnfab
Admin-Girafe
Lieu : /dev/random
Distrib. : Debian
Noyau : Dur
(G)UI : gui gui, je zuis un doiseau
Inscription : 07-07-2008
Site Web

Re : [résolu]configurer une disposition grecque polytonique pour debian

Et ça marche ? smile

captnfab,
Association Debian-Facile, bépo.
TheDoctor: Your wish is my command… But be careful what you wish for.

Hors ligne

#45 03-02-2014 12:26:17

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Oui après correction : le message d'erreur au démarrage :

Setting up console font and keymap /usr/bin/ckbcomp: Can not find file "symbols/bix" in any known directory
failed


a disparu.

Par contre, j'ai un peu de difficultés avec le troisième niveau, mais ça avance. Il le faut car il manque encore des possibilités d'accentuation pour écrire du grec classique correctement

Merci captnfab

et bien sûr merci MicP

smile

Hors ligne

#46 03-02-2014 12:43:49

captnfab
Admin-Girafe
Lieu : /dev/random
Distrib. : Debian
Noyau : Dur
(G)UI : gui gui, je zuis un doiseau
Inscription : 07-07-2008
Site Web

Re : [résolu]configurer une disposition grecque polytonique pour debian

Super !
Tu t'y connais maintenant plus en personnalisation de disposition clavier que moi wink

captnfab,
Association Debian-Facile, bépo.
TheDoctor: Your wish is my command… But be careful what you wish for.

Hors ligne

#47 03-02-2014 13:31:38

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Pour le point que tu cherchais (troisième niveau), il est dans cet extrait où tu peux lire:  key.type[Group1] = "THREE_LEVEL";

partial alphanumeric_keys alternate_group
xkb_symbols "extended" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (extended)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
    key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
    key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
 
    key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
    key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
 
    key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
    key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
    key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
 
    include "level3(ralt_switch)"
    include "eurosign(5)"
    include "eurosign(e)"
};
 


Pour les quatrièmes et autres, même méthode...
smile

=================
Petits liens :
http://ubuntuforums.org/archive/index.p … 37250.html
http://simos.info/blog/archives/13

Dernière modification par MicP (12-02-2014 06:11:02)

#48 03-02-2014 19:49:01

Hypathie
Membre
Lieu : Chambéry _ Montréal
Distrib. : Jessie
Noyau : Linux debian 3.16.0-4-586
(G)UI : Cinnamon Mate Xfce
Inscription : 28-12-2013

Re : [résolu]configurer une disposition grecque polytonique pour debian

Bon, mauvaise nouvelle : il y a un problème majeur pour écrire du grec classique à partir de la syntaxe du fichier gr d'origine :


// Hellenic keyboard map for X.org
//
// Original version:
//   Kostas Gewrgiou <gewrgiou@imbc.gr>
// Heavily modified and maintained by:
//   Vasilis Vasaitis <vvas@hal.csd.auth.gr>
// Originally converted to single group form by:
//   Ivan Pascal <pascal@info.tsu.ru>
 
default partial alphanumeric_keys alternate_group
xkb_symbols "basic" {
  include "gr(simple)"
 
  name[Group1] = "Greek";
 
  include "eurosign(e)"
  include "eurosign(5)"
  include "kpdl(comma)"
  include "level3(ralt_switch)"
 
  key <AB01> { [       NoSymbol,       NoSymbol,          U037D,          U03FF ] };
  key <AB02> { [       NoSymbol,       NoSymbol,     rightarrow,      leftarrow ] };
  key <AB03> { [       NoSymbol,       NoSymbol,      copyright                 ] };
  key <AB04> { [       NoSymbol,       NoSymbol,          U03D6                 ] };
  key <AB05> { [       NoSymbol,       NoSymbol,          U03D0                 ] };
  key <AB06> { [       NoSymbol,       NoSymbol,          U0374,          U0375 ] };
  key <AB07> { [       NoSymbol,       NoSymbol,          U03FB,          U03FA ] };
  key <AB08> { [       NoSymbol,       NoSymbol,  guillemotleft                 ] };
  key <AB09> { [       NoSymbol,       NoSymbol, guillemotright, periodcentered ] };
  key <AC03> { [       NoSymbol,       NoSymbol,      downarrow,        uparrow ] };
  key <AC04> { [       NoSymbol,       NoSymbol,          U03D5                 ] };
  key <AC05> { [       NoSymbol,       NoSymbol,          U03DD,          U03DC ] };
  key <AC07> { [       NoSymbol,       NoSymbol,          U037C,          U03FE ] };
  key <AC08> { [       NoSymbol,       NoSymbol,          U03DF,          U03DE ] };
  key <AC09> { [       NoSymbol,       NoSymbol,          U03F2,          U03F9 ] };
  key <AC10> { [       NoSymbol,       NoSymbol,     dead_acute,     dead_psili ] };
  key <AC11> { [       NoSymbol,       NoSymbol,     dead_grave,     dead_dasia ] };
  key <AD01> { [       NoSymbol,       NoSymbol, periodcentered                 ] };
  key <AD02> { [       NoSymbol,       NoSymbol,          U03DB,          U03DA ] };
  key <AD04> { [       NoSymbol,       NoSymbol,     registered,          U03F1 ] };
  key <AD07> { [       NoSymbol,       NoSymbol,          U03D1,          U03F4 ] };
  key <AD08> { [       NoSymbol,       NoSymbol,          U037B,          U03FD ] };
  key <AD10> { [       NoSymbol,       NoSymbol,          U03E1,          U03E0 ] };
  key <AD11> { [       NoSymbol,       NoSymbol,     dead_tilde,    dead_macron ] };
  key <AD12> { [       NoSymbol,       NoSymbol,      dead_iota,     dead_breve ] };
  key <AE01> { [       NoSymbol,       NoSymbol,       NoSymbol,    onesuperior ] };
  key <AE02> { [       NoSymbol,       NoSymbol,        onehalf,    twosuperior ] };
  key <AE03> { [       NoSymbol,       NoSymbol,       sterling,  threesuperior ] };
  key <AE04> { [       NoSymbol,       NoSymbol,     onequarter,  threequarters ] };
  key <AE07> { [       NoSymbol,       NoSymbol,          U03F0                 ] };
  key <AE10> { [       NoSymbol,       NoSymbol,         degree                 ] };
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "simple" {
 
    include "gr(bare)"
 
    name[Group1] = "Greek (simple)";
 
    key <TLDE> { [        grave,  asciitilde ] }; // ` ~
    key <AE01> { [            1,      exclam ] }; // 1 !
    key <AE02> { [            2,          at ] }; // 2 @
    key <AE03> { [            3,  numbersign ] }; // 3 #
    key <AE04> { [            4,      dollar ] }; // 4 $
    key <AE05> { [            5,     percent ] }; // 5 %
    key <AE06> { [            6, asciicircum ] }; // 6 ^
    key <AE07> { [            7,   ampersand ] }; // 7 &
    key <AE08> { [            8,    asterisk ] }; // 8 *
    key <AE09> { [            9,   parenleft ] }; // 9 (
    key <AE10> { [            0,  parenright ] }; // 0 )
    key <AE11> { [        minus,  underscore ] }; // - _
    key <AE12> { [        equal,        plus ] }; // = +
 
    key <AD11> { [  bracketleft,   braceleft ] }; // [ {
    key <AD12> { [ bracketright,  braceright ] }; // ] }
 
    key <AC11> { [   apostrophe,    quotedbl ] }; // ' "
 
    key <AB08> { [        comma,        less ] }; // , <
    key <AB09> { [       period,     greater ] }; // . >
    key <AB10> { [        slash,    question ] }; // / ?
    key <BKSL> { [    backslash,         bar ] }; // \ |
 
    include "kpdl(comma)"
};
 
hidden partial alphanumeric_keys alternate_group
xkb_symbols "bare" {
 
    key <AD01> { [             semicolon,          colon ] }; // ; :
    key <AD02> { [ Greek_finalsmallsigma,    Greek_SIGMA ] }; // ? ?
    key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ? ?
    key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ? ?
    key <AD05> { [             Greek_tau,      Greek_TAU ] }; // ? ?
    key <AD06> { [         Greek_upsilon,  Greek_UPSILON ] }; // ? ?
    key <AD07> { [           Greek_theta,    Greek_THETA ] }; // ? ?
    key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ? ?
    key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ? ?
    key <AD10> { [              Greek_pi,       Greek_PI ] }; // ? ?
 
    key <AC01> { [           Greek_alpha,    Greek_ALPHA ] }; // ? ?
    key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // ? ?
    key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // ? ?
    key <AC04> { [             Greek_phi,      Greek_PHI ] }; // ? ?
    key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // ? ?
    key <AC06> { [             Greek_eta,      Greek_ETA ] }; // ? ?
    key <AC07> { [              Greek_xi,       Greek_XI ] }; // ? ?
    key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // ? ?
    key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // ? ?
    key <AC10> { [            dead_acute, dead_diaeresis ] }; // ´ ¨
 
    key <AB01> { [            Greek_zeta,     Greek_ZETA ] }; // ? ?
    key <AB02> { [             Greek_chi,      Greek_CHI ] }; // ? ?
    key <AB03> { [             Greek_psi,      Greek_PSI ] }; // ? ?
    key <AB04> { [           Greek_omega,    Greek_OMEGA ] }; // ? ?
    key <AB05> { [            Greek_beta,     Greek_BETA ] }; // ? ?
    key <AB06> { [              Greek_nu,       Greek_NU ] }; // ? ?
    key <AB07> { [              Greek_mu,       Greek_MU ] }; // ? ?
 
    key <LSGT> { [         guillemotleft, guillemotright ] }; // « »
};
 
// ===========================================================================================
// Greek - Extended                                                                          |
// ===========================================================================================
//
// ???????????????????????????????????????????????????????????????????????????????????????????
// ? ~   ? !   ? @   ? #   ? $   ? %   ? ^   ? &   ? *   ? (   ? )   ? _   ? +   ?Backspace  ?
// ? `   ? 1   ? 2   ? 3 £ ? 4   ? 5 € ? 6   ? 7   ? 8   ? 9   ? 0 ° ? - ± ? =   ?           ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? :   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? {   ? }   ?Enter    ?
// ?Tab    ? ; · ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? [   ? ]   ?         ?
// ??????????????????????????????????????????????????????????????????????????????????        ?
// ?Caps    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ¨   ? "   ? |   ?        ?
// ?Lock    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ´   ? '   ? \   ?        ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? »   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? <   ? >   ? ?   ?               ?
// ?Shift  ? «   ? ?   ? ?   ? ? © ? ?   ? ?   ? ?   ? ?   ? , « ? . » ? /   ?Shift          ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ?       ?       ?                                  ?       ?       ?       ?      ?
// ?Ctrl   ?Meta   ?Alt    ?              Space               ?AltGr  ?Meta   ?Menu   ?Ctrl  ?
// ???????????????????????????????????????????????????????????????????????????????????????????
 
partial alphanumeric_keys alternate_group
xkb_symbols "extended" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (extended)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
    key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
    key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
 
    key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
    key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
 
    key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
    key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
    key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
 
    include "level3(ralt_switch)"
    include "eurosign(5)"
    include "eurosign(e)"
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "polytonic" {
 
    include "gr(extended)"
 
    name[Group1] = "Greek (polytonic)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
    key <AD12> { [  dead_iota,     VoidSymbol,  dead_breve ] }; // ?   ?
 
    key <AC10> { [ dead_acute, dead_psili  ] }; // ´ ?
    key <AC11> { type[Group1]="FOUR_LEVEL",
                 [ dead_grave, dead_dasia, apostrophe, quotedbl  ] };
                 // ` ?  ' "
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "nodeadkeys" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (eliminate dead keys)";
 
    key <AC10> { [ semicolon, colon ] }; // ; :
};



En effet, pour l'instant je n'ai fait que déplacer ce qui existait pour obtenir la même chose mais adapté au habitude d'un clavier AZERTY, en réutilisant la syntaxe comme ceci :


// Hellenic keyboard map for X.org
//
// Original version:
//   Kostas Gewrgiou <gewrgiou@imbc.gr>
// Heavily modified and maintained by:
//   Vasilis Vasaitis <vvas@hal.csd.auth.gr>
// Originally converted to single group form by:
//   Modified by Hypathie
//   hypathie At debian-facile Point org
 
default partial alphanumeric_keys alternate_group
xkb_symbols "basic" {
  include "gr(simple)"
 
  name[Group1] = "Greek";
 
  include "eurosign(e)"
  include "eurosign(5)"
  include "kpdl(comma)"
  include "level3(ralt_switch)"
 
  key <AB01> { [       NoSymbol,       NoSymbol,          U037D,          U03FF ] };
  key <AB02> { [       NoSymbol,       NoSymbol,     rightarrow,      leftarrow ] };
  key <AB03> { [       NoSymbol,       NoSymbol,      copyright                 ] };
  key <AB04> { [       NoSymbol,       NoSymbol,          U03D6                 ] };
  key <AB05> { [       NoSymbol,       NoSymbol,          U03D0                 ] };
  key <AB06> { [       NoSymbol,       NoSymbol,          U0374,          U0375 ] };
  key <AB07> { [       NoSymbol,       NoSymbol,          U03FB,          U03FA ] };
  key <AB08> { [       NoSymbol,       NoSymbol,  guillemotleft                 ] };
  key <AB09> { [       NoSymbol,       NoSymbol, guillemotright, periodcentered ] };
  key <AC03> { [       NoSymbol,       NoSymbol,      downarrow,        uparrow ] };
  key <AC04> { [       NoSymbol,       NoSymbol,          U03D5                 ] };
  key <AC05> { [       NoSymbol,       NoSymbol,          U03DD,          U03DC ] };
  key <AC07> { [       NoSymbol,       NoSymbol,          U037C,          U03FE ] };
  key <AC08> { [       NoSymbol,       NoSymbol,          U03DF,          U03DE ] };
  key <AC09> { [       NoSymbol,       NoSymbol,          U03F2,          U03F9 ] };
  key <AC10> { [       NoSymbol,       NoSymbol,     dead_acute,     dead_psili ] };
  key <AC11> { [       NoSymbol,       NoSymbol,     dead_grave,     dead_dasia ] };
  key <AD01> { [       NoSymbol,       NoSymbol, periodcentered                 ] };
  key <AD02> { [       NoSymbol,       NoSymbol,          U03DB,          U03DA ] };
  key <AD04> { [       NoSymbol,       NoSymbol,     registered,          U03F1 ] };
  key <AD07> { [       NoSymbol,       NoSymbol,          U03D1,          U03F4 ] };
  key <AD08> { [       NoSymbol,       NoSymbol,          U037B,          U03FD ] };
  key <AD10> { [       NoSymbol,       NoSymbol,          U03E1,          U03E0 ] };
  key <AD11> { [       NoSymbol,       NoSymbol,     dead_tilde,    dead_macron ] };
  key <AD12> { [       NoSymbol,       NoSymbol,      dead_iota,     dead_breve ] };
  key <AE01> { [       NoSymbol,       NoSymbol,       NoSymbol,    onesuperior ] };
  key <AE02> { [       NoSymbol,       NoSymbol,        onehalf,    twosuperior ] };
  key <AE03> { [       NoSymbol,       NoSymbol,       sterling,  threesuperior ] };
  key <AE04> { [       NoSymbol,       NoSymbol,     onequarter,  threequarters ] };
  key <AE07> { [       NoSymbol,       NoSymbol,          U03F0                 ] };
  key <AE10> { [       NoSymbol,       NoSymbol,         degree                 ] };
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "simple" {
 
    include "gr(bare)"
 
    name[Group1] = "Greek (simple)";
 
    key <TLDE> { [        grave,  asciitilde ] }; // ` ~
    key <AE01> { [            1,      exclam ] }; // 1 !
    key <AE02> { [            2,          at ] }; // 2 @
    key <AE03> { [            3,  numbersign ] }; // 3 #
    key <AE04> { [            4,      dollar ] }; // 4 $
    key <AE05> { [            5,     percent ] }; // 5 %
    key <AE06> { [            6, asciicircum ] }; // 6 ^
    key <AE07> { [            7,   ampersand ] }; // 7 &
    key <AE08> { [            8,    asterisk ] }; // 8 *
    key <AE09> { [            9,   parenleft ] }; // 9 (
    key <AE10> { [            0,  parenright ] }; // 0 )
    key <AE11> { [        minus,  underscore ] }; // - _
    key <AE12> { [        equal,        plus ] }; // = +
 
    key <AD11> { [  bracketleft,   braceleft ] }; // [ {
    key <AD12> { [ bracketright,  braceright ] }; // ] }
 
    key <AC11> { [   apostrophe,    quotedbl ] }; // ' "
 
    key <AB08> { [        comma,        less ] }; // , <
    key <AB09> { [       period,     greater ] }; // . >
    key <AB10> { [        slash,    question ] }; // / ?
    key <BKSL> { [    backslash,         bar ] }; // \ |
 
    include "kpdl(comma)"
};
 
hidden partial alphanumeric_keys alternate_group
xkb_symbols "bare" {
 
    key <AD01> { [           Greek_alpha,     Greek_ALPHA ] }; // ? ?
    key <AD02> { [            Greek_zeta,     Greek_ZETA ] }; // ? ?
    key <AD03> { [         Greek_epsilon,  Greek_EPSILON ] }; // ? ?
    key <AD04> { [             Greek_rho,      Greek_RHO ] }; // ? ?
    key <AD05> { [             Greek_tau,      Greek_TAU ] }; // ? ?
    key <AD06> { [             Greek_psi,      Greek_PSI ] }; // ? ?      
    key <AD07> { [         Greek_upsilon,  Greek_UPSILON ] }; // ? ?
    key <AD08> { [            Greek_iota,     Greek_IOTA ] }; // ? ?
    key <AD09> { [         Greek_omicron,  Greek_OMICRON ] }; // ? ?
    key <AD10> { [              Greek_pi,       Greek_PI ] }; // ? ?
    key <AC01> { [           Greek_theta,    Greek_THETA ] }; // ? ?
    key <AC02> { [           Greek_sigma,    Greek_SIGMA ] }; // ? ?
    key <AC03> { [           Greek_delta,    Greek_DELTA ] }; // ? ?
    key <AC04> { [             Greek_phi,      Greek_PHI ] }; // ? ?
    key <AC05> { [           Greek_gamma,    Greek_GAMMA ] }; // ? ?
    key <AC06> { [             Greek_eta,      Greek_ETA ] }; // ? ?
    key <AC07> { [  Greek_finalsmallsigma,    NoSymbol   ] }; // ?      
    key <AC08> { [           Greek_kappa,    Greek_KAPPA ] }; // ? ?
    key <AC09> { [           Greek_lamda,    Greek_LAMDA ] }; // ? ?
    key <AC10> { [              Greek_mu,       Greek_MU ] }; // ? ?
    key <AB01> { [           Greek_omega,    Greek_OMEGA ] }; // ? ?
    key <AB02> { [              Greek_xi,       Greek_XI ] }; // ? ?
    key <AB03> { [             Greek_chi,      Greek_CHI ] }; // ? ?
    key <AB04> { [             NoSymbol,       NoSymbol  ] }; // à remplir
    key <AB05> { [             Greek_beta,     Greek_BETA ] }; // ? ?
    key <AB06> { [               Greek_nu,       Greek_NU ] }; // ? ?
    key <AB07> { [               comma,         NoSymbol  ] }; // ,
    key <AB08> { [           semicolon,    periodcentered ] }; // ; ·
 
    key <LSGT> { [         guillemotleft, guillemotright ] }; // « »
};
 
// ===========================================================================================
// Greek - Extended                                                                          |
// ===========================================================================================
//
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?     ?     ?     ?     ?     ?     ?     ?     ?     ?     ?     ? _   ?     ?Backspace  ?
// ?     ?     ?     ?     ? ´   ?     ?     ? `   ?     ?     ?     ?     ?     ?           ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ¨   ?   ? ?Enter    ?
// ?Tab    ? ?   ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ~   ? ?   ?         ?
// ??????????????????????????????????????????????????????????????????????????????????        ?
// ?Caps    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ? ?   ?     ?     ?        ?
// ?Lock    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ?        ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ? »   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ?     ? ·   ?     ?     ?               ?
// ?Shift  ? «   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ?     ? ;   ? .   ?     ?Shift          ?
// ???????????????????????????????????????????????????????????????????????????????????????????
// ?       ?       ?       ?                                  ?       ?       ?       ?      ?
// ?Ctrl   ?Meta   ?Alt    ?              Space               ?AltGr  ?Meta   ?Menu   ?Ctrl  ?
// ???????????????????????????????????????????????????????????????????????????????????????????
 
partial alphanumeric_keys alternate_group
xkb_symbols "extended" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (extended)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE03> { [ NoSymbol, NoSymbol,       sterling ] }; // £
    key <AE10> { [ NoSymbol, NoSymbol,         degree ] }; // °
    key <AE11> { [ NoSymbol, NoSymbol,      plusminus ] }; // ±
 
    key <AD01> { [ NoSymbol, NoSymbol, periodcentered ] }; // ·
    key <AD04> { [ NoSymbol, NoSymbol,     registered ] }; // ®
 
    key <AB03> { [ NoSymbol, NoSymbol,      copyright ] }; // ©
    key <AB08> { [ NoSymbol, NoSymbol,  guillemotleft ] }; // «
    key <AB09> { [ NoSymbol, NoSymbol, guillemotright ] }; // »
 
    include "level3(ralt_switch)"
    include "eurosign(5)"
    include "eurosign(e)"
};
 
partial alphanumeric_keys alternate_group
xkb_symbols "polytonic" {
 
    include "gr(extended)"
 
    name[Group1] = "Greek (polytonic)";
 
    key.type[Group1] = "THREE_LEVEL";
 
    key <AE04> { [  dead_acute,     NoSymbol,     NoSymbol ] }; // ´
    key <AE07> { [  dead_grave,     NoSymbol,     NoSymbol ] }; // `
    key <AD11> { [ dead_tilde, dead_diaeresis, dead_macron ] }; // ~ ¨ ¯
    key <AD12> { [  dead_iota,     VoidSymbol,  dead_breve ] }; // ?   ?
    key <AC11> { [   dead_psili,    NoSymbol,     NoSymbol ] }; // esprit doux
    key <AC12> { [   dead_dasia,    NoSymbol,    NoSymbol  ] }; // esprit rude
    key <AC10> { [ dead_acute, dead_psili  ] }; // ´ ?
    key <AC11> { type[Group1]="FOUR_LEVEL",
                 [ dead_grave, dead_dasia, apostrophe, quotedbl  ] };
                 // ` ?  ' "
};
`
partial alphanumeric_keys alternate_group
xkb_symbols "nodeadkeys" {
 
    include "gr(simple)"
 
    name[Group1] = "Greek (eliminate dead keys)";
 
    key <AC10> { [ semicolon, colon ] }; // ; :
};
 



Tout n'est pas encore fonctionnel au niveau de ma syntaxe puisque je voudrais retirer du clavier grec ce qui ne sert jamais à écrire du grec ancien (les chiffres arabes par exemple n'existaient pas. Le tableau inclus ci-dessus est le but rechercher seulement et il n'est pas encore complètement fonctionnel.

Le PROBLEME PRINCIPAL au-delà de ces quelques détails de syntaxe concerne les touches mortesbig_smile

Pour l'instant il n'y a pas de syntaxe (en tout cas autant que je l'ai comprise, dans le fichier d'origine) qui permettrait d'avoir "des touches mortes de plusieurs niveau".

Je veux dire par là que lorsqu'on appuie sur une touche morte, et qu'on appuie ensuite sur une voyelle, l'accent se dessine sur la voyelle comme en français ou en grec moderne, mais il faudrait obtenir ceci :

1)  pouvoir appuyer sur plusieurs touches mortes successivement et qu'il ne se passe rien au moment d'appuyer sur la deuxième touche, pour pouvoir faire "mémoriser" deux signes diacritiques, pour qu'au moment de la frappe il s'inscrive sur une même voyelle, plusieurs signes diacritiques en même temps (accents, esprit, voire iota souscrit).
En effet, le grec classique comporte la plupart du temps (sur presque sur un mot sur trois) deux signes diacratiques (par exemple un accent et un esprit) sur une même voyelle. Mais il est fréquent qu'il y en est trois ! Il me semble, que la syntaxe de ce fichier d'origine ne permette pas de faire cela. Il n'est pas possible d'écrire au clavier plus de 50% de ce qui est nécessaire, à moins d'aller chercher dans insertions symboles la lettre désirée et correctement accentuée avec ces deux ou trois signes diacritiques : mais en pratique, c'est infernale).

2) Ensuite, par rapport à la syntaxe utilisée dans ce fichier (origine) je n'ai pas compris comment au niveau de la lettre, on indique au programme de faire lui accepter un signe apporté par une touche morte. Par exemple la consonne Rhô n'accepte pas l'esprit (=h transcrit en français, comme dans rhinocéros ), de même quand français, le "r" ne peut pas accepter d'accent circonflexe.

Désolée pour l'expression " touches mortes de plusieurs niveau" mais je ne sais pas comment désigner cela, je n'ai rien trouvé sur le sujet !


Merci d'avance smile

Dernière modification par Hypathie (04-02-2014 16:15:35)

Hors ligne

#49 03-02-2014 19:58:08

MicP
Invité

Re : [résolu]configurer une disposition grecque polytonique pour debian

Afficher des Esprits "rude" et "doux" en entrant une valeur Unicode:


Ctrl+Shift+u 1fbf => ?  <=> Esprit doux
Ctrl+Shift+u 1ffe => ?  <=> Esprit rude
 



===============

hypathie a écrit :

... Il n'est pas possible d'écrire au clavier plus de 50% de ce qui est nécessaire ...



Chaque touche permet d'entrer 4 caractères différents :

Exemple avec la touche "a" :


            seule => a
       avec Shift => A
      avec Alt+Gr => â
avec Shift+Alt+Gr => ä
 


Il est donc possible d'associer à chaque touche 4 caractères.

???????????????????????????????????????????????????????????????????????????????????????????
?     ?     ?     ?     ?     ?     ?     ?     ?     ?     ?     ? _   ?     ?Backspace  ?
?     ?     ?     ?     ? ´   ?     ?     ? `   ?     ?     ?     ?     ?     ?           ?
???????????????????????????????????????????????????????????????????????????????????????????
?       ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ¨   ?   ? ?Enter    ?
?Tab    ? ?   ? ?   ? ? € ? ? ® ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ~   ? ?   ?         ?
??????????????????????????????????????????????????????????????????????????????????        ?
?Caps    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ? ?   ?     ?     ?        ?
?Lock    ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ? ?   ??    ??    ?        ?
???????????????????????????????????????????????????????????????????????????????????????????
?       ? »   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ?     ? ·   ?     ?     ?               ?
?Shift  ? «   ? ?   ? ?   ? ?   ?     ? ?   ? ?   ?     ? ;   ? .   ?     ?Shift          ?
???????????????????????????????????????????????????????????????????????????????????????????
?       ?       ?       ?                                  ?       ?       ?       ?      ?
?Ctrl   ?Meta   ?Alt    ?              Space               ?AltGr  ?Meta   ?Menu   ?Ctrl  ?
???????????????????????????????????????????????????????????????????????????????????????????


Dans ta configuration de clavier, il est donc encore possible d'ajouter (pour la majorité des touches) deux autres caractères par touche,
mais cela suffira-t-il ? Je ne sais pas, mais ne serait-ce pas une possible solution pour palier à cette impossibilité (apparente) d'utiliser plusieurs touches mortes successivement ?

====================
Une autre solution serait d'utiliser la touche "compose" qui permet d'accéder à beaucoup d'autres caractères.

Dernière modification par MicP (03-02-2014 21:42:23)

#50 03-02-2014 22:54:11

captnfab
Admin-Girafe
Lieu : /dev/random
Distrib. : Debian
Noyau : Dur
(G)UI : gui gui, je zuis un doiseau
Inscription : 07-07-2008
Site Web

Re : [résolu]configurer une disposition grecque polytonique pour debian

En fait, on peut définir le comportement des combinaisons de touches mortes via le ~/.XCompose (merci JoFo sur #bepo).
Tu coup, tu peux t'éditer (en user) le fichier ~/.XCompose et y inscrire par exemple :

<dead_acute> <dead_grave> <e> : "?"


Et avec ça, après redémarrage, touche morte aiguë + touche morte grave + e = ?
À faire avec toutes tes doubles combinaisons grecques…


captnfab,
Association Debian-Facile, bépo.
TheDoctor: Your wish is my command… But be careful what you wish for.

Hors ligne

Pied de page des forums