You are not logged in.

#1 2018-10-26 12:54:10

Hackerpoint
Member
Registered: 2018-10-22
Posts: 34

sound theme not work in arch linux xfce

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

#2 2018-10-27 01:25:50

toz
Member
Registered: 2011-10-28
Posts: 497

Re: sound theme not work in arch linux xfce

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

#3 2018-10-30 09:17:33

Hackerpoint
Member
Registered: 2018-10-22
Posts: 34

Re: sound theme not work in arch linux xfce

[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

#4 2018-10-30 10:36:45

toz
Member
Registered: 2011-10-28
Posts: 497

Re: sound theme not work in arch linux xfce

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

#5 2018-10-30 10:49:13

Hackerpoint
Member
Registered: 2018-10-22
Posts: 34

Re: sound theme not work in arch linux xfce

It's working thank you so much

Last edited by Hackerpoint (2018-10-30 10:49:31)

Offline

Board footer

Powered by FluxBB