From: Mikael Magnusson Date: Thu, 02 Oct 2008 05:18:15 GMT Subject: Re: Help with a tcl/tk gui thing.. Message-ID: <237967ef0810012218i28d41573s6bb7866e0be485f2@mail.gmail.com> In-Reply-To: 2008/10/2 Linus Torvalds : > > > On Wed, 1 Oct 2008, Mikael Magnusson wrote: >> >> git clone git://mika.l3ib.org/tracker.git >> >> I wrote it in pygtk since I know zero to no tcl/tk, hope that's okay. >> It has a label with the time remaining (simply read from the daemon file), >> and shows the text in red if less than 10% is remaining. You'll need to >> change the ./ in cb_function to /var/log/tracker since I forgot to change >> that and I'm lazy :). > > Well, it doesn't do anything at all for me except change the cursor to a > cross, and if I'm a n00b with tcl/tk, I'm even more of one with pygtk. > > I merged the two other suggestions, though. And am open to seeing that > pygtk thing too as an alternative, but only if it actually works for me ;) Heh, sorry, I'm an idiot. I forgot to put '#!/usr/bin/python' on the first line. I was running 'python tracker-ui.py' then did chmod +x just before committing :). So the cross is coming from running 'import time'. -- Mikael Magnusson