unable to start a2jmidid automatically

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
Lech123
Established Member
Posts: 32
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland

unable to start a2jmidid automatically

Post by Lech123 »

It seems that "a2jmidid -e &" only works if I type it in manually into a terminal, never as a script. It used to work, but no more, and I have no clue what the problem could be.

Running Fedora 27 with a recent stock kernel.

It doesn't seem to be a Qjackctl issue either because I added the same command the distro's application autostart list and that didn't work either.

Any ideas?
Baggypants
Established Member
Posts: 188
Joined: Fri Jul 31, 2015 11:28 pm
Has thanked: 14 times
Been thanked: 8 times

Re: unable to start a2jmidid automatically

Post by Baggypants »

I'm running F27 and qjackctl still launches a2j for me.

In my 'execute script after startup' box I have 'a2jmidid -e &'
Lech123
Established Member
Posts: 32
Joined: Mon Dec 07, 2009 11:52 pm
Location: Poland

Re: unable to start a2jmidid automatically

Post by Lech123 »

Hi guys, I'm still having this issue.

execute scripts after startup:
pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out; /bin/bash -c "/usr/bin/a2jmidid -e" &

I'm not sure if it's a qjackctl problem because the latest version seems capable of running even when JACK is stopped, it just refuses to run as a script from anywhere at all, including the OS' own startup list. It just forces me to type it in manually every time.
User avatar
bluebell
Established Member
Posts: 1924
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 112 times
Been thanked: 119 times

Re: unable to start a2jmidid automatically

Post by bluebell »

Lech123 wrote:Hi guys, I'm still having this issue.

execute scripts after startup:
pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pactl load-module module-jack-sink channels=2; pactl load-module module-jack-source channels=2; pacmd set-default-sink jack_out; /bin/bash -c "/usr/bin/a2jmidid -e" &

I'm not sure if it's a qjackctl problem because the latest version seems capable of running even when JACK is stopped, it just refuses to run as a script from anywhere at all, including the OS' own startup list. It just forces me to type it in manually every time.
Try to start it with:
a2j_control start

Then you might avoid those "put it in the background with &" issues.

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

arman
Established Member
Posts: 16
Joined: Tue May 05, 2020 9:16 pm

Re: unable to start a2jmidid automatically

Post by arman »

Having this problem in 2020. Can only start a2jmidid by typing it in a shell. Debian system.
arman
Established Member
Posts: 16
Joined: Tue May 05, 2020 9:16 pm

Re: unable to start a2jmidid automatically

Post by arman »

Just found a solution - try moving the command "a2jmidid -e &" to the "Execute script after Startup" option instead of the first one in Jack. Worked for me.
Post Reply