User scripts have been added to Recalbox 10. This allows you to run small scripts as you wish from the interface.
Scripts should be placed in /recalbox/share/userscripts/manual.
These scripts must be written in either Linux Shell (Bash) or Python 3.
The use of these scripts depends in part on their names. For this, you can use the following texts:
(sync):The script in question will launch in sync with the interface, with a small animation during execution. Without this tag, they are launched in ‘fire & forget’ mode, and you only get a pop-up telling you whether it launched successfully.
(progress) in addition to (sync):
To represent these states, corresponding icons will be visible in the interface.
Once you have a script ready to use, go to START > ADVANCED SETTINGS > USER SCRIPTS and you will find all your scripts ready to be launched.
File : MountBootAsRw.sh
mount -o remount,rw /boot
File : UpdateSamplerate(sync)(progress).sh
mount -o remount,rw /
echo 'default-sample-rate = 48000' >> /etc/pulse/daemon.conf
mount -o remount,ro /