vinstaller/etc/soundsystem/pipewire

39 lines
2.3 KiB
Plaintext
Raw Normal View History

2022-02-07 21:57:02 +01:00
packages() {
2022-02-08 19:53:21 +01:00
addpkg pipewire alsa-pipewire libjack-pipewire
2022-02-07 21:57:02 +01:00
}
config() {
2022-02-08 19:53:21 +01:00
enable_service
2022-02-07 22:50:49 +01:00
2022-02-08 22:15:52 +01:00
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-pulse.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Name=PipeWire Pulse" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Comment=Start the PipeWire Pulse" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-pulse" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire-pulse.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire-pulse.desktop
2022-02-07 22:50:49 +01:00
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire-session.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Name=PipeWire Media Session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Comment=Start the PipeWire Media Session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-media-session" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire-session.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire-session.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire-session.desktop
echo "[Desktop Entry]" > /etc/xdg/autostart/pipewire.desktop
echo "Version=1.0" >> /etc/xdg/autostart/pipewire.desktop
echo "Name=PipeWire Media System" >> /etc/xdg/autostart/pipewire.desktop
echo "Comment=Start the PipeWire Media System" >> /etc/xdg/autostart/pipewire.desktop
echo "Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire" >> /etc/xdg/autostart/pipewire.desktop
echo "Terminal=false" >> /etc/xdg/autostart/pipewire.desktop
echo "Type=Application" >> /etc/xdg/autostart/pipewire.desktop
echo "X-GNOME-Autostart-Phase=Initialization" >> /etc/xdg/autostart/pipewire.desktop
echo "X-KDE-autostart-phase=1" >> /etc/xdg/autostart/pipewire.desktop
2022-02-08 19:53:21 +01:00
echo "/usr/lib/pipewire-0.3/jack" > /etc/ld.so.conf.d/zpipewire-jack.conf
2022-02-07 21:57:02 +01:00
}