Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1769 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Hardware

  Ficher .lircrc

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Ficher .lircrc

n°382403
jyp
>-<o>-<
Posté le 30-12-2003 à 20:43:49  profilanswer
 

J'aimerai voir vos fichiers .lircrc


---------------
Jyp
mood
Publicité
Posté le 30-12-2003 à 20:43:49  profilanswer
 

n°382405
]mAdMaTt[
TraktoPunk
Posté le 30-12-2003 à 20:55:26  profilanswer
 

voila, c assez simple a comprendre
 


begin xawtv
 begin
  prog = irexec
  button = QUIT
  repeat = 0
  flags = mode
  config = xawtv-remote quit
 end
 begin
  prog = irexec
  button = MUTE
  repeat = 0
  config = aumix -l m
 end
 begin
  prog = irexec
  button = PREV
  repeat = 0
  config = xawtv-remote setstation prev
 end
 begin
  prog = irexec
  button = NEXT
  repeat = 0
  config = xawtv-remote setstation next
 end
 begin
  prog = irexec
  button = SELECT
  repeat = 0
  config = xawtv-remote fullscreen
 end
 begin
  prog = irexec
  button = 1
  repeat = 1
  config = xawtv-remote setstation 0
 end
 begin
  prog = irexec
  button = 2
  repeat = 1
  config = xawtv-remote setstation 1
 end
 begin
  prog = irexec
  button = 3
  repeat = 1
  config = xawtv-remote setstation 2
 end
 begin
  prog = irexec
  button = 4
  repeat = 1
  config = xawtv-remote setstation 3
 
 end
 begin
  prog = irexec
  button = 5
  repeat = 1
  config = xawtv-remote setstation 4
 end
 begin
  prog = irexec
  button = 6
  repeat = 1
  config = xawtv-remote setstation 5
 end
 begin
  prog = irexec
  button = 7
  repeat = 1
  config = xawtv-remote setstation 6
 end
 begin
  prog = irexec
  button = 8
  repeat = 1
  config = xawtv-remote setstation 7
 end
 begin
  prog = irexec
  button = 9
  repeat = 1
  config = xawtv-remote setstation 8
 end
 begin
  prog = irexec
  button = Vol-
  repeat = 1
  config = aumix -l-2
 end
 begin
  prog = irexec
  button = Vol+
  repeat = 1
  config = aumix -l+2
 end
end xawtv

n°394010
jyp
>-<o>-<
Posté le 22-01-2004 à 13:03:03  profilanswer
 

d'autres exemples?


Message édité par jyp le 22-01-2004 à 13:03:22

---------------
Jyp
n°394020
AirbaT
Connection timed out
Posté le 22-01-2004 à 13:10:39  profilanswer
 

Code :
  1. begin
  2.         button = TV/FM
  3.         mode   = xawdecode
  4.         prog   = irexec
  5.         config = ( ps -C xawdecode && killall xawdecode || ( ~/bin/xawdecode_perso )) &> /dev/null
  6.         flags  = once
  7.         repeat = 0
  8. end
  9. begin
  10.         button =  MTS
  11.         prog   =  irexec
  12.         config =  ( ps -C xmms && killall xmms || ( /usr/bin/xmms & ) ) &> /dev/null
  13.         flags  = once
  14.         mode   =  xmms
  15. end
  16. begin
  17.         button = POWER
  18.         prog   = irexec
  19.         config = xawdecode_cmd quit || killall xmms || killall mplayer
  20.         flags  = once
  21. end
  22. begin
  23.         button = VIDEO
  24.         prog   = irexec
  25.         config = ( ps -C gmplayer && killall gmplayer || ( /usr/bin/gmplayer & ) ) &> /dev/null
  26.         mode   = mplayer
  27.         flags  = once
  28. end
  29. begin
  30.                                                                                                                            
  31.         button = DISPLAY
  32.         prog = irexec
  33.         config = saytime -f %l%M
  34. end
  35. begin
  36.         button = 0
  37.         prog = irexec
  38.         config = play ~/Mp3/sample/shuttingdown.wav
  39.         mode = stopping
  40.         flags = once
  41. end
  42.                                                                                                                            
  43. begin stopping
  44.   begin
  45.     prog   = irexec
  46.     button = POWER
  47.     flags  = mode
  48.   end
  49.   begin
  50.     prog   = irexec
  51.     button = 5
  52.     config = ~/bin/dodo
  53.   end
  54. end stopping
  55. begin xawdecode
  56.   begin
  57.     prog   = xawdecode
  58.     button = POWER
  59.     config = quit
  60.     flags  = mode
  61.   end
  62.   begin
  63.     prog   = xawdecode
  64.     button = DISPLAY
  65.     config = showtime
  66.   end
  67.   begin
  68.     prog   = xawdecode
  69.     button = 0
  70.     config = setstation 8
  71.   end
  72.   begin
  73.     prog   = xawdecode
  74.     button = 1
  75.     config = setstation 0
  76.   end
  77.   begin
  78.     prog   = xawdecode
  79.     button = 2
  80.     config = setstation 1
  81.   end
  82.   begin
  83.     prog   = xawdecode
  84.     button = 3
  85.     config = setstation 2
  86.   end
  87.   begin
  88.     prog   = xawdecode
  89.     button = 4
  90.     config = setstation 3
  91.   end
  92.   begin
  93.     prog   = xawdecode
  94.     button = 5
  95.     config = setstation 4
  96.   end
  97.   begin
  98.     prog   = xawdecode
  99.     button = 6
  100.     config = setstation 5
  101.   end
  102.   begin
  103.     prog   = xawdecode
  104.     button = MUTE
  105.     config = volume mute
  106.   end
  107.   begin
  108.     prog   = xawdecode
  109.     button = VOL_DOWN
  110.     config = volume -5
  111.     repeat = 1
  112.   end
  113.   begin
  114.     prog   = xawdecode
  115.     button = VOL_UP
  116.     config = volume +5
  117.     repeat = 1
  118.   end
  119.   begin
  120.     prog   = xawdecode
  121.     button = CH_UP
  122.     config = setstation next
  123.   end
  124.   begin
  125.     prog   = xawdecode
  126.     button = CH_DOWN
  127.     config = setstation prev
  128.   end
  129.   begin
  130.     prog   = xawdecode
  131.     button = FULLSCREEN
  132.     config = fullscreen
  133.   end
  134. end xawdecode
  135. begin xmms
  136. # PLAY/PAUSE
  137.         begin
  138.           button  =  FULLSCREEN
  139.           prog    =  xmms
  140.           config  =  PLAY
  141.         end
  142.         begin
  143.           button  =  PLAY
  144.           prog    =  xmms
  145.           config  =  PLAY
  146.         end
  147.         begin
  148.           button  =  STOP
  149.           prog    =  xmms
  150.           config  =  STOP
  151.         end
  152. # NEXT
  153.         begin
  154.           button  =  CH_DOWN
  155.           prog    =  xmms
  156.           config  =  PREV
  157.           repeat  =  1
  158.         end
  159. # PREVIOUS
  160.         begin
  161.           button  =  CH_UP
  162.           prog    =  xmms
  163.           config  =  NEXT
  164.           repeat  =  1
  165.         end
  166. # QUIT
  167.         begin
  168.           button  =  POWER
  169.           prog    =  xmms
  170.           config  =  QUIT
  171.           flags   =  mode
  172.         end
  173. # VOLUME
  174.         begin
  175.           button  =  VOL_UP
  176.           prog    =  xmms
  177.           config  =  VOL_UP 5
  178.           repeat  = 1
  179.         end
  180.         begin
  181.           button  =  VOL_DOWN
  182.           prog    =  xmms
  183.           config  =  VOL_DOWN 5
  184.           repeat  = 1
  185.         end
  186.         begin
  187.           button  =  MUTE
  188.           prog    =  xmms
  189.           config  =  MUTE
  190.         end
  191. end xmms
  192. begin mplayer
  193.         begin
  194.           button = POWER
  195.           prog   = mplayer
  196.           config = quit
  197.           flags  = mode
  198.           repeat = 0
  199.         end
  200.         begin
  201.           button = PLAY
  202.           prog   = mplayer
  203.           config = play
  204.           config = pause
  205.         end
  206.         begin
  207.           button = STOP
  208.           prog   =  mplayer
  209.           config =  stop
  210.         end
  211.         begin
  212.           button = 1
  213.           prog   = mplayer
  214.           config = pause
  215.         end
  216.         begin
  217.           button = VOL_UP
  218.           prog   = mplayer
  219.           config = volume +5
  220.           repeat = 1
  221.         end
  222.         begin
  223.           button = VOL_DOWN
  224.           prog   = mplayer
  225.           config = volume -5
  226.           repeat = 1
  227.         end
  228.         begin
  229.           button = CC
  230.           prog   = mplayer
  231.           config = osd
  232.         end
  233.         begin
  234.           button = CH_UP
  235.           prog   = mplayer
  236.           config = seek +10 type=0
  237.           repeat = 1
  238.         end
  239.         begin
  240.           button = CH_DOWN
  241.           prog   = mplayer
  242.           config = seek -10 type=0
  243.           repeat = 1
  244.         end
  245.         begin
  246.           button = FULLSCREEN
  247.           prog   = mplayer
  248.           config = vo_fullscreen
  249.         end
  250.         begin
  251.           button = MUTE
  252.           prog   = mplayer
  253.           config = mute
  254.         end
  255. end mplayer

n°489668
Riot
Buy me a riot
Posté le 28-05-2004 à 19:47:37  profilanswer
 

j'ai lirc0.7pre4.
 
pourquoi ça ne marche pas:

Code :
  1. begin xawdecode
  2.     begin
  3.       prog   = xawdecode
  4.       button = 6
  5.       config = setstation 5
  6.     end
  7. end xawdecode


moi il faut que je fasse:

Code :
  1. begin
  2.       prog   = irexec
  3.       button = 6
  4.       config = xawdecode_cmd "setstation 5"
  5.     end


 
alors qu'au début, j'ai bien fait:

Code :
  1. begin
  2.           prog   = irexec
  3.           button = TV/FM
  4.           repeat = 0
  5.           config = ( ps -C xawdecode && killall xawdecode || ( /usr/bin/xawdecode& )) &> /dev/null
  6.           mode   = xawdecode
  7.           flags  = once
  8.   end


 
merci.


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Hardware

  Ficher .lircrc

 

Sujets relatifs
Quel ficher downloader pour updater une applis avec la Mandrake 8.0 ? 
Plus de sujets relatifs à : Ficher .lircrc


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR