From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <5bb5eb6954cf188a69c95db80aff77b2@csplan9.rit.edu> References: <5bb5eb6954cf188a69c95db80aff77b2@csplan9.rit.edu> Date: Wed, 12 Aug 2009 13:20:55 -0700 Message-ID: <7d3530220908121320n5f323ae0ta7f24ebc04e1b5c8@mail.gmail.com> From: John Floren To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] rio with virtuals Topicbox-Message-UUID: 44afac40-ead5-11e9-9d60-3106f5b1d025 On Mon, Jun 15, 2009 at 3:54 PM, wrote: > I spent a couple hours this afternoon reading rio source and hacking > it to do virtual desktops. =C2=A0/n/sources/contrib/john/rio-virtual.tgz > contains the files from /sys/src/cmd/rio with my changes made. =C2=A0At > this time, there is no support for specifying the number of virtuals, > because I'm lazy--you get six and you will ENJOY IT. > A followup for anyone using rio-virtual: I did a bit of hacking today and have some updates. * Virtual desktop switching should be a bit faster thanks to a slightly smarter algorithm governing who gets drawn and who doesn't. Oh, and hiding a window, switching desktops, then switching back now leaves the window hidden, instead of drawing it again like in the old version. * The "-b 0xrrggbbFF" switch allows you to set the background color; the default is 0x777777FF, but I also like 0xBBBBBBFF, and some shades of dark red or blue can also be nice. * To get a little silly, the "-n" switch makes window borders look as close to the old 8 1/2 windows as I could easily come. The current window has 4 pixel black borders, while the other windows have one pixel black borders. The new source is still in /n/sources/contrib/john/rio-virtual.tgz. I've also put it on Bitbucket, so you can fetch it via Mercurial: http://bitbucket.org/floren/rio-virtual/ John --=20 "Object-oriented design is the roman numerals of computing" -- Rob Pike