# Playing defined system sounds

**URL:** <https://www.ruby-forum.com/t/playing-defined-system-sounds/85017>\
**Category:** Ruby\
**Created:** [February 9, 2007, 10:16am UTC](https://www.ruby-forum.com/t/playing-defined-system-sounds/85017 "2007-02-09T10:16:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pedro\_mg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c2a13f/32.png) [@pedro\_mg](https://www.ruby-forum.com/u/pedro_mg)\
**Post date:** [February 9, 2007, 10:16am UTC](https://www.ruby-forum.com/t/playing-defined-system-sounds/85017/1 "2007-02-09T10:16:12Z")

</div>

Hi,

i’d like to play linux system sounds for my app events.  
Anyone worked with this already ?

1. playing sounds
2. accessing system defined sounds

Regards,

---

<div class="post-metadata">

**Author:** ![pedro\_mg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/c2a13f/32.png) [@pedro\_mg](https://www.ruby-forum.com/u/pedro_mg)\
**Post date:** [February 9, 2007, 9:49pm UTC](https://www.ruby-forum.com/t/playing-defined-system-sounds/85017/2 "2007-02-09T21:49:32Z")

</div>

> Hi,
> 
> i’d like to play linux system sounds for my app events.  
> Anyone worked with this already ?
> 
> 1. playing sounds
> 2. accessing system defined sounds
> 
> Regards,

There is no “system defined sounds” for every Linux installations, since  
there  
are many desktop environment that exist. So, you have to choose one, and  
access its standards sounds via the libraries (kde libs, gnome libs,  
xfce  
libs, etc…)
