check in user systemd services and pulse auto connect

This commit is contained in:
2025-04-26 12:05:34 -04:00
commit 825f0598a4
8 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
[Unit]
Description=ardour
After=carla_pre.service
Wants=carla_pre.service
[Service]
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/luke/.Xauthority"
StandardOutput=syslog+console
StandardError=syslog+console
ExecStart=/home/luke/bin/ardour_with_template
Restart=always
RestartSec=5
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=carla
After=carla_pre.service
[Service]
Environment="DISPLAY=:0"
StandardOutput=syslog+console
StandardError=syslog+console
Environment="XAUTHORITY=/home/luke/.Xauthority"
ExecStart=/usr/bin/carla /studio/carla/default.carxp
[Install]
WantedBy=graphical.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=carla_pre
After=graphical.target
[Service]
Type=exec
ExecStart=/home/luke/bin/prestart_carla
[Install]
WantedBy=graphical.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=JACK
#Before=pulseaudio.service pulseaudio.socket
[Service]
LimitRTPRIO=infinity
LimitMEMLOCK=infinity
ExecStart=/usr/bin/jackd -dfirewire -r48000 -p256 -n3
# ExecStart=/usr/bin/jackd -dfirewire -r44100 -p256 -n3
# ExecStart=/usr/bin/jackd -dfirewire -r48000 -p128 -n3
# ExecStart=/usr/bin/jackd -dalsa -dhw:AudioFire12_1,0 -r48000 -p128 -n3 -i24 -o24
Restart=always
RestartSec=5
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=patchage
After=carla_pre.service
[Service]
Environment="DISPLAY=:0"
StandardOutput=syslog+console
StandardError=syslog+console
Environment="XAUTHORITY=/home/luke/.Xauthority"
ExecStart=/usr/bin/patchage
[Install]
WantedBy=graphical.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=pavucontrol
After=carla_pre.service
[Service]
Environment="DISPLAY=:0"
StandardOutput=syslog+console
StandardError=syslog+console
Environment="XAUTHORITY=/home/luke/.Xauthority"
ExecStart=/usr/bin/pavucontrol
[Install]
WantedBy=graphical.target

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Pulse_and_Jack
After=jack.service
Wants=jack.service
[Service]
Type=oneshot
ExecStart=/home/luke/bin/pulse_jack
ExecStop=/usr/bin/pactl unload-module module-jack-sink
SuccessExitStatus=0
RemainAfterExit=true
[Install]
WantedBy=default.target