fix: pactl needs to be user scoped
This commit is contained in:
parent
4c2a89da5b
commit
3ca08bdb3e
2 changed files with 14 additions and 2 deletions
12
roles/trivalent/files/etc/systemd/user/pactl.service
Normal file
12
roles/trivalent/files/etc/systemd/user/pactl.service
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=Run pactl to work around edge audio bug
|
||||
After=pipewire-pulse.socket
|
||||
Requires=pipewire-pulse.socket
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/pactl info
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
||||
|
|
@ -7,8 +7,8 @@
|
|||
|
||||
- name: Add pactl service
|
||||
ansible.builtin.copy:
|
||||
src: 'etc/systemd/system/pactl.service'
|
||||
dest: '/etc/systemd/system/pactl.service'
|
||||
src: 'etc/systemd/user/pactl.service'
|
||||
dest: '/etc/systemd/user/pactl.service'
|
||||
mode: '0644'
|
||||
|
||||
- name: Enable pactl service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue