Si l’on veut intégrer un script bash dans la platine stream d’Elgato, il faut d’abord un script bash.
Étape 1 : Créer un script bash :
Je crée un fichier nommé “say-hallo.sh” avec le contenu suivant :
#!/bin/bash
say "hallo"
Étape 2 : Définir les droits
La commande suivante permet de rendre le fichier exécutable :
$ chmod 755 say-hallo.sh
Étape 3 : inclure le script bash dans le deck
3.1) L’application Stream Deck peut maintenant être ouverte :
3.2) Ensuite, je fais glisser l’action “Système:ouvrir” sur un bouton
3.3) Je peux maintenant choisir mon script bash :
Étape 4 : Fini !
Le nouveau bouton est maintenant utilisable.