On 30.12.2018 15.20, Will Godfrey wrote:
On Sun, 30 Dec 2018 14:03:53 +0200
redu <reino.urala@xxxxxxxxx> wrote:
As written earlier, I used to write my script like thisYou've used the wrong command. You should start Yoshimi like this:
# Start Zyn.dektop application
#
####################################
[Desktop Entry]
Version=1.0
Name=6sineYO
Type=Application
Terminal=false
Exec=sh -c "killall yoshimi ; pgrep qjackctl || qjackctl & yoshimi
--load=/home/redu/Zyn/presets/B3DET/6sine.xmz"
Icon=/home/redu/Zyn/Icons/b3.png
I saved the 6sine.xmz plus midilearn to states-directory
/home/redu/Zyn/states
Modified my script for "state-load" like this
# Start Zyn.dektop application
#
####################################
[Desktop Entry]
Version=1.0
Name=6sineYO
Type=Application
Terminal=false
Exec=sh -c "killall yoshimi ; pgrep qjackctl || qjackctl & yoshimi
--load=/home/redu/Zyn/states/6sine.state"
Icon=/home/redu/Zyn/Icons/b3.png
This modified script fails to read the saved 6sine.state.
Tried some other script variations too. No luck!
yoshimi --state=/home/redu/Zyn/states/6sine.state
Yoshimi source code is available from either: