# \[ANN\] Rumai 2.0.2

**URL:** <https://www.ruby-forum.com/t/ann-rumai-2-0-2/161484>\
**Category:** Ruby\
**Created:** [February 26, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/ann-rumai-2-0-2/161484 "2009-02-26T21:10:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [February 26, 2009, 9:10pm UTC](https://www.ruby-forum.com/t/ann-rumai-2-0-2/161484/1 "2009-02-26T21:10:32Z")

</div>

```
                        Rumai 2.0.2

         Ruby interface to the wmii window manager

            http://snk.tuxfamily.org/lib/rumai

```

Rumai is a [1]Ruby interface to the [2]wmii window manager.

Version 2.0.2 (2009-02-26)

This release fixes a connection bug.

Bug fixes

```
 * wmii omits the fractional portion of $DISPLAY in its
   socket file path. Rumai was trying to connect with the
   entire $DISPLAY value (including the fractional portion)
   and thus could not find wmii's socket file.
   Thanks to Simon Hafner for helping me debug this.

```

References

1. [http://ruby-lang.org/](http://ruby-lang.org/)
2. [http://www.suckless.org/wiki/wmii](http://www.suckless.org/wiki/wmii)

---

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [February 26, 2009, 9:59pm UTC](https://www.ruby-forum.com/t/ann-rumai-2-0-2/161484/2 "2009-02-26T21:59:33Z")

</div>

Too bad that I didn’t know of rumai back when I was actually using  
wmii. I am quite surprised though that I never came along it’s name,  
even when writing my very own Ruby frontend for wmii (which I honestly  
abandoned because I didn’t really like what wmii provided).

Would you say that rumai would change the behaviour and feeling of  
wmii in major ways, compared to ruby-wmii? Or is it more or less just  
the same result with cleaner code?

---

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [February 26, 2009, 10:46pm UTC](https://www.ruby-forum.com/t/ann-rumai-2-0-2/161484/3 "2009-02-26T22:46:37Z")

</div>

Dominik H. wrote:

> Too bad that I didn’t know of rumai back when I was actually using  
> wmii. I am quite surprised though that I never came along it’s name,  
> even when writing my very own Ruby frontend for wmii (which I honestly  
> abandoned because I didn’t really like what wmii provided).

The project was named wmii-irb in the past, and I don’t recall  
announcing it on ruby-talk back then. It was mostly discussed on the  
wmii mailing list.

> Would you say that rumai would change the behaviour and feeling of  
> wmii in major ways, compared to ruby-wmii?

Yes. Try the live demonstration (IRB session) examples in the user  
manual and see for yourself:

[rumai(1)](http://snk.tuxfamily.org/lib/rumai/#Tutorial)

> Or is it more or less just he same result with cleaner code?

Rumai is a _library_ that lets you manipulate wmii in a Ruby-ish way.  
In contrast, ruby-wmii is not a library; it is an operating environment  
(with plugins, logging, integration, etc.) for your wmii configuration  
(wmiirc).

As a result, ruby-wmii can be built atop Rumai to allow even more  
scriptability. My personal wmiirc (not ruby-wmii) does exactly that:

[http://www.suckless.org/wmii/alternative\_wmiirc\_scripts.html](http://www.suckless.org/wmii/alternative_wmiirc_scripts.html)

Cheers.

---

<div class="post-metadata">

**Author:** ![snk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d9b06d/32.png) [@snk](https://www.ruby-forum.com/u/snk)\
**Post date:** [February 28, 2009, 3:10am UTC](https://www.ruby-forum.com/t/ann-rumai-2-0-2/161484/4 "2009-02-28T03:10:03Z")

</div>

On [Fri, 27.02.2009 06:45], Suraj K. wrote:

> Cheers.  
> I am so going to try this out as soon as I find some time.  
> Thank you very much
