Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[clavier] trouver le bon numero des touches ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
toufou
Guru
Guru


Joined: 07 Jun 2004
Posts: 326

PostPosted: Thu Apr 06, 2006 10:20 pm    Post subject: [clavier] trouver le bon numero des touches ? Reply with quote

bonsoir

toujours penché sur mon ibook, je cherche à mettre en place mouseemu (https://lists.ubuntu.com/archives/ubuntu-users/2004-September/001638.html) qui permet, par une combinaisonde touches et de clic, d'émuler le clic droit et le 3eme bouton, comme sous osX). Si la combinaison pour le scrolling fonctionne ainsi que le troisieme bouton (qui est chez moi ctrl+click), pas moyen d'avoir le clic droit. Je pense que c'est dû au clavier qui n'est pas le même que celui utlisé par le logiciel.

Existe t'il un petit utilitaire qui pourrait m'indiquer le numéro d'une touche quand je clique dessus ?

Est-il possible que, dans mon cas, une touche ne soit pas prise en compte ? (alt pour être précis). Et si oui, comment "l'activer" ?

@+
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1902
Location: 127.0.0.1

PostPosted: Thu Apr 06, 2006 11:21 pm    Post subject: Reply with quote

Salut,

Je n'y connais strictement rien en disposition clavier, etc... mais ce post va peut-être t'aider ?
Back to top
View user's profile Send private message
UB|K
l33t
l33t


Joined: 27 May 2004
Posts: 786
Location: Villeurbanne, France

PostPosted: Thu Apr 06, 2006 11:27 pm    Post subject: Reply with quote

La commande qu'il te faut est xev
C'est inclu dans xorg si tu est en version 6.8-*
Avec xorg modulaire, il faut penser à l'installer: x11-apps/xev
_________________
Reality is that which, when you stop believing in it, doesn't go away.
Back to top
View user's profile Send private message
razer
l33t
l33t


Joined: 08 Oct 2004
Posts: 893
Location: Paris - France

PostPosted: Fri Apr 07, 2006 7:32 am    Post subject: Reply with quote

Tu as aussi xbindkeys, dont le but est de configurer des raccourcis clavier.
Avec :
Code:
xbindkeys -k

ou
Code:
xbindkeys -mk

Cela te donne l'adresse de la /des touche(s) que tu presses
Back to top
View user's profile Send private message
toufou
Guru
Guru


Joined: 07 Jun 2004
Posts: 326

PostPosted: Fri Apr 07, 2006 11:13 am    Post subject: Reply with quote

merci

j'ai essayé avec xev, ça focntionne mais, j'ai effectivement une information bizarre avec ma touche alt

voilà ce que j'obtiens:

Code:
KeyPress event, serial 29, synthetic NO, window 0x1800001,
    root 0x48, subw 0x0, time 354106, (757,479), root:(762,528),
    state 0x0, keycode 64 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

PropertyNotify event, serial 29, synthetic NO, window 0x1800001,
    atom 0x16e (XKLAVIER_STATE), time 354109, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0x1800001,
    atom 0x16e (XKLAVIER_STATE), time 354109, state PropertyNewValue

KeyRelease event, serial 29, synthetic NO, window 0x1800001,
    root 0x48, subw 0x0, time 354206, (757,479), root:(762,528),
    state 0x2000, keycode 64 (keysym 0xff7e, Mode_switch), same_screen YES,
    XLookupString gives 0 bytes:

PropertyNotify event, serial 29, synthetic NO, window 0x1800001,
    atom 0x16e (XKLAVIER_STATE), time 354209, state PropertyNewValue

PropertyNotify event, serial 29, synthetic NO, window 0x1800001,
    atom 0x16e (XKLAVIER_STATE), time 354211, state PropertyNewValue

VisibilityNotify event, serial 29, synthetic NO, window 0x1800001,
    state VisibilityPartiallyObscured

FocusOut event, serial 29, synthetic NO, window 0x1800001,
    mode NotifyNormal, detail NotifyNonlinear

PropertyNotify event, serial 29, synthetic NO, window 0x1800001,
    atom 0x118 (_NET_WM_ICON_GEOMETRY), time 361923, state PropertyNewValue


euh, ça dit quoi là ?

@+
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum