Hi All. My feedback : the process is working. Now I would like to create a small bash + zenity tool. I need anyone&#39;s help to make it work.<br><br>For now, I have :<br><br><div style="margin-left: 40px;">#!/bin/bash<br>
zenity --question --title=&quot;Voice-note&quot; --text=&quot;Click Validate to START recording&quot;; gostart=$? <br><br>if [ &quot;$gostart&quot; = 1 ]<br>&nbsp;&nbsp;&nbsp; then<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo &quot;Operation canceled&quot;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; exit<br>
&nbsp;&nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; echo &quot;Recording...&quot;<br>fi<br>zenity --info --title=&quot;Voice-note&quot; --text=&quot;Click Validate to STOP recording&quot;; gostop=$?<br>arecord -D hw -f cd&nbsp; -v -t wav ~/rec-$(date +%Y-%m-%d-%H-%M).wav<br>
alsactl -f /usr/share/openmoko/scenarios/voip-handset.state restore<br>alsactl -f /usr/share/openmoko/scenarios/gsmstereoout.state restore<br>killall -TERM arecord<br><br>zenity --info --title=&quot;Voice note&quot; --text=&quot;Your voice-note has been recorded&quot;; goread=$? <br>
</div><br>This is not working because I don&#39;t know how to load the arecord thing AND show a windows which asks the user to stop recording. Does anyone have any clue ?<br><br>thanks in advance<br><br>kimaidou<br>