I got into some mess on my install, so I thought I'd reinstall pulseaudio
. After that, I had a problem with pulseaudio not spawning at boot; somehow after some changes and reboots, now pulseaudio is spawning again at boot (and also after pulseaudio --kill
).
I think I eventually did the equivalent of:
sudo apt-get remove --purge pulseaudio
sudo apt-get --reinstall install mate-applets mate-applets-common \
mate-desktop mate-desktop-common mate-desktop-environment-core \
mate-applets mate-applets-common mate-indicator-applet mate-gnome-main-menu-applet \
mate-media mate-media-common mate-media-pulse mate-menu mate-notification-daemon mate-panel \
mate-panel-common mate-settings-daemon mate-settings-daemon-pulse \
pulseaudio pulseaudio-module-gconf pulseaudio-module-x11
rm -rf ~/.config/pulse
rm -rf ~/.pulse
After reboot and re-run of pulseaudio, ~/.config/pulse
gets reconstructed, ~/.pulse
does not. These are messages from syslog from that reboot:
$ grep pulse /var/log/syslog
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] authkey.c: Failed to open cookie file '/etc/timidity/.config/pulse/cookie': No such file or directory
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] authkey.c: Failed to load authorization key '/etc/timidity/.config/pulse/cookie': No such file or directory
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] authkey.c: Failed to open cookie file '/etc/timidity/.pulse-cookie': No such file or directory
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] authkey.c: Failed to load authorization key '/etc/timidity/.pulse-cookie': No such file or directory
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] authkey.c: Failed to open cookie file '/etc/timidity/.config/pulse/cookie': No such file or directory
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] authkey.c: Failed to load authorization key '/etc/timidity/.config/pulse/cookie': No such file or directory
Oct 5 12:06:33 mypc pulseaudio[1634]: [autospawn] core-util.c: Home directory not accessible: Permission denied
Oct 5 12:06:33 mypc pulseaudio[1634]: [autospawn] lock-autospawn.c: Cannot access autospawn lock.
Oct 5 12:06:33 mypc pulseaudio[1634]: [pulseaudio] main.c: Failed to acquire autospawn lock
Oct 5 12:06:51 mypc pulseaudio[2441]: [pulseaudio] pid.c: Daemon already running.
And indeed pulseaudio
runs now:
$ ps axf | grep -v grep | grep pulse
2173 ? S<l 0:00 /usr/bin/pulseaudio --start --log-target=syslog
2302 ? S 0:00 \_ /usr/lib/pulseaudio/pulse/gconf-helper
However, my top bar looks like this:
... that is, there is no volume control/volume applet - it is missing. Otherwise, here is where the word volume
occurs in mate
packages:
$ dpkg-query -S mate-volume
mate-media-pulse: /usr/share/man/man1/mate-volume-control.1.gz
mate-media-pulse: /usr/share/man/man1/mate-volume-control-applet.1.gz
mate-tweak: /usr/share/mate-tweak/mate-volume-control-applet.desktop
mate-tweak: /usr/lib/mate-tweak/disable-mate-volume-applet
mate-media-pulse: /usr/bin/mate-volume-control
mate-media-pulse: /usr/share/applications/mate-volume-control.desktop
mate-media-pulse: /usr/bin/mate-volume-control-applet
When I run mate-volume-control
I get the "Sound Preferences" window:
When I run mate-volume-control-applet
, I get:
... a volume icon in top bar, but when I click on it, it just shows a slider.
However, by default, this volume applet is shown in Ubuntu Mate 14.04:
... with player buttons and such; and looking at ps axf | grep 'mate\|applet\|volume\|pulse'
, there is nothing that specifically indicates a process which would be generating it, so I guess this volume applet is part of mate-indicator-applet-complete
. I also did:
mate-panel --reset --replace
... (had to do it twice before the bars reappeared), which didn't restore the volume applet either.
In any case - how can I restore now this "proper" volume applet at startup, not the "just-a-slider" one by mate-volume-control-applet
? Or, in other words, what is the proper re-installation procedure, to reinstall pulseaudio and corresponding MATE desktop applets?