Re: Help with a tcl/tk gui thing..
From: Mikael Magnusson <hidden>
Date: 2016-06-15 22:45:26
2008/10/2 Linus Torvalds [off-list ref]:
On Wed, 1 Oct 2008, Mikael Magnusson wrote:quoted
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