Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tutoriel:lircrc [Le 04/03/2010, 14:59] – moebius_eye | tutoriel:lircrc [Le 01/09/2022, 00:10] (Version actuelle) – Passage de http à https sur les liens externes (détecté et corrigé via le bot wiki-corrector (https://forum.ubuntu-fr.org/viewtopic.php?id=2067892) moths-art | ||
|---|---|---|---|
| Ligne 4: | Ligne 4: | ||
| ====== Création de fichiers lircrc ====== | ====== Création de fichiers lircrc ====== | ||
| - | Cette page montre comment créer des fichiers de configuration lircrc pour [[:LIRC]]. La syntaxe des fichiers montrée ici est la plus simple possible (un bouton pour une action). Pour approfondir le sujet, on pourra se reporter au [[http:// | + | Cette page montre comment créer des fichiers de configuration lircrc pour [[:LIRC]]. La syntaxe des fichiers montrée ici est la plus simple possible (un bouton pour une action). Pour approfondir le sujet, on pourra se reporter au [[https:// |
| ===== Utilité des fichiers lircrc ===== | ===== Utilité des fichiers lircrc ===== | ||
| Ligne 36: | Ligne 36: | ||
| <note tip>En utilisant irexec en remplacement de '' | <note tip>En utilisant irexec en remplacement de '' | ||
| < | < | ||
| - | À titre d' | + | À titre d' |
| Depuis le fichier principal ('' | Depuis le fichier principal ('' | ||
| < | < | ||
| Ligne 43: | Ligne 43: | ||
| Cet utilitaire permet de créer des fichiers de configuration pour des applications de KDE. | Cet utilitaire permet de créer des fichiers de configuration pour des applications de KDE. | ||
| - | Pour installer cet utilitaire, il faut [[: | + | Pour installer cet utilitaire, il faut [[: |
| < | < | ||
| Pour le lancer, il faut utiliser l' | Pour le lancer, il faut utiliser l' | ||
| Ligne 91: | Ligne 91: | ||
| prog = vlc | prog = vlc | ||
| button = max_window | button = max_window | ||
| - | config = key-fullscreen | + | config = key-toggle-fullscreen |
| end | end | ||
| begin | begin | ||
| Ligne 842: | Ligne 842: | ||
| end</ | end</ | ||
| - | ====Script externe==== | + | ==== Script externe ==== |
| < | < | ||
| - | #Ce fichier est censé permettre de lancer des scriptes | + | #Ce fichier est censé permettre de lancer des scriptes |
| - | #et qui permettent de faire tourner le cube de bureau compiz grâce à wmctrl. | + | #et qui permettent de faire tourner le cube de bureau compiz grâce à wmctrl. |
| #wmctrl -o 0,0 (pour le premier bureau) | #wmctrl -o 0,0 (pour le premier bureau) | ||
| Ligne 879: | Ligne 880: | ||
| </ | </ | ||
| - | <note important> | + | <note important> |
| + | |||
| + | |||
| + | ==== Utiliser le clavier numérique de la télécommande pour taper des lettres ==== | ||
| + | |||
| + | Ce fichier de configuration, | ||
| + | < | ||
| + | begin backspace | ||
| + | </ | ||
| + | puis la termine avec celle ci. | ||
| + | < | ||
| + | end backspace | ||
| + | </ | ||
| + | |||
| + | Le mode est ensuite appelé à chaque fois que vous appuyez sur une touche numérique grâce à cette ligne : | ||
| + | < | ||
| + | mode = backspace | ||
| + | </ | ||
| + | |||
| + | Pour l' | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | < | ||
| + | begin backspace | ||
| + | begin | ||
| + | button = Two | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | begin | ||
| + | button = Three | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | |||
| + | begin | ||
| + | button = Four | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | |||
| + | begin | ||
| + | button = Five | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | |||
| + | begin | ||
| + | button = Six | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | |||
| + | begin | ||
| + | button = Seven | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | begin | ||
| + | button = Eight | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | |||
| + | |||
| + | begin | ||
| + | button = Nine | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | end | ||
| + | end backspace | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key a CurrentWindow | ||
| + | config = Key b CurrentWindow | ||
| + | config = Key c CurrentWindow | ||
| + | flags = quit | ||
| + | mode = backspace | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key d CurrentWindow | ||
| + | config = Key e CurrentWindow | ||
| + | config = Key f CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key g CurrentWindow | ||
| + | config = Key h CurrentWindow | ||
| + | config = Key i CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key j CurrentWindow | ||
| + | config = Key k CurrentWindow | ||
| + | config = Key l CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key m CurrentWindow | ||
| + | config = Key n CurrentWindow | ||
| + | config = Key o CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key p CurrentWindow | ||
| + | config = Key q CurrentWindow | ||
| + | config = Key r CurrentWindow | ||
| + | config = Key s CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key t CurrentWindow | ||
| + | config = Key u CurrentWindow | ||
| + | config = Key v CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key w CurrentWindow | ||
| + | config = Key x CurrentWindow | ||
| + | config = Key y CurrentWindow | ||
| + | config = Key z CurrentWindow | ||
| + | flags = toggle_reset | ||
| + | mode = backspace | ||
| + | |||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key space CurrentWindow | ||
| + | end | ||
| + | |||
| + | begin | ||
| + | | ||
| + | prog = irxevent | ||
| + | config = Key BackSpace CurrentWindow | ||
| + | mode = backspace | ||
| + | flags = toggle_reset | ||
| + | |||
| + | end | ||
| + | |||
| + | </file> | ||
| ---- | ---- | ||
| - | //Contributeur | + | //Contributeurs |
| Sources : | Sources : | ||
| * [[http:// | * [[http:// | ||
| - | * [[http:// | + | * [[https:// |
| * [[https:// | * [[https:// | ||
| * [[http:// | * [[http:// | ||
