You are not logged in.
i follow these steps ....
Install libcanberra and libcanberra-pulse for PulseAudio support;
"canberra-gtk-module" should be in the GTK_MODULES environment variable (re-login may be required);
Check "Enable event sounds" in Settings Manager → Appearance → Settings tab;
In the Settings Editor set "xsettings/Net/SoundThemeName" to a sound theme located in /usr/share/sounds/;
Turn on "System Sounds" in audio mixer (e.g. pavucontrol).
sound-theme-freedesktop provides a compatible sound theme, but it lacks many required events. Better choice is sound-theme-smoothAUR (SoundThemeName should be "Smooth").
Keyboard volume buttons
xfce4-pulseaudio-plugin provides a panel applet which has support for keyboard volume control and volume notifications. As an alternative, you can install xfce4-volumed-pulseAUR, which also provides keybinding and notification control, but without an icon sitting in the panel. This is handy, for example, when using pasystray at the same time for a finer control.
Alternatively, xfce4-mixer also provides a panel applet and keyboard shortcuts which supports Alsa as well. Note however, that it is based on a feature of GStreamer 0.10 which has been abandoned in 1.0.
For non desktop environment specific alternatives, see List of applications/Multimedia#Volume control.
But didn't work for me anyone can Help
Offline
Can you post back the results of the following:
xfconf-query -c xsettings -p /Net/EnableEventSounds
xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds
xfconf-query -c xsettings -p /Net/SoundThemeName
ls -l /usr/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
env | grep GTK_MODULES
Does the following generate a sound?
canberra-gtk-play -i trash-empty
Offline
[hackerpoint@angle:~]$ xfconf-query -c xsettings -p /Net/EnableEventSounds
true
[hackerpoint@angle:~]$ xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds
false
[hackerpoint@angle:~]$ xfconf-query -c xsettings -p /Net/SoundThemeName
/usr/share/sounds/freedesktop
[hackerpoint@angle:~]$ ls -l /usr/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
ls: cannot access '/usr/share/sounds//usr/share/sounds/freedesktop/stereo': No such file or directory
[hackerpoint@angle:~]$ env | grep GTK_MODULES
GTK_MODULES=canberra-gtk-module:canberra-gtk-module
canberra-gtk-play -i trash-empty
give me sound trash-empty
Offline
There are a couple of errors/omissions.
Install the smooth sound theme from the AUR (it has more sound effects).
Set it as the sound theme:
xfconf-query -c xsettings -p /Net/SoundThemeName -s Smooth
And enable Input Feedback Sounds:
xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds -s true
*Make sure the System Sounds volume is turned up.
Offline
It's working thank you so much
Last edited by Hackerpoint (2018-10-30 10:49:31)
Offline