KenHayber's blog http://localhost/desktop/blog/3 ROX is a fast, user friendly desktop which makes extensive use of drag-and-drop. The interface revolves around the file manager, or filer, following the traditional Unix view that `everything is a file' rather than trying to hide the filesystem beneath start menus, wizards, or druids. The aim is to make a system that is well designed and clearly presented. The ROX style favours using several small programs together instead of creating all-in-one mega-applications. en Async python Socket Server using gobject http://localhost/desktop/node/413 <p>Recently I created a small command line python utility to process some stuff on a TCP socket connection. I used the standard python SocketServer class because it was dead simple to use for my purposes.</p> <p>However, as the requirements of the utility grew (a GUI), I hit the main problem with SocketServers - they block - which is not so good for GUIs.</p> <p>So, instead of using nasty old threading, I worked out how to use gobject.io_add_watch() to do everything in the gobject/gtk main loop. This makes it very simple to have this run in a gtk UI without needing threads.</p> <p><a href="http://localhost/desktop/node/413" target="_blank">read more</a></p> http://localhost/desktop/node/413#comments Developers Networking Mon, 07 May 2007 04:49:19 +0000 KenHayber 413 at http://localhost/desktop python-launcher http://localhost/desktop/node/381 <p>Interesting Python speedup <a href="">idea</a> seen on</p> <p>Unfortunately using it I found 2 things:<br /> 1) all existing python scripts that do /usr/bin/python or /usr/bin/env python have to be modified (?)<br /> 2) currently it seems broken for any python app that does local imports, meaning it can't find 'findrox'!!</p> <p>I may try to fix these and report later...but I wonder if this concept could be added to the Panel somehow.</p> http://localhost/desktop/node/381#comments Thu, 18 Jan 2007 15:48:46 +0000 KenHayber 381 at http://localhost/desktop SSHFS Mounts and AppDirs http://localhost/desktop/node/347 <p>I've been experimenting with a way to combine FUSE/SSHFS with ROX AppDirs and its support of mountpoints.</p> <p>I have a hackish version now that works well enough for me. Perhaps others could suggest improvements.</p> <h3>Prerequisites:</h3> <p> ROX Filer, FUSE, SSHFS, and password-less ssh access to the remote host (see ssh-keygen and .ssh/authorized_keys).</p> <p> The last part is required to keep the Filer/Desktop from hanging while waiting for a password to be entered.</p> <h3>Unmounting:</h3> <p> The standard umount command will not unmount fuse-mounted mountpoints. You need to use fusermount -u for that (or be root?). So, using the new configurable mount/umount commands in ROX-Filer 2.5, I created the following myumount command and put it in my path and set ROX-Filer to use this in place of umount.</p> <p><a href="http://localhost/desktop/node/347" target="_blank">read more</a></p> http://localhost/desktop/node/347#comments Networking Fri, 06 Oct 2006 22:11:27 +0000 KenHayber 347 at http://localhost/desktop Google Hosting http://localhost/desktop/node/332 <p>I was looking for an excuse to play with the new Google hosting service. So I put <a href="/desktop/freelinking/WiFi">WiFi</a> there - the reasoning being that it wasn't my code to begin with and if someone else wants to contribute it is a bit easier to give others access (than on my personal site).</p> <p><em>I wonder if we should put other abandoned ROX stuff there.</em></p> <p>In case you haven't checked it out (<a href="">rox-wifi</a>) they're offering a simple Home Page, Keywords, SVN access (with very simple web view), and an Issue Tracker with a very simple interface. Discussions can be linked to Google Groups.</p> <p><a href="http://localhost/desktop/node/332" target="_blank">read more</a></p> http://localhost/desktop/node/332#comments Developers Sat, 19 Aug 2006 22:32:55 +0000 KenHayber 332 at http://localhost/desktop