diff options
author | Xiao Pan <xyz@flylightning.xyz> | 2025-06-02 23:01:33 -0700 |
---|---|---|
committer | Xiao Pan <xyz@flylightning.xyz> | 2025-06-02 23:01:33 -0700 |
commit | 7097f102339611908b25c639913651e1529538b6 (patch) | |
tree | e775ed822b20cc95e57ad21f80130322a23bb7e6 | |
parent | 0fb285b14d3659bc580ef4c1361b3f6de5887490 (diff) |
Globally disable pipewire.socket user unit
I don't want to use pipewire. I don't want pipewire.service to start.
Even though I disabled pipewire.service, pipewire.service will still be
somehow started by pipewire.socket after first time I ran `mpva` after
boot. So I decided to disable it globally with `sudo systemctl disable
--global pipewire.socket`.
Note, `systemctl --user disable pipewire.socket` does not work because
it is globally enabled in post_install function in .install script in
PKGBUILD package see [0]. Thanks to [1] I know the correct way is to use
--global to remove global user unit, which removes
/etc/systemd/user/sockets.target.wants/pipewire.socket symlink.
[0] https://gitlab.archlinux.org/archlinux/packaging/packages/pipewire/-/blob/main/pipewire.install?ref_type=heads#L1-4.
[1] https://github.com/systemd/systemd/issues/18271
-rw-r--r-- | home/xyz/.config/myconf/syue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/home/xyz/.config/myconf/syue b/home/xyz/.config/myconf/syue index c0f64fc1..41742797 100644 --- a/home/xyz/.config/myconf/syue +++ b/home/xyz/.config/myconf/syue @@ -2,6 +2,5 @@ UNIT FILE STATE PRESET ssh-agent.service enabled enabled xdg-user-dirs-update.service enabled enabled p11-kit-server.socket enabled enabled -pipewire.socket enabled enabled -4 unit files listed. +3 unit files listed. |