skeal wrote: 
> But is it possible to start a script with the remote? I would need it
> vor my volume control with a stepper motor for my vintage stereo
> receiver.
> And if not by ir_keytables perhaps any other way?

To run scripts you would need to start Irexec, there are some hints
here:
https://forums.slimdevices.com/showthread.php?112524-irexec-doesn-t-autostart-from-quot-User-commands-quot-in-v6-1-0&p=990818#post990818

It works for me with the following script "startup.sh", which gets run
from the custom commands in the Tweaks page:

Code:
--------------------
    #!/bin/sh
  #start Irexec
  /usr/local/bin/irexec /home/tc/.lircrc &
  
--------------------


You can then add your custom commands to a file called .lircrc. This is
an example:

Code:
--------------------
    begin
  prog = irexec
  remote = <NAMEOFYOURREMOTE>
  button = KEY_RIGHT
  repeat = 2
  config = /home/tc/lmsjson.sh mixer volume +10; aplay /home/tc/sounds/pop1.wav 
  end
  
--------------------


To find the name of the remote and the labels for the buttons you can
run irw from the commandline and press the remote buttons. Under config
you can type anything that would also run on the commandline.


------------------------------------------------------------------------
jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=112976

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to