You are not logged in.

#1 2009-06-09 00:05:49

colbert
Member
Registered: 2007-12-16
Posts: 809

[SOLVED]Very strange-- suddenly system sounds in plain flux session?!

I have been using flux for over a year, all has been fine but suddenly I have these system sounds when I maximize/minimize/close a window, at first I thought only Firefox so I disabled all add-ons but still the same thing. Then I opened tuxguitar and it played the sounds. I have absolutely no idea where they are coming from. All I have in my .fluxbox/startup file is:

keytouchd &
xrdb ~/.Xdefaults &
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1 &
thunar-volman &
xset r rate 250 30 &
sonata &
sleep 3 && conky &
nvidia-settings -a XVideoSyncToDisplay=DFP-0
irexec &
urxvt &
xcompmgr -c -r10 -F -f -D4 -C -o0.8 &

I almost felt like someone had hacked my box lol. Came out of nowhere. Really need to get rid of them though, can't stand em! sad

EDIT: It's only happening with GTK windows, but I don't even have any gnome settings load at startup?!

EDIT2: Okay, I used lsof | grep sound to track down the bugger, and I got this:

┌─[ 22:13 ][ /usr/lib ]
└─> lsof | grep sound
firefox   5088 bobby  mem       REG       8,18      7430  779623 /usr/lib/alsa-lib/libasound_module_rate_speexrate.so.backup
firefox   5088 bobby  mem       REG       8,18   1008657  644624 /usr/lib/libasound.so.2.0.0
firefox   5088 bobby   54u      REG       8,19     12288  196691 /home/bobby/.cache/event-sound-cache.tdb.9fdbf551b61e1eb739028ad4497a68bf.i686-pc-linux-gnu (deleted)
┌─[ 22:13 ][ /usr/lib ]

I use lsof | grep sound all the time and never have seen these lines, ever. I rm'd the .cache/event-sound-blah-blah file, that didn't do it. I renamed the first one, that didn't do it, so I renamed the libasound.so.2.0.0 and that did it. No more sounds. Sound works with all apps tested so far, I am not sure how the overall effect will be though. This is a dirty workaround. Anyone with a better solution I'd be glad.

EDIT: solved in post #7 by jt512 smile

Last edited by colbert (2009-06-11 02:48:04)

Offline

#2 2009-06-09 17:20:38

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Same thing started happening to me two days ago in Openbox.  Must be upgrade related, but I don't see anything suspicious in the pacman log.  Here are the entries from the last few days.  Anybody see the culprit?

[2009-06-04 10:27] Please consider to run db_upgrade on Berkeley DB databases with a major db version number update.
[2009-06-04 10:27] upgraded db (4.7.25-2 -> 4.7.25.4-1)
[2009-06-04 10:27] upgraded device-mapper (1.02.31-1 -> 1.02.32-1)
[2009-06-04 10:27] upgraded gnash-common (0.8.5-2 -> 0.8.5-3)
[2009-06-04 10:27] upgraded gtk (1.2.10-8 -> 1.2.10-9)
[2009-06-04 10:27] installed gnome-doc-utils (0.16.1-1)
[2009-06-04 10:27] upgraded gtk-doc (1.11-1 -> 1.11-2)
[2009-06-04 10:27] upgraded lame (3.98.2-1 -> 3.98.2-2)
[2009-06-04 10:27] upgraded libsndfile (1.0.20-1 -> 1.0.20-2)
[2009-06-04 10:27] upgraded lvm2 (2.02.45-1 -> 2.02.47-1)
[2009-06-04 10:27] installed ca-certificates-java (20081028-1)
[2009-06-04 10:27] upgraded openjdk6 (1.5_hg20090429-1 -> 1.5-2)
[2009-06-04 10:40] starting full system upgrade
[2009-06-04 14:16] installed diction (1.11-1)
[2009-06-04 17:01] installed gimp-help-2 (2.4.2-1)
[2009-06-04 17:23] installed bluez (4.39-1)
[2009-06-04 17:23] installed gvfs (1.2.3-1)
[2009-06-05 11:09] starting full system upgrade
[2009-06-05 11:09] starting full system upgrade
[2009-06-05 11:09] ==> awesome installation notes:
[2009-06-05 11:09] upgraded awesome (3.3pre20090421-1 -> 3.3-1)
[2009-06-05 17:05] upgraded maxima (5.18.1-3 -> 5.18.1-2)
[2009-06-05 17:06] upgraded sbcl (1.0.28-1 -> 1.0.25-1)
[2009-06-05 21:28] starting full system upgrade
[2009-06-05 21:28] starting full system upgrade
[2009-06-05 21:28] upgraded sbcl (1.0.25-1 -> 1.0.28-1)
[2009-06-05 21:28] upgraded maxima (5.18.1-2 -> 5.18.1-3)
[2009-06-06 12:17] installed perl-html-tagset (3.20-1)
[2009-06-06 12:17] installed perl-html-parser (3.60-1)
[2009-06-06 12:17] installed gnuhtml2latex (0.3-1)
[2009-06-06 14:28] upgraded foomatic-db (4.0_20090424-1 -> 4.0_20090424-1)
[2009-06-06 14:28] upgraded foomatic-db-engine (4.0_20090424-1 -> 4.0_20090424-1)
[2009-06-06 15:19] starting full system upgrade
[2009-06-06 15:19] starting full system upgrade
[2009-06-06 15:21] upgraded gnome-mplayer (0.9.5-3 -> 0.9.6-1)
[2009-06-06 15:21] upgraded gecko-mediaplayer (0.9.5-1 -> 0.9.6-1)
[2009-06-06 15:21] upgraded imagemagick (6.5.2.7-1 -> 6.5.3.2-1)
[2009-06-06 15:21] upgraded laptop-mode-tools (1.47-1 -> 1.49-1)
[2009-06-06 15:21] upgraded python (2.6.2-1 -> 2.6.2-2)
[2009-06-07 18:23] starting full system upgrade
[2009-06-07 18:24] starting full system upgrade
[2009-06-07 18:26] upgraded libpng (1.2.36-1 -> 1.2.37-1)
[2009-06-07 18:26] upgraded wxgtk (2.8.10-1 -> 2.8.10.1-1)
[2009-06-07 18:26] upgraded zenity (2.26.0-1 -> 2.26.0-2)
[2009-06-07 18:26] starting full system upgrade
[2009-06-07 18:29] upgraded codecs (20071007-3 -> 20071007-4)
[2009-06-08 10:34] starting full system upgrade

Offline

#3 2009-06-09 17:44:47

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

jt512, I have a hunch that it is gtk. It is only GTK apps that get the sounds, and when I did the last upgrade that upgraded GTK it was only GTK and a couple other token packages that got upgraded. Very strange nevertheless!!

Offline

#4 2009-06-10 22:55:19

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Well, downgrading GTK and wxgtk didn't eliminate system sounds in openbox.

I started an xfce4 session and found that I was now hearing system sounds in xfce4 too. I unchecked "enable system sounds" in the xfce4 settings and that stopped them there, but they persist in Openbox.  I always had "enable system sounds" checked in Xfce4, but system sounds never worked, until several days ago.  Still can't figure out how to get rid of them in Openbox.

Offline

#5 2009-06-10 23:53:42

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Have you tried what I put a few posts above?

Offline

#6 2009-06-11 00:07:01

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

colbert wrote:

Have you tried what I put a few posts above?

No, but I did "fix" it by uninstalling libcanberra.  But there's got to be a better solution.  It seems strange that you and I are the only people having this problem.

Jay

Offline

#7 2009-06-11 02:11:41

jt512
Member
Registered: 2009-02-19
Posts: 262

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Problem solved.

In ~/.gtkrc.mine add the following line

gtk-enable-event-sounds = 0

Offline

#8 2009-06-11 02:43:02

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Brilliant! Thanks so much jt512! big_smile big_smile smile

Offline

#9 2009-06-11 10:05:06

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Nice, I was bugged by this too.

Offline

#10 2009-06-12 18:07:20

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

I suspect that this was my fault (http://bugs.archlinux.org/task/14901)...I don't know whether to apologise or not tongue

Offline

#11 2009-06-12 20:26:19

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

/hunts down azleifel wink big_smile No sweat friend, at least we've got 'er done with smile

Last edited by colbert (2009-06-12 20:26:30)

Offline

#12 2009-06-16 03:29:50

Intrepid
Member
Registered: 2008-06-11
Posts: 254

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Thank you very much everyone! big_smile


Intrepid (adj.): Resolutely courageous; fearless.

Offline

#13 2009-07-07 19:41:20

Sirduncan
Member
Registered: 2009-05-07
Posts: 1

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Hm, I'm having this same problem (using LXDE and a few select gnome stuff). However, I didn't initially have a ~/.gtkrc.mine file. I created one, and added the suggested line and it didn't work. I also tried changing the syntax (with and without spaces, FALSE instead of 0) and still nothing.

Does anyone have any ideas what could be going on? What is it that loads ~/.gtkrc.mine?

EDIT: Solved from a different angle by removing the script in ~/etc/X11/xinit/xinitrc.d/ which is discussed here and in post #10 by azleifel. So if the ~/.gtkrc.mine fix didn't work for you, try this.

It's kind of funny, any time I make a post for help I seem to fix the problem myself within seconds.

Last edited by Sirduncan (2009-07-07 19:54:45)

Offline

#14 2009-07-27 17:43:19

edacval
Member
From: .LT
Registered: 2008-10-23
Posts: 91

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

~/.gtkrc.mine didn`t work for me.Solved by:

echo 'gtk-enable-event-sounds=0' >> ~/.gtkrc-2.0

Offline

#15 2009-08-06 10:33:07

asmanian
Member
Registered: 2008-08-12
Posts: 5

Re: [SOLVED]Very strange-- suddenly system sounds in plain flux session?!

Seems from some stuff I found on the net that usually you put

include "/home/myusername/.gtkrc.mine"

into the .gtkrc-2.0 file (for example at the at end)
and then put stuff like this into .gtkrc.mine. Don't ask me why, maybe to avoid some unwanted effects related to programs that change .gtkrc-2.0 such as gtk-theme-switch.

Offline

Board footer

Powered by FluxBB