From owner-freebsd-questions@FreeBSD.ORG Fri Apr 27 19:58:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 427F11065677 for ; Fri, 27 Apr 2012 19:58:10 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id EBDE08FC12 for ; Fri, 27 Apr 2012 19:58:09 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SNrIs-00015i-Rz for freebsd-questions@freebsd.org; Fri, 27 Apr 2012 21:58:06 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Apr 2012 21:58:06 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Apr 2012 21:58:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Date: Fri, 27 Apr 2012 19:57:54 +0000 (UTC) Lines: 49 Message-ID: References: <20120426104323.000031e3@unknown> <20120426184135.51e54718@atomizer64> <20120427070759.000019f7@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.135 (Tomorrow I'll Wake Up and Scald Myself with Tea; GIT 30dc37b master) Subject: Re: Python module wnck? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2012 19:58:10 -0000 On Fri, 27 Apr 2012 07:07:59 -0400, Rod Person wrote: > On Fri, 27 Apr 2012 03:54:29 +0000 (UTC) > Walter Hurry wrote: >> >>> >> >>> How many of the screenlets actually work? When I was working on >> >>> this I found that a number of them where too linux specific to >> >>> work. I have a screenshot of the sticky note and weather working >> >>> but that's about all I can recall working. >> >> >> >> I only wanted three: Clock, ClearCalendar and ClearWeather. They >> >> work perfectly. I haven't tried any of the others. >> > >> > Consider making a port. Clearly there is some demand. >> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/ >> >> For the Python wnck module, or for screenlets? I'm afraid that >> technically I am well short of the ability to do either. I am more than >> willing to help anyone who elects to so, though. >> >> Incidentally (and this is addressed to Rod mainly), the ClearWeather >> module was broken. I had to hack it a bit to get it to work properly. >> It got confused over proxies, but since I am not unfamiliar with >> Python, that presented no difficulty. >> >> > Creating a port itself is rather simple...it the porting of the code > from Linux to FreeBSD that is the hard part. I have one official port > that I made as a way to brush off my C skills, it works but it was hell > getting some of the Linux specific translated but thanks to one of the > committers it got cleaned up... > > But anyway, the issues with screenlets is getting any of the screenlets > that interface with the system to work such as Mount, MyIP, Netmonitor > or the CPU Meter, when I tried this with FreeBSD 7.2 none of them worked > because of all the Linux device names. > > If you know python this should not be too hard just time consuming. The > only reason I stopped working on this was I moved from using OpenBox to > using the i3 window manager. > > I can check around and see if I still have any thing I worked on laying > around but I'm not sure about that...I changed hard disks since then. > > I do love python so I would not be adversed to working on some of the > individual screenlet modules. Thanks for the encouragement, but my skills really are not up to that. Cheers, anyway.