Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sound in Workrave #210

Open
papioara opened this issue Jul 9, 2020 · 3 comments
Open

No sound in Workrave #210

papioara opened this issue Jul 9, 2020 · 3 comments
Labels
bug Something isn't working env: cinnamon Cinnamon specific os: linux Linux specific

Comments

@papioara
Copy link

papioara commented Jul 9, 2020

Hello,
I use Workrave on my Linux Mint 19.3 Cinnamon machine, and it runs fine, but there is only one little flaw I do not understand: Workrave does not play any sound, whatever I choose in the user settings.
Would you have an explanation for this behaviour and do you have a solution? Otherwise sound works on my system.

Best wishes

@snowman
Copy link

snowman commented Sep 26, 2020

Same here.

When I FIRST hit the Play button of break-prelude.wav file, it did not have sound, play again, it has sound.
or if the .wav file has much longer time, you could hear the remaining part of it without hit Play button twice (but starting part has no sound).

Break prompt sound event didn't has sound when dialog appear, other sounds are working correctly.

I think this is not an issue of workrave, when you try playing with other media players, same problem exists.

1601107856

@rcaelers rcaelers added bug Something isn't working env: cinnamon Cinnamon specific os: linux Linux specific labels May 12, 2021
@azzamsa
Copy link

azzamsa commented Oct 5, 2021

Same here. The strange thing is that it can play sound on my second machine. Which happen to be running on the same OS, Debian 11.

I suspect it has to do with the .wav files and alsa. So I do:

user in old in ~
❯ dpkg -l | grep pulse
ii  gstreamer1.0-pulseaudio:amd64                 1.18.4-2                         amd64        GStreamer plugin for PulseAudio (transitional package)
ii  libpulse-mainloop-glib0:amd64                 14.2-2                           amd64        PulseAudio client libraries (glib support)
ii  libpulse0:amd64                               14.2-2                           amd64        PulseAudio client libraries
ii  libpulsedsp:amd64                             14.2-2                           amd64        PulseAudio OSS pre-load library
ii  pulseaudio                                    14.2-2                           amd64        PulseAudio sound server
ii  pulseaudio-module-bluetooth                   14.2-2                           amd64        Bluetooth module for PulseAudio sound server
ii  pulseaudio-utils                              14.2-2                           amd64        Command line tools for the PulseAudio sound server
~ took 1m57s
❯ dpkg -l | grep pulse
ii  libpulse-mainloop-glib0:amd64                 14.2-2                          amd64        PulseAudio client libraries (glib support)
ii  libpulse0:amd64                               14.2-2                          amd64        PulseAudio client libraries
ii  libpulsedsp:amd64                             14.2-2                          amd64        PulseAudio OSS pre-load library
ii  pulseaudio                                    14.2-2                          amd64        PulseAudio sound server
ii  pulseaudio-utils                              14.2-2                          amd64        Command line tools for the PulseAudio sound server

You can spot that my new machine is missing the gstreamer1.0-pulseaudio which happens to be a:

GStreamer is a streaming media framework, based on graphs of filters which operate on media data. Applications using this library can do anything from real-time sound processing to playing videos, and just about anything else media-related. Its plugin-based architecture means that new data types or processing capabilities can be added simply by installing new plug-ins.

sudo apt install gstreamer1.0-pulseaudio solved my issue.

Now, I can hear if my rest time is done. Because I left my desk during a rest time.

Thanks for workrave.


Update:

I am curious why gstreamer1.0-pulseaudio not included as dependency or recommended package

@MJBlack9000
Copy link

I faced the same issue. Basically - Workrave has no sound on Arch Linux. gstreamer is listed as its dependency and was installed. However, inspecting the package with pacman -Qi workrave yielded this:

Optional Deps   : gst-plugins-good: to play sound events [installed]
                  gnome-panel: Applet for GNOME Panel
                  mate-panel: Applet for MATE Panel
                  xfce4-panel: Applet for Xfce4 Panel

I got the sounds when I installed gst-plugins-good. Also confused about it being an optional dependency. But it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working env: cinnamon Cinnamon specific os: linux Linux specific
Projects
None yet
Development

No branches or pull requests

5 participants