I would like to know if anyone can help me with this, I would like to activate the reproduction of the video by pushing a button. The video will be played using Raspberry Pi. Do I need to program the Raspberry Pi? How do I connect the button to the Raspberry Pi? At the moment I have been using Bright sign.

Thank you in advanced

closed as too broad by Jacobm001 Feb 8 '17 at 21:57

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    It is disappointing that google offers no answers. What search terms were you using? – joan Feb 8 '17 at 10:49

What you're trying to do is called a keyboard shortcut or a hotkey. Assuming Raspbian, those are configured via the file ~/.config/openbox/rc.xml. The documentation on this file is available here. A quick example:

<keybind key="F1">
  <action name="Execute">
    <command>mplayer -fs /path/to/file.avi</command>

Not the answer you're looking for? Browse other questions tagged or ask your own question.