Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] canberra-gtk-play failed no sound found (Read 1036 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

[SOLVED] canberra-gtk-play failed no sound found

finally migrated just because i kinda like openrc now that i somewhat get it from setting up gentoo and installing it 300 times just to be comfortable, last week arch had an upgrade that made libcanberra not work(it was working before) so i decided to install artix which went easy until i had to activate a service(dhcpcd) at boot(didnt know artix had openrc-dhcpcd pkg)good thing i went to troubleshooting page.Now i posted in arch Linux forum yesterday and woke up again with no reply(as its a problem on arch and artix)https://bbs.archlinux.org/viewtopic.php?id=267184 i tend not to post on there cuz when i was a newer user they kinda bashed at me for not knowing(but how do you learn without asking questions)anyways hopefully you guys can help me out....

for some reason installing pulseaudio-alsal fixed the issue for some reason......trying to figure out why
Rule 3: Never believe what you are told. Double check.


 

Re: [SOLVED] canberra-gtk-play failed no sound found

Reply #2
<offtopic>
how do you learn without asking questions
By web search (I try to avoid the term "googling") and reading documentation. A book on GNU/Linux or Unix would also be a nice reading material for a newcomer.

Back in the old days, the Internet was not as widespread nor as practical to use as now, and there were no mobile phones, and yet people managed to learn and explore GNU/Linux on their own (perhaps the most important) and through books, magazines and by reading documentation.
</offtopic>


Re: [SOLVED] canberra-gtk-play failed no sound found

Reply #4
<offtopic>By web search (I try to avoid the term "googling") and reading documentation. A book on GNU/Linux or Unix would also be a nice reading material for a newcomer.

Back in the old days, the Internet was not as widespread nor as practical to use as now, and there were no mobile phones, and yet people managed to learn and explore GNU/Linux on their own (perhaps the most important) and through books, magazines and by reading documentation.
</offtopic>
the old day like in the 90s im 35 and got into linux like 3 years ago because i kinda moved away from computers cuz of work and i do read the wikis and google my issues as the internet is good for that sometimes compared to back then having internet in 98 was awful .....aol and all
Rule 3: Never believe what you are told. Double check.

Re: [SOLVED] canberra-gtk-play failed no sound found

Reply #5
eh just create this script in your path make it executable you can use mpv instead of aplay(needs to be .wav) command

#!/bin/sh
# Sends a notification when a torrent is completed in transmission
notify-send "Transmission-gtk" "$TR_TORRENT_NAME has downloaded" && aplay /home/$USER/.local/share/sounds/fatality.wav

in transmission settings.json

"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/home/whoami/.local/bin/torr_notify",

bye bye issue
Rule 3: Never believe what you are told. Double check.


Re: [SOLVED] canberra-gtk-play failed no sound found

Reply #7
yeah i guess i was creative lol nah just jk i think i had found this script that for transmission remote and never used it and just modified it so it does the same thing that practically transmission-gtk does although u need libnotify dunst and alsa(aplay u could use mpv for it tho)i try to stay as minimal as possible some ppl will say using dunst and libnotify is a waste(which yea i grues its unnecessary) anyways now i dont need libcanberra which gets pulled it anyways on arch or artix(not gentoo tho just uninstalled it) now to create a script for mutt notification using the same principle.
Rule 3: Never believe what you are told. Double check.