Welcome, Guest. Please Login or Register
FUG-FR logo
 
  HomeHelpSearchLoginRegister  
 
Qwerty graphic - Azerty terminal (Read 7179 times)
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
Qwerty graphic - Azerty terminal
26. Jan 2009 at 09:35
 
J'ai installé et mis à jour mon systeme: FreeBSd .71 release2 (amd64)
Mes variables locales sont configurées pour avoir mes applications, menus ... en français..
Mon problème est le suivant
En mode terminal tout est OK clavier AZERTY
Par contre en mode graphique quel que soit l'environnement:
gnome2 ou Xfce4
les applis et menus sont en français par contre quand je lance un terminal ou un editeur j'ai un clavier QWERTY  Undecided
mon fichier /etc/X11/xorg.conf possede bien
Option "xkbLayout "fr"
Back to top
 
WWW WWW  
IP Logged
 
fgudin
Global Moderator
*****
Offline


PouetPouetBSD roul3z

Posts: 1552
Thonon (74)
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #1 - 26. Jan 2009 at 10:41
 
La casse aurait-elle une importance ? ('XkbLayout…')
Back to top
 
 
IP Logged
 
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #2 - 26. Jan 2009 at 12:20
 
Sorry Option "XkbLayout"  "fr" est correctement orthographié dans mon fichier de configuration.
Back to top
 
WWW WWW  
IP Logged
 
patrick
Senior Member
****
Offline


Les pixels au peuple

Posts: 398
Re: Qwerty graphic - Azerty terminal
Reply #3 - 26. Jan 2009 at 14:07
 
kermitt wrote on 26. Jan 2009 at 09:35:
J'ai installé et mis à jour mon systeme: FreeBSd .71 release2 (amd64)
Mes variables locales sont configurées pour avoir mes applications, menus ... en français..
Mon problème est le suivant
En mode terminal tout est OK clavier AZERTY
Par contre en mode graphique quel que soit l'environnement:
gnome2 ou Xfce4
les applis et menus sont en français par contre quand je lance un terminal ou un editeur j'ai un clavier QWERTY  Undecided
mon fichier /etc/X11/xorg.conf possede bien
Option "xkbLayout "fr"


Tu peux nous donner toute la section pour le clavier ?

Back to top
 
 
IP Logged
 
ros
Global Moderator
*****
Offline



Posts: 868
Paris
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #4 - 26. Jan 2009 at 15:26
 
Pourquoi pas tout ton fichier de configuration dans un lien parstebin ?
Ca serait encore mieux.
Back to top
 

" Il vaut mieux mobiliser son intelligence sur des conneries que mobiliser sa connerie sur des choses intelligentes "
WWW WWW elfato_99  
IP Logged
 
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #5 - 27. Jan 2009 at 02:23
 
Extrait de xorg.conf
Code:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "fr"
 EndSectio 

n

Extrait /var/log/Xorg.0.log
Quote:
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0

Quote:
(II) LoadModule: "kbd"
(II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
       compiled for 1.5.3, module version = 1.3.2
       Module class: X.Org XInput Driver
       ABI class: X.Org XInput driver, version 2.1
(**) AT Keyboard: always reports core events
(**) Option "Protocol" "standard"
(**) AT Keyboard: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) AT Keyboard: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) AT Keyboard: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) AT Keyboard: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) AT Keyboard: CustomKeycodes disabled

Depuis Xorg-7.4  il faut charge dans rc.conf
dbus_enable="YES"
hald_enable="YES"

j ai l impressionqu xorg.conf est bypasse .   Undecided



Back to top
 
WWW WWW  
IP Logged
 
David Marec
Senior Member
****
Offline



Posts: 386
Toulouse
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #6 - 27. Jan 2009 at 12:52
 
kermitt wrote on 27. Jan 2009 at 02:23:
Extrait /var/log/Xorg.0.log
Quote:
(**) ModulePath set to "/usr/local/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd' or 'mouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0

j ai l impressionqu xorg.conf est bypasse .   Undecided


Ouaip, c'est pour ce genre de chose qu'il vaut mieux lire «/usr/ports/UPDATING» de temps en temps.


Back to top
 
WWW WWW https://diaspora.lapinbilly.eu/stream https://diaspora.lapinbilly.eu/stream  
IP Logged
 
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #7 - 27. Jan 2009 at 16:27
 
David Marec wrote on 27. Jan 2009 at 12:52:
Ouaip, c'est pour ce genre de chose qu'il vaut mieux lire «/usr/ports/UPDATING» de temps en temps.


Angry Je le lis regulierememt!
Code:
20090123:
  AFFECTS: users of x11-servers/xorg-server
  AUTHOR: rnoland@FreeBSD.org

  If you are using an older xorg.conf serveral config lines are
  no longer needed and will generate warnings when X is started.
  RgbPath will cause X to fail to start, remove it from your config...................etc 



mon install est nouvelle
j ai teste cela ne change rien<<<<  Embarrassed
et puis entre temps il ya eu cela

Code:
20090124:
  AFFECTS: users of x11-servers/xorg-server, sysutils/hal
  AUTHOR: rnoland@FreeBSD.org

  sysutils/hal has been updated and should now properly detect
  mice for use in Xorg.  Use of AllowEmptyInput should no longer
  be needed for most users and moused should now work fine 


Back to top
 
WWW WWW  
IP Logged
 
David Marec
Senior Member
****
Offline



Posts: 386
Toulouse
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #8 - 27. Jan 2009 at 20:00
 
kermitt wrote on 27. Jan 2009 at 16:27:
David Marec wrote on 27. Jan 2009 at 12:52:
Ouaip, c'est pour ce genre de chose qu'il vaut mieux lire «/usr/ports/UPDATING» de temps en temps.


Angry Je le lis regulierememt!


Oh, mais moi aussi, je peux froncer les sourcils:  Angry

Il ya eu non pas une , mais deux, mises à jours de xorg consécutives, dues à un problème de reconnaissance clavier et souris:

Code:
20090123:
  AFFECTS: users of x11-servers/xorg-server
  AUTHOR: rnoland@FreeBSD.org

  If you are using an older xorg.conf several config lines are
  no longer needed and will generate warnings when X is started.
  RgbPath will cause X to fail to start, remove it from your config.

  Server 1.5.3 also really wants to configure its input devices
  via hald.  This is causing some issues with moused and
  /dev/sysmouse.  There are a couple of options for how to deal
  with it.

  1. Add Option "AllowEmptyInput" "off" to your ServerLayout section.
     This will cause X to use the configured kbd, mouse, and vmmouse
     sections from your xorg.conf

  2. Don't use moused.  If you want it to work with addon usb mice
     set this in rc.conf:

     moused_enable="NO"
     moused_nondefault_enable="NO"

  I'm working on fixing hald or the mouse driver or both.
 



Alors,  vous ajoutez le
Code:
AllowEmptyInput "off"
 


- Je ne sais plus trop où ou comment, je n'ai pas essayé et c'est obsolète -.


ou  vous mettez à jour et recommencez la configuration de Xorg, dans les règles.

enfin, faites les deux. Je n'ai pas vraiment confiance dans ces mises à jour de xorg, ç'est quand même pas mal le bordel.



Ceci dit, un coup de setxkbdmap doit faire l'affaire.



Back to top
« Last Edit: 27. Jan 2009 at 20:22 by David Marec »  
WWW WWW https://diaspora.lapinbilly.eu/stream https://diaspora.lapinbilly.eu/stream  
IP Logged
 
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #9 - 28. Jan 2009 at 07:25
 
David Marec wrote on 27. Jan 2009 at 20:00:
Oh, mais moi aussi, je peux froncer les sourcils:  Angry

Smiley ..  Je ne voulais pas offensé  Embarrassed
Code:
Alors,  vous  ajoutez le
AllowEmptyInput "off" 


J'ai essayé, cela ne change rien! (quoique ce nétait peut etre pas placé au bon endroit !) à vérifier!! Roll Eyes

Ceci dit, un coup de setxkbdmap doit faire l'affaire.
Je vais essayé cette méthode ...et vous donnerai le(s) résultat(s)
ou echecs.
Merci pour cette info à laquelle je n'ai pas du tout pensé.




Back to top
 
WWW WWW  
IP Logged
 
David Marec
Senior Member
****
Offline



Posts: 386
Toulouse
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #10 - 28. Jan 2009 at 08:13
 
kermitt wrote on 28. Jan 2009 at 07:25:
David Marec wrote on 27. Jan 2009 at 20:00:
Oh, mais moi aussi, je peux froncer les sourcils:  Angry

Smiley ..  Je ne voulais pas offensé  Embarrassed


J'essaie de mettre à jour ce $#%*æð€Êæ de Xorg depuis trois jours et de
charybde en scilla, j'ai enfin réussi hier soir.

Quote:
Code:
Alors,  vous  ajoutez le
AllowEmptyInput "off" 


J'ai essayé, cela ne change rien! (quoique ce nétait peut etre pas placé au bon endroit !) à vérifier!! Roll Eyes


Chez moi, ça marche© ( enfin ).
Code:
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option "AllowEmptyInput" "off"
EndSection
 



Sinon, intérroger X au sujet du clavier qu'il utilise:
Code:
david:~$ xinput list --short | grep Keyboard
"Virtual core keyboard" id=0    [XKeyboard]
"Keyboard0"     id=3    [XExtensionKeyboard]
"AT Keyboard"   id=4    [XExtensionKeyboard]
 



J'ai donc rajouté quelques notes de versions pour la toute nouvelle branche.

Il y a d'autres changements...

Quote:
Ceci dit, un coup de setxkbdmap doit faire l'affaire.
Je vais essayé cette méthode ...et vous donnerai le(s) résultat(s)
ou echecs.
Merci pour cette info à laquelle je n'ai pas du tout pensé.


Vous pouvez aussi le coller dans le .xinitrc.


Back to top
« Last Edit: 28. Jan 2009 at 12:47 by David Marec »  
WWW WWW https://diaspora.lapinbilly.eu/stream https://diaspora.lapinbilly.eu/stream  
IP Logged
 
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #11 - 28. Jan 2009 at 15:58
 
RESOLU ! (partiellement)
mon clavier est enfin en azerty: Smiley
Option "AllowEmptyInput" "off" n'Θtait pas lacΘe au bon endroit  Lips Sealed
Section "ServerLayout"
       Identifier     "X.org Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
       Option "AllowEmptyInput" "off"
EndSection

J'ai nΘamoins quelques soucis avec quelques touches non reconnues comme le:
Alt Gr + touches spéciales HS
le "é" = Θ

Le temps d'affichage est nettement ralenti ...
Quelque chose fou la merde dans cette version de X
ceci sera l'objet d'un autre post si nΘcΘssaire  Wink
Merci

Back to top
« Last Edit: 28. Jan 2009 at 16:25 by kermitt »  
WWW WWW  
IP Logged
 
ros
Global Moderator
*****
Offline



Posts: 868
Paris
Gender: male
Re: Qwerty graphic - Azerty terminal
Reply #12 - 28. Jan 2009 at 16:40
 
Pour les touches accentuées tu peux jeter un coup d'oeil dans le wiki
http://freebsd.bebik.net/wiki/index.php/DebuterEnConsole#Une_console_en_fran.C3....
Back to top
 

" Il vaut mieux mobiliser son intelligence sur des conneries que mobiliser sa connerie sur des choses intelligentes "
WWW WWW elfato_99  
IP Logged
 
kermitt
Full Member
***
Offline


Relax

Posts: 249
974
Gender: male
RESOLU: Qwerty graphic - Azerty terminal
Reply #13 - 28. Jan 2009 at 17:25
 
En consultant le man 5 xorg.conf
j'ai trouvé la solution qui règle tous mes ennuis  Tongue
Tout fonctionne nickel maintenant
bonne vitesse et clavier 100% reconnu
#~#{[|`\^@]]} Cheesy

Section "ServerLayout"
       Identifier     "X.org Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
       Option      "AllowEmptyInput"  "off"
       Option "AutoAddDevices" "off""
EndSection

Sujet clos
Back to top
 
WWW WWW  
IP Logged
 
David Marec
Senior Member
****
Offline



Posts: 386
Toulouse
Gender: male
Re: RESOLU: Qwerty graphic - Azerty terminal
Reply #14 - 29. Jan 2009 at 08:34
 
kermitt wrote on 28. Jan 2009 at 17:25:
En consultant le man 5 xorg.conf
j'ai trouvé la solution qui règle tous mes ennuis  Tongue
Tout fonctionne nickel maintenant
bonne vitesse et clavier 100% reconnu



De mon coté, il reste un problème d'invesion «Verr Num» sous Fluxbox.

En ce qui concerne la vitesse, j'ai eu ce problème;
je ne sais pas si c'est une ultime mise à jour où l'inhibition du démon «moused» qui l'a résolu.

J'ai remis «moused» en service depuis peu¹, jusqu'ici, tout va bien.

Quote:
Section "ServerLayout"
       Identifier     "X.org Configured"
       Screen      0  "Screen0" 0 0
       InputDevice    "Mouse0" "CorePointer"
       InputDevice    "Keyboard0" "CoreKeyboard"
       Option      "AllowEmptyInput"  "off"
       Option "AutoAddDevices" "off""
EndSection


Vous avez là désactivé la “nouveauté” de Xorg: détection par hald des périphériques.
Notez que l'option «AutoAddDevice» à «off» entraîne «AllowEmptyInput» à «off»  dans son sillage.
Peut-être devrait on plutôt utiliser «AutoEnableDevices», ce qui permettrait de choisir les périphériques, plus tard.

Tout ceci est du à une incompatibilité entre Xorg et Hald qui devait être résolue le 29 Janvier..

Et, si ma session X ne gèle pas comme la dernière fois, c'est le cas.




¹: J'ai besoin de ma souris sous les terminaux, comment faire des copier-coller sinon ?
Back to top
 
WWW WWW https://diaspora.lapinbilly.eu/stream https://diaspora.lapinbilly.eu/stream  
IP Logged