You are not logged in.
Hi there!
Maybe I've done too much computer today, but I'm unable to enable pulseaudio on boot:
$ sudo systemctl enable pulseaudio.socket
Failed to execute operation: No such file or directoryAny ideas?
Cheers,
Kalsan
Last edited by kalsan (2015-08-24 20:44:12)
Offline
A) Do you know why you want to do this? If not, don't. Pulseaudio is usually autostarted by your DE/volume manager of choice and there are a few caveats when starting it explicitly with systemctl (it can't use the session dbus unless you set it up which breaks a few things like jack-dbus-detect and programs relying on dbus pulse detection).
B) pulseaudio is a user service, the correct way to start/enable it is using
systemctl --user enable/start pulseaudio.service/socketAdditional reading https://wiki.archlinux.org/index.php/Systemd/User
Last edited by V1del (2015-08-24 15:09:57)
Offline
Awesome, thanks a lot for thinking for me! :-)
Indeed, I thought the wrong way about pulse. I posted this thread because I disliked pulse firing up only at Skype's start, causing a configuration change. As I use i3, I chose my own commands for volume control and the commands are different when pulseaudio is running or not. Guess that shows my incompetence in this topic - I used the comfort of XFCE before and didn't care too much about things like that at the time, upgrading myself together with my system now :-)
The solution for me is to autostart pulseaudio --start together with i3 (using .i3/config file) and mapping the volume keys to amixer commands.
Thank you V1del!
Offline
That usecase would probably be fine, and instructions on how to setup dbus session is in the page I linked, so you may still go this route if you wish. But if it works this way now that's neat too
Last edited by V1del (2015-08-24 20:54:35)
Offline