ubuntustudio-controls jack and suspend//resume

After my computer resume, I have to pkill jack and start ubuntustudio controls and click on the button "start or restart jack".

I am on my way to create a resume script (how to execute a command after resume from suspend?)

[Unit]
Description=Fix jack audio after resume from suspend
After=suspend.target

[Service]
User=trif
Type=oneshot
ExecStart=??????????????????????

[Install]
WantedBy=suspend.target

But at ExecStart, I'm a bit stuck. what to write?

pkill jack && what ?

How to restart jack with the same parameters of ubuntustudio-controls? How to view the jack parameters line that ubuntustudio-controls launch maybe? Or, is there a hidden parameter to ubuntustudio-controls to launch jack when it launch?

0
задан 14 July 2020 в 22:45

1 ответ

Jack simply doesn't support suspend/resume as it's simply not designed for it. You need to stop Jack via ubuntustudio-controls before putting your machine into a suspend state.

1
ответ дан 30 July 2020 в 22:16

Другие вопросы по тегам:

Похожие вопросы: