# How to stop jack?

**URL:** <https://uzu.lurk.org/t/how-to-stop-jack/2294>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [18 October 2020 17:18 UTC](https://uzu.lurk.org/t/how-to-stop-jack/2294 "2020-10-18T17:18:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwaldmann](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jwaldmann](https://uzu.lurk.org/u/jwaldmann)\
**Post date:** [18 October 2020 17:18 UTC](https://uzu.lurk.org/t/how-to-stop-jack/2294/1 "2020-10-18T17:18:20Z")

</div>

Sometimes it's hard to properly configure `jack`, so we're happy once it works, and the following question gets little attention: how do I reliably stop it?

Use case: use bluetooth headset for a conference call. I think this only works with pulseaudio [Bluetooth headset - ArchWiki](https://wiki.archlinux.org/index.php/Bluetooth_headset#Configuration_via_CLI)

I can open `qjackctl` and hit Stop, and it does. But when fiddling with bluetooth audio, sometimes the recommendation is to `pulseaudio --kill` , and that very monent, `jack` will rise from the dead, grab audio hardware, load  
pa sink/source modules.

---

<div class="post-metadata">

**Author:** ![mbutz](https://uzu.lurk.org/user_avatar/uzu.lurk.org/mbutz/32/1085_2.png) [@mbutz](https://uzu.lurk.org/u/mbutz)\
**Post date:** [18 October 2020 19:29 UTC](https://uzu.lurk.org/t/how-to-stop-jack/2294/2 "2020-10-18T19:29:29Z")

</div>

Hi @jwaldmann,

I don't know if this is the most elegant way but I have a short shell script (called `audio.stop`) which I call via [rofi](https://github.com/davatorium/rofi):

```haskell
#! /bin/bash
killall jackd qjackctl & (! pidof jackdbus) || kill -9 $(pidof jackdbus) 

```

This works reliable since quite some time.

---

<div class="post-metadata">

**Author:** ![jwaldmann](https://uzu.lurk.org/letter_avatar_proxy/v4/letter/j/977dab/32.png) [@jwaldmann](https://uzu.lurk.org/u/jwaldmann)\
**Post date:** [18 October 2020 20:57 UTC](https://uzu.lurk.org/t/how-to-stop-jack/2294/3 "2020-10-18T20:57:45Z")

</div>

Ah yes, jackdbus. Thanks!

And, silly me, I still had some obsolete stuff in `.config/pulse/default.pa`
