beep or sound playing under linux

H

hg

Chuck said:
hg wrote this on Mon, Jan 22, 2007 at 04:12:50PM +0100. My reply is
below.


In Gnome there is:

gtk.gdk.beep()

well wx.Bell() I assume does the same since wxPython use gtk+ ... still I'm
under gnome with system bell enabled and I do not hear anything

hg
 
M

Michele Petrazzo

hg said:
Hi,

Is there a way to do that ?

I can do it, into my debian, with a:

michele:~$ echo -e "\007" >/dev/tty

It's very simple to reproduce it with python and os.system or subprocess.

Michele
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top