Page 1 of 1

no event sounds

Posted: 17. Jan 2017, 21:56
by more
Good night at all.

I searched in internet and tried many solutions but i can't play the sounds event on my system.

I'm using Salix 14.2 64bit xfce desktop, and it works perfectly in every things, but i never had the login sounds or event sounds. The music or video works fine.
is there someone who can help me please?

thank you in advance.

Re: no event sounds

Posted: 17. Jan 2017, 23:07
by ChuangTzu
These threads may help:
https://forum.xfce.org/viewtopic.php?id=8618

https://forum.xfce.org/viewtopic.php?id=8782

https://bbs.archlinux.org/viewtopic.php?id=205858

I mainly use fluxbox so this is the best I can offer now. I'll look into it more if needed, but I'm sure others will know.

Re: no event sounds

Posted: 18. Jan 2017, 02:18
by westms
The setting can be made as follows:

Salix menu > Settings > Appearance > Settings : Enable sounds : Enable event sounds

Salix > Impostazioni > Aspetto > Impostazioni : Suoni eventi : Abilita i suoni per gli eventi

Edited:
In pavucontrol (PulseAudio Panel Plugin), the volume of the event sounds must also be increased from
a preset 0 % to an audible volume.

Re: no event sounds

Posted: 19. Jan 2017, 23:30
by more
Well...first of all sorry for the late of my answer, but due to my work i can login in my pc only some days.

I followed point by point your post,and something works , like the sounds in Thunderbird and via terminal, in fact, if i type for example :

Code: Select all

canberra-gtk-play -i trash-empty
I can heard the sounds of the trash

I think to have a problem with the GTK_MODULES, it doesn't load properly, because if i type :
moreno[~]$ env | grep GTK_MODULES
moreno[~]$
How you can see, terminal doesn't returns nothing.....I follows the procedure well and check few times but i don't understand where i make a mistake... :?:

Re:[SOLVED] no event sounds

Posted: 22. Jan 2017, 21:09
by more
Ok it seem solved ;)

If someone would like the events sound, this is how i done it :

I followed these link :
https://forum.xfce.org/viewtopic.php?id=8618

https://forum.xfce.org/viewtopic.php?id=8782


I installed only the sox package because gnome-session-setting isn't in the repository

My mistake was that the sounds downloaded for example Borealis must be put exactly in /usr/share/sounds and not /usr/share/sounds/Borealis

That's all, and finally you have the event sounds

Re: Re:[SOLVED] no event sounds

Posted: 26. Jan 2017, 01:37
by westms
Hello,

congratulations!

I also tried it with the information according to the hypertext links, but had no success. But it does not matter, because I do not need these event sounds, but wanted to see something else than usual. The informations are not for Slackware/Salix, therefore, perhaps you can specify all individual steps exactly, so that others can easily understand it without having to repeatedly interpret the informations from the hypertext links themselves.

Thanks for the help in advance.

Re: no event sounds

Posted: 26. Jan 2017, 20:43
by more
Hi westms, yes of course! I had to do several times the procedure, to have the sounds enabled. I'm going to explain step by step what i done :

1) Salix menu > Settings > Appearance > Settings : Enable sounds : Enable event sounds and Enable feedback sounds

2)Salix menu > Multimedia > Pulseaudio > Riproduction > set the level sounds ( I setted to 100% )

3) Install from the repository ,the packages libcanberra and sox ( i think other things are installed by default )

4) Create a file: sudo leafpad /etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules , and paste inside :
# This file is sourced by Xsession(5), not executed.

if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi

export GTK_MODULES

5) Create a file :sudo leafpad /etc/X11/Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules , and paste inside :
# This file is sourced by Xsession(5), not executed.

if [ -z "$GTK_MODULES" ] ; then
GTK_MODULES="canberra-gtk-module"
else
GTK_MODULES="$GTK_MODULES:canberra-gtk-module"
fi

export GTK_MODULES

6) In a terminal type :export GTK_MODULES=canberra-gtk-module

7)Download : https://www.dropbox.com/s/bfyk05r4y8qog ... lis.tar.gz
And extract the tracks in : /usr/share/sounds

8) Rebooting

This could be all :roll:
I hope these istructions can be usefull and works!! :|

I'm not expert of linux system, i like the free software and open source, and sometimes i spend my time to learn something more of the gnu/linux system.
I started few years ago with ubuntu, it was replaced almost immediately by Sabayon, i used Sabayon for 1 years more or less, but at that time i doesn't knew enough linux and after three times that my system it broke due an updates, i decided to install Fedora. I used Fedora for three years. My feel with Fedora was always wery good, until a day i decided to change distro.
I always was curiosity about Slackware, but i'm not still ready for Slackware original. Until a discovered Salixos and installed.
Now i'm completely satisfied, finding the system very stable with the goal of slapt-get and sourcery package manager who help to much the newbies like me :)
Good Salix of all.