GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Thu Apr 17, 2014 7:15 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Gtk Error Bell for 2.10
PostPosted: Thu Oct 04, 2012 4:53 pm 
Offline

Joined: Thu Oct 04, 2012 4:49 pm
Posts: 2
Hello, I'm using Gtk 2.10 and I really need to be able to turn the gtk-error-bell off, or find some way to stop the gtk system beeps.

I know that 2.12 implemented the new gtk-error-bell property to put in a .gtkrc, but I am required to use 2.10 and upgrading is not an option right now. We've looked through the code countless times to determine the issue, and are unable to put forth any more time into this project to figure out exactly what is causing the beep, so right now I wish to have this simple fix.

Thank you


Top
 Profile  
 
 Post subject: Re: Gtk Error Bell for 2.10
PostPosted: Fri Oct 05, 2012 2:10 am 
Offline
Never Seen the Sunlight

Joined: Thu Mar 24, 2011 2:10 pm
Posts: 328
Location: Sydney, Australia
The 2.12 implementation of the error-bell property was because of the introduction of gdk_window_beep in its 2.12 version. I don't see anything about error bells in gtk prior to this version and gdk seems to have only display based beeps.
Unless there is some way of controlling error beeps in gtk<2.12 that I am not aware of I think the problem isn't a gtk one but more lower level, likely to do with xsettings (if your on an X11 system).
So sorry I can offer no quick fixes. Maybe someone who has been around since circa gtk1.2 might know, but I think you'll more likely have to dig around a fair bit.


Top
 Profile  
 
 Post subject: Re: Gtk Error Bell for 2.10
PostPosted: Thu Oct 25, 2012 5:31 pm 
Offline

Joined: Thu Oct 04, 2012 4:49 pm
Posts: 2
Thank you so much for your advice Paul, I did end up finding a lower-level way to turn off system beeps while running X11. It was a simple terminal command:

Code:
xset b off


and here's the website I found it on, which has some more info as well.

http://www.debian-administration.org/articles/110

Thanks again!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group