'lut � tous,
Moi, j'utilise xbindkeys pour baisser, monter ou couper le son par l'appel de la
commande aumix � l'appui sur les touches correspondantes qu'il ya sur mon
portable. Ca prend trois secondes pour rajouter une association combinaison de
touches/action (merci encore � Fr�d�ric Bothamy pour m'avoir aid� qd je
cherchais une solution pour �a).
Exemple : pour afficher bonjour avec xless lorsque je tape alt-b :
1) $xbindkeys -k
(cette tite commande est tr�s utile : elle affiche la combinaison de touches
tap�e telle que xbindkeys la reconnaitrait)
2) taper alt-b
--> xbindkeys affiche �a et sort :
[EMAIL PROTECTED]:~/tmp/ref$ xbindkeys -k
Press combination of keys or/and click under the window.
You can use one of the two lines after "NoCommand"
in $HOME/.xbindkeysrc to bind a key.
"NoCommand"
m:0x8 + c:56
Alt + b
3) C'est assez clair, non ? En plus, il explique comment faire :p
4) Remplacer donc NoCommand par "echo bonjour|xless"
5) ajouter finalement �a � la fin du fichier ~/.xbindkeysrc :
"echo bonjour|xless"
m:0x8 + c:56
Alt + b
6) ay�, ya plus qu'� lancer xbindkeys par la commande �ponyme et �a marche
@++
Florent Bayle wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Moi pour faire ca sur mon clavier j'utilise hotkeys... La touche internet
lance mozilla, la touche Email lance kmail,... je sait pas si avec .Xmodmap
tu peut lui dire de lancer des applications (enfin, je suis peut-�tre un peu
hors sujet, aussi)
Florent
Le jeudi 8 Avril 2004 16:23, Xavier Maillard a �crit :
On 8 avr 2004, Prakash Countcham wrote:
Je me sert de .Xmodmap pour personnaliser mes touches (je remplace
Super par Meta, rajoute des codes pour les touches 'WWW', 'Courier' et
'Recherche' de mon clavier Logitech, et aussi pour rendre le \ plus
accessible [� la place du carr�, donc tant pis pour les
guillemets :) ] ).
Miam !! Ca m'interesse �a, ta configuration pour un clavier logitech.
On m'en a offert un et franchement voir autant de touches qui restent
insit�es, �a me frustre :)
Tu pourrais pas m'envoyer �a en private ? :) (zedek chez gnu-rox.org).
Merci.
--
Hacker Wonderland Xavier Maillard| "Stand Back! I'm a programmer!"
.0. [EMAIL PROTECTED]|
..0 (+33) 326 770 221 | Webmaster, emacsfr.org
000 PGP : 0x1E028EA5 | Membre de l' APRIL
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAeQkVM+Ix3/RCm3gRAuTnAKDDL1V/032ZCNm7Bz/EMOfUzZcI+ACglweH
odwos2OustyGr8SFTP358Lk=
=oCIv
-----END PGP SIGNATURE-----
--
Baptiste <Batmat> Mathus
Baptiste at Mathus point org
http://batmat.net
---------
You want to use GNU/Linux or Windows ?
You want to spend time or money ?