Fork me on GitHub

Herr Knedel/Brève histoire : Scripts Bash avec Elgato Stream Deck

Created Fri, 07 Feb 2020 00:00:00 +0000 Modified Sat, 02 Apr 2022 15:04:38 +0000 Niveau de difficulté: Ni trop facile, ni trop difficile

113 Words

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 :

x
+
Terminal

$ 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.