You are not logged in.
I have been researching all morning and am having no luck installing a system sound theme. I have the theme saved to both /home/myname/.local/share/sounds and /usr/share/sounds I also set it in settings manager-xsettings-Net-sound theme name
but no sounds come up. My normal music files play fine also youtube etc but no system sounds. In audio mixer playback I have
system sound set to 100% but underneath the slider it stays at silence how can I make it recognize the system sound theme I have se up?
Offline
For full support, libcanberra is required.
What does dpkg -l '*canberra*' return?
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
I am at work now but will try when I get home, thanks. It seems like there should be an easy way to get and apply sound themes in xfce4
Offline
This topic may help:
https://forum.xfce.org/viewtopic.php?id=15670
Not all sound themes work in Xfce.
Linux Mint Xfce 21.1
Offline
cmcanulty@Dell660s:~$ dpkg -l '*canberra*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-=============-============-======================================>
ii gnome-session-canberra 0.30-7ubuntu1 amd64 GNOME session log in and log out sound>
ii libcanberra-dev:amd64 0.30-7ubuntu1 amd64 simple interface for playing event sou>
ii libcanberra-gtk-common-dev 0.30-7ubuntu1 all simple interface for playing event sou>
ii libcanberra-gtk-dev:amd64 0.30-7ubuntu1 amd64 simple interface for playing event sou>
ii libcanberra-gtk-module:amd64 0.30-7ubuntu1 amd64 translates GTK+ widgets signals to eve>
ii libcanberra-gtk-module:i386 0.30-7ubuntu1 i386 translates GTK+ widgets signals to eve>
ii libcanberra-gtk0:amd64 0.30-7ubuntu1 amd64 GTK+ helper for playing widget event s>
ii libcanberra-gtk0:i386 0.30-7ubuntu1 i386 GTK+ helper for playing widget event s>
ii libcanberra-gtk3-0:amd64 0.30-7ubuntu1 amd64 GTK+ 3.0 helper for playing widget eve>
ii libcanberra-gtk3-module:amd64 0.30-7ubuntu1 amd64 translates GTK3 widgets signals to eve>
ii libcanberra-pulse:amd64 0.30-7ubuntu1 amd64 PulseAudio backend for libcanberra
ii libcanberra0:amd64 0.30-7ubuntu1 amd64 simple abstract interface for playing >
ii libcanberra0:i386 0.30-7ubuntu1 i386 simple abstract interface for playing >
lines 1-18/18 (END)
Offline
Can you also post back the results of:
ls -l /usr/share/sounds
ls -l ~/.local/share/sounds
xfconf-query -c xsettings -p /Net/EnableEventSounds
xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds
xfconf-query -c xsettings -p /Net/SoundThemeName
env | grep GTK_MODULES
ls -l /usr/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
ls -l ~/.local/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
update, I get good feedback but still no system sounds:
cmcanulty@Dell660s:~$ xfconf-query -c xsettings -lv | grep -i sound
/Net/EnableEventSounds true
/Net/EnableInputFeedbackSounds true
/Net/SoundThemeName /usr/share/sounds/wolf
cmcanulty@Dell660s:~$
Offline
Can you run each one of those lines as a separate command and post back the output?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
well I should have given up on system sounds because now I have no sound for anything also now alsamixer shows an error even though I just reinstalled it
cmcanulty@Dell660s:~$ alsamixer
cannot open mixer: No such file or directory
cmcanulty@Dell660s:~$
audiomixer says no output devices I am using hdmi for the monitor and sound. All worked perfectly until I stupidly tried to get system sounds to work.
cmcanulty@Dell660s:~$ xfconf-query -c xsettings -lv | grep -i sound
/Net/EnableEventSounds true
/Net/EnableInputFeedbackSounds true
/Net/SoundThemeName /usr/share/sounds/wolf
cmcanulty@Dell660s:~$ /Net/EnableEventSounds
bash: /Net/EnableEventSounds: No such file or directory
cmcanulty@Dell660s:~$ /Net/EnableInputFeedbackSounds
bash: /Net/EnableInputFeedbackSounds: No such file or directory
cmcanulty@Dell660s:~$ /Net/SoundThemeName
bash: /Net/SoundThemeName: No such file or directory
cmcanulty@Dell660s:~$
Last edited by cmcanulty (2022-04-29 13:32:27)
Offline
I will redirect you to ToZ's reply.
Can you try the executing the commands he listed out one by one and post back the outputs inside code tags?
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
cmcanulty@Dell660s:~$ ls -l /usr/share/sounds
total 304
drwxr-xr-x 2 root root 4096 Apr 28 09:17 49-kdesoundthemes-birds-1.0
drwxr-xr-x 2 root root 4096 May 6 2021 alsa
-rw-rw-r-- 1 root root 34829 Apr 28 08:52 bark.oga
-rwxrwxrwx 1 root root 13322 May 24 2012 bark.ogg
-rw-rw-r-- 1 root root 170443 Apr 28 08:52 dog-littlebark2.oga
-rw-rw-r-- 1 root root 15531 Apr 28 08:21 dog-littlebark2.ogg
-rwxrwxrwx 1 root root 16702 Nov 24 2015 dog-littlebark2.wav
drwxr-xr-x 3 root root 4096 Jul 31 2020 freedesktop
drwxr-xr-x 2 root root 4096 Apr 26 2021 GNUstep
drwxr-xr-x 2 root root 4096 Apr 29 09:26 opl3
drwxr-xr-x 2 root root 4096 Jul 31 2020 purple
drwxr-xr-x 2 root root 4096 Dec 16 2020 sf2
drwxr-xr-x 2 root root 4096 Oct 12 2021 sf3
drwxr-xr-x 2 root root 4096 Apr 12 2021 sfz
drwxr-xr-x 2 root root 4096 Jul 31 2020 sound-icons
drwxr-xr-x 2 root root 4096 Jul 31 2020 speech-dispatcher
drwxr-xr-x 3 root root 4096 Apr 28 09:17 wolf
cmcanulty@Dell660s:~$ ls -l ~/.local/share/sounds
total 368
-rw-rw-r-- 1 cmcanulty cmcanulty 53079 Apr 28 09:11 '151492-natural bird sound.mp3'
-rw-rw-r-- 1 cmcanulty cmcanulty 63783 Apr 28 09:09 '167092-Ubuntu Startup.ogg'
drwxrwxr-x 2 cmcanulty cmcanulty 4096 Apr 28 09:15 49-kdesoundthemes-birds-1.0
-rw-rw-r-- 1 root root 34829 Apr 28 08:52 bark.oga
-rwxrwxrwx 1 cmcanulty cmcanulty 13322 May 24 2012 bark.ogg
-rw-rw-r-- 1 root root 170443 Apr 28 08:52 dog-littlebark2.oga
-rw-rw-r-- 1 cmcanulty cmcanulty 15531 Apr 28 08:21 dog-littlebark2.ogg
-rw-r--r-- 1 cmcanulty cmcanulty 77 Apr 28 08:18 index.theme
drwxr-xr-x 2 cmcanulty cmcanulty 4096 Apr 28 08:53 stereo
drwxr-xr-x 3 cmcanulty cmcanulty 4096 Feb 26 2011 wolf
cmcanulty@Dell660s:~$ xfconf-query -c xsettings -p /Net/EnableEventSounds
true
cmcanulty@Dell660s:~$ xfconf-query -c xsettings -p /Net/EnableInputFeedbackSounds
true
cmcanulty@Dell660s:~$ xfconf-query -c xsettings -p /Net/SoundThemeName
/usr/share/sounds/wolf
cmcanulty@Dell660s:~$ env | grep GTK_MODULES
GTK_MODULES=gail:atk-bridge
cmcanulty@Dell660s:~$ ls -l /usr/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
ls: cannot access '/usr/share/sounds//usr/share/sounds/wolf/stereo': No such file or directory
cmcanulty@Dell660s:~$ ls -l ~/.local/share/sounds/$(xfconf-query -c xsettings -p /Net/SoundThemeName)/stereo
ls: cannot access '/home/cmcanulty/.local/share/sounds//usr/share/sounds/wolf/stereo': No such file or directory
cmcanulty@Dell660s:~$
yet the file does exist see n below
/home/cmcanulty/.local/share/sounds/wolf/stereo/
yet all I want now is some sound on my computer this system sound thing borked all sound thank you
Last edited by cmcanulty (2022-04-29 15:57:26)
Offline
That's because of an incorrect command substitution. Pay attention to pathname duplication:
ls: cannot access '/usr/share/sounds//usr/share/sounds/wolf/stereo': No such file or directory
Since we know the name of sound theme and that its subdirectory at least exists, can you directly list its contents with:
ls -l /usr/share/sounds/wolf
An even better listing would be:
find /usr/share/sounds/wolf
Last edited by KBar (2022-04-29 16:16:40)
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
cmcanulty@Dell660s:~$ ls -l /usr/share/sounds/wolf
total 8
-rw-r--r-- 1 root root 75 Feb 26 2011 index.theme
drwxr-xr-x 2 root root 4096 Apr 28 09:17 stereo
cmcanulty@Dell660s:~$ find /usr/share/sounds/wolf
/usr/share/sounds/wolf
/usr/share/sounds/wolf/stereo
/usr/share/sounds/wolf/stereo/desktop-logout.ogg
/usr/share/sounds/wolf/stereo/dialog-question.ogg
/usr/share/sounds/wolf/stereo/dialog-information.ogg
/usr/share/sounds/wolf/stereo/blocked popup.ogg
/usr/share/sounds/wolf/stereo/dialog-warning.ogg
/usr/share/sounds/wolf/stereo/bell.ogg
/usr/share/sounds/wolf/stereo/dialog-error.ogg
/usr/share/sounds/wolf/stereo/desktop-login.ogg
/usr/share/sounds/wolf/index.theme
cmcanulty@Dell660s:~$
I just need my system sound now this borked all sound
Offline
cmcanulty@Dell660s:~$ env | grep GTK_MODULES
GTK_MODULES=gail:atk-bridge
There were 2 problems with the system sounds:
The canberra module was not enabled.
The wolf sound theme is missing many of the available sound events.
Once you get the issue with the sound not working, we can return here to get it set up. Unfortunately, I'm not that familiar with the sound system - perhaps someone else can assist with getting it fixed.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
thanks all. I will keep at it
Offline
I have zeroed in on the issue, I think. There seems to be a missing sound card driver. It did work fine until a few days ago. Here is some terminal output. I did search for missing drivers and none found. Any help please.
cmcanulty@Dell660s:~$ inxi -A
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio driver: N/A
cmcanulty@Dell660s:~$ sudo alsa force-reload
[sudo] password for cmcanulty:
Unloading ALSA sound driver modules: (none loaded).
Loading ALSA sound driver modules: (none to reload).
cmcanulty@Dell660s:~$
Offline
nothing
cmcanulty@Dell660s:~$ dpkg -l '*canberra*
>
Also some new insights:
OK I have purged and reinstalled pulse and alsa and still no luck however I have no info. Alsa finds no sound card driver
sudo alsa force-reload
Unloading ALSA sound driver modules: (none loaded).
Loading ALSA sound driver modules: (none to reload).
also my sound card is
from lspci command
Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
so how do I install or reinstall that driver? To be clear sound worked perfectly until I decided to try to get a sytsem sound theme to work which I never did and have given up on that. I just want sound back.
Offline
nothing
cmcanulty@Dell660s:~$ dpkg -l '*canberra* >
Because there's no matching closing quote (a single quote character).
What's the output of:
sudo lshw -class multimedia
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
cmcanulty@Dell660s:~$ sudo lshw -class multimedia
[sudo] password for cmcanulty:
*-multimedia UNCLAIMED
description: Audio device
product: 7 Series/C216 Chipset Family High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 04
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f7d10000-f7d13fff
cmcanulty@Dell660s:~$
Offline
This confirms that the sound modules aren't loaded by the kernel. You most likely blacklisted it.
Can you share the contents of your /etc/default/grub file? Afterwards, list the following directory and paste it here:
ls -lA /etc/modprobe.d/
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
cmcanulty@Dell660s:~$ ls -lA /etc/modprobe.d/
total 64
-rw-r--r-- 1 root root 2541 May 1 11:18 alsa-base.conf
-rw-r--r-- 1 root root 154 Feb 16 2020 amd64-microcode-blacklist.conf
-rw-r--r-- 1 root root 325 Mar 12 2020 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1540 May 1 08:23 blacklist.conf
-rw-r--r-- 1 root root 210 Mar 12 2020 blacklist-firewire.conf
-rw-r--r-- 1 root root 677 Mar 12 2020 blacklist-framebuffer.conf
-rw-r--r-- 1 root root 156 Jul 30 2015 blacklist-modem.conf
lrwxrwxrwx 1 root root 41 Apr 30 08:13 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root 583 Mar 12 2020 blacklist-rare-network.conf
-rw-r--r-- 1 root root 127 Jan 22 2020 dkms.conf
-rw-r--r-- 1 root root 154 Jun 10 2020 intel-microcode-blacklist.conf
-rw-r--r-- 1 root root 347 Mar 12 2020 iwlwifi.conf
-rw-r--r-- 1 root root 379 Sep 28 2020 mdadm.conf
-rw-r--r-- 1 root root 70 Mar 9 2015 oss4-base.conf
-rw-r--r-- 1 root root 3916 Jun 23 2021 oss4-base_noALSA.conf
-rw-r--r-- 1 root root 1059 Jun 23 2021 oss4-base_noOSS3.conf
-rw-r--r-- 1 root root 68 Jan 25 2019 osspd.conf
cmcanulty@Dell660s:~$
Offline
You edited the alsa-base.conf modprobe configuration file. Generally, when you bork something, you just have to revert its config files back to its previous state.
Can you share the content of that alsa-base.conf file?
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
that was probably when I was trying to get system sound theme going
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }
# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options snd-hda-intel model=Intel
Offline
Which commands did you issue? Check your Bash history file or try to recollect.
In the meantime, reinstall the alsa-base package.
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
I reinstalled alsa-base and every other sound app I could find a few days ago with no result. I just completely removed it and reinstalled it again and I copied alsa-base.conf from a recent backuup to modprobe.d to replace the one I I had modified and rebooted. Still no sound. Am I going to have to reinstall? That would be a nightmare but I am stuck now. Is there any other file I should replace from my backup drive? Thank you my bash history only had today. I edited bash.rc today to make it append and not overwrite history.
Last edited by cmcanulty (2022-05-02 12:59:08)
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 697.58 KiB (Peak: 746.42 KiB) ]