[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .Xmodmap



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le dimanche 11 Avril 2004 11:14, Baptiste Mathus a écrit :
> '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 :
>
> baptiste@presario:~/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
>
> @++
>

Ouais, ça a l'air pas mal. avec Hotkeys c'est un poil plus dur à paramétrer, 
et ça marche qu'en graphique, mais ce que j'ai bien aimé c'est le osd (on 
screen display pour parler francais) qui m'affiche le niveau du son quand je 
le monte, et qui m'affiche mute quand je le coupe...

Florent

P.S. : J'ai essayé de pas lancer de troll, j'explique juste les avantages de 
l'une et l'autre méthode...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAeRH0M+Ix3/RCm3gRAs7BAKC690xEXU8I8/Ak1ZpEE6PGCCwblwCfehHw
/X/m2CdmlqdY9yvneKB66/g=
=JbPs
-----END PGP SIGNATURE-----



Reply to: