Page 1 of 1
how does autostart jackd works ?
Posted: Sat Sep 14, 2013 12:53 pm
by leyoy
hello,
all is in the title.
In KxStudio jackd is running automatically. But how does it works ?
I mean is there a script that running that ?
Thanks for your answer
Re: how does autostart jackd works ?
Posted: Sun Sep 15, 2013 7:21 am
by leyoy
Thanks for your answer,
in fact i'm allways on customizing kxstudio but now jack does'nt autostart anymore when i lauch my live cd.
I have checked the /etc/X11Xsession.d/99cadence-session-start file where i found:
Code: Select all
# Cadence Session Startup
# Part 2 - Start JACK (or not), according to user settings
INSTALL_PREFIX="/usr"
CADENCE_SESSION="$INSTALL_PREFIX/bin/cadence-session-start --system-start"
exec $CADENCE_SESSION &
unset INSTALL_PREFIX
I put in /usr/share/kxstudio/config-theme/
ardour2 asoundrc composite config fonts.conf gtkrc-2.0-kxstudio hydrogen jackdrc kde kderc local mozilla non-daw non-mixer phasex qt traverso
with jackrc =
Code: Select all
/usr/bin/jackd -R -P 85 -dalsa -dhw:0 -r44100 -p1024 -n2
what can happend
thanks again for your help
Re: how does autostart jackd works ?
Posted: Sun Sep 15, 2013 2:26 pm
by leyoy
I found that on my xsessionerror :
Code: Select all
File "/usr/share/cadence/src/cadence_session_start.py", line 218, in <module>
sys.exit(startSession(True))
File "/usr/share/cadence/src/cadence_session_start.py", line 46, in startSession
if systemStarted and not GlobalSettings.value("JACK/AutoStart", wantJackStart, type=bool):
NameError: global name 'wantJackStart' is not defined
if it can help ...
Re: how does autostart jackd works ?
Posted: Wed Sep 18, 2013 9:31 am
by leyoy
Ok !!
a little:
and
and it's run again.
Thanks a lot

Re: how does autostart jackd works ?
Posted: Tue Sep 24, 2013 9:34 pm
by lubrio
I've noticed that, after a recent apt-get upgrade, JACK autostarting at login didn't work anymore in KXStudio 12.04. It was needed to run Cadence manually to start Jack.
Thanks to this thread, I've found the problem: in /etc/X11/Xsession.d/99cadence-session-start, the script "cadence-session-start.py" is invoked with the option "--system-start", but recent versions of this script don't work with that switch; you must use "-s"
So I changed this line in etc/X11/Xsession.d/99cadence-session-start:
Code: Select all
CADENCE_SESSION="$INSTALL_PREFIX/bin/cadence-session-start --system-start"
To:
Code: Select all
CADENCE_SESSION="$INSTALL_PREFIX/bin/cadence-session-start -s"
...And the Autostart Jack at login feature worked again!

It would be good if cadence-session-start.py support both switches.
Bye