# Dbus bindings

**URL:** <https://www.ruby-forum.com/t/dbus-bindings/99419>\
**Category:** Ruby\
**Created:** [July 22, 2006, 2:58pm UTC](https://www.ruby-forum.com/t/dbus-bindings/99419 "2006-07-22T14:58:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyal\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7ba0ec/32.png) [@Eyal\_O](https://www.ruby-forum.com/u/Eyal_O)\
**Post date:** [July 22, 2006, 2:58pm UTC](https://www.ruby-forum.com/t/dbus-bindings/99419/1 "2006-07-22T14:58:05Z")

</div>

Hi,

I’d like to use dbus from ruby, I found dbus-ruby [1] but it seems old  
(01/2005) and deserted. It does not compile on my Ubuntu system; I think  
because the dbus api changed significantly and dbus-ruby is no longer  
compatible.

Does anyone know how to get dbus working from ruby?

-eyal

[1] [http://rubyforge.org/projects/dbus-ruby](http://rubyforge.org/projects/dbus-ruby)

---

<div class="post-metadata">

**Author:** ![Eyal\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7ba0ec/32.png) [@Eyal\_O](https://www.ruby-forum.com/u/Eyal_O)\
**Post date:** [July 24, 2006, 3:23am UTC](https://www.ruby-forum.com/t/dbus-bindings/99419/2 "2006-07-24T03:23:43Z")

</div>

Hi Eyal,

I had a look at this a few weeks ago and yes the dbus api seems to  
have changed a lot. Some of it is simply a matter of renaming some  
constants/functions and I did get a version that _almost_ worked, but  
I got distracted before I got it finished. Unfortunately I don’t have  
time to go back to it now, but I would be interested if you or anyone  
else can get this working again. Sorry not to be more help.

On 22 Jul 2006, at 21:55, Eyal O. wrote:

> [1] [http://rubyforge.org/projects/dbus-ruby](http://rubyforge.org/projects/dbus-ruby)

Dr Alex G.  
Post-Doctoral Researcher

Bioinformatics Center  
Institute for Chemical Research  
Kyoto University  
Gokasho, Uji, Kyoto 611-0011  
Japan

---

<div class="post-metadata">

**Author:** ![Eyal\_O](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/7ba0ec/32.png) [@Eyal\_O](https://www.ruby-forum.com/u/Eyal_O)\
**Post date:** [January 21, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/dbus-bindings/99419/3 "2007-01-21T21:16:14Z")

</div>

Eyal O. wrote:

> Hi,
> 
> I’d like to use dbus from ruby, I found dbus-ruby [1] but it seems old  
> (01/2005) and deserted. It does not compile on my Ubuntu system; I think  
> because the dbus api changed significantly and dbus-ruby is no longer  
> compatible.
> 
> Does anyone know how to get dbus working from ruby?

I’m also looking for a way to use dbus from Ruby. Since a lot of  
applications under Linux (GNOME, KDE, and more) are starting to provide  
information and control this way, there’s a lot of cool things possible,  
and of course I’d like to use ruby for this. 🙂

Dbus is looking to be a really important technology on Linux and  
possibly other \*nixes (and there’s even a Windows port now).

Here’s to hoping someone has the time to update the bindings…

– Stoffe
