On Thu, Jul 10, 2008 at 12:42 AM, paresh mathur
<[EMAIL PROTECTED]> wrote:
> Well although there are many WM around but i want an non existant mix. If i
> manage to do that i dont think that there would be anyone else in the whole
> world interested in it. I use ratpoison as my WM. Which is a tiling window
> manager totally keyboard driven. But it does nothing fancy (i dont blame the
> devs its there philosophy to keep it simple). But i want an tiling window
> manager which can do some fancy stuff like the compiz things. Like when i
> try to change the window or frame i sould get some animation. Wobally
> windows should be good.
>
> As rubly is the only good language i know expt c++. I just wanted to check
> if i can get the ease of ruby in my WM. If I could use ruby it would be
> better than c++. Thats why i just kind of asked

If you're using ratpoison anyway, check out wmii-3, which has ruby scripting
(http://redhanded.hobix.com/inspect/aFewWmii3Hacks.html for instance).
Won't get you compizlike effects, but you can do some neat stuff with
layout management etc.

martin

>
>
> On 7/10/08, Bram Senders <[EMAIL PROTECTED]> wrote:
>>
>> On Tue, Jul 8, 2008 at 6:48 PM, paresh mathur <[EMAIL PROTECTED]>
>> wrote:
>> > I know it sounds far fetched, but i was just wondering while playing
>> > with
>> > shoes. Is it practically possible to write a whole Window Manager in
>> > shoes
>> > or for that matter any other library of ruby.
>>
>> You need to do a lot of low-level Xlib stuff to write a window manager
>> (at least, if you are talking about a window manager in the X11
>> sense), and although there are some Ruby bindings for Xlib
>> (http://raa.ruby-lang.org/project/ruby-xlib/,
>> http://raa.ruby-lang.org/project/ruby-xlib-wrap/), they seem kind of
>> stagnant and old.  It should be theoretically possible to write a WM
>> using that, although I don't think using Shoes for the graphical stuff
>> would be feasable (I don't think there are methods to embed random X
>> windows into a Shoes app).
>>
>> Might I ask what you are looking for in a window manager that you are
>> wanting to write it yourself, given that there are already hundreds of
>> WM's out there?
>>
>> Ciao,
>> Bram
>
>

Reply via email to