personal pages

crb3's gui stuff

back to the front

Here are GUI-based tools I've written in Perl/Tk and Gtk/Gnome1. They're nothing major, but they were written to need and they're useful.

 

amsFE

amsFE is a Perl/Tk front-end for allmailscan (over in the mail section) with commands useful for cleaning up after a spammer has figured out a new way to get past the filters. Before writing this, I'd have allmailscan|less in one xterm and ytree in another and do the serial-number correlation myself, so it was one of those eye-wearying jobs to be put off as long as possible... But, of course, the longer a false-negative spam sits in /new instead of being fed to sprobe_learn, the more likely it is that some more of the same will slip through into that or other accounts, so it's not the sort of cleanup job to be left for the weekends.

In a user-account, amsFE displays that user's Maildir; in root, it displays all Maildirs. Either way, you tag relevant mails for deleting or moving (the default move, from /new to /qrm, uses dqrm to set things up for an sprobe_learn run), viewing as needed to judge. Hit Go to iterate through the tags and exit; or Apply to iterate through the tags and reload with new current Maildir contents, then change the XFR: dir and do some more weeding.
After awhile, the spams are getting filtered correctly the first time, so they stop showing up in /new in the first place. Meanwhile, there's real mail to be moved off into relevant directories (firewall logcheck reports, etc.), and that's why amsFE will also accept an absolute path to move stuff to, not just a relative location within a Maildir setup.

amsFE's main window
amsFE Main window.
With keybindings as well as buttons, however you prefer to tag.
amsFE's view window
amsFE View window, straight text, headers and all.
All text here is from my spam-bucket, for display purposes, and
perhaps annoying spammers that I got some use from their spew.
 

kitchentimer

kitchentimer is a Gtk/Gnome1 app that looks and acts like one of those LCD-and-keypad electronic kitchen timers. At right are its main window and its config window. Once you've got it set up, in most cases you don't have to bring up the config window at all.

It's configurable enough to use whatever noisemakers you've got in your system, and it's scriptable. These screenshots are from a system where both Gnome and KDE are installed and kitchentimer runs happily under KDE. I generated some appropriate-sounding WAV files for it with vcftools; they're included in the tarball.

lsm

kitchentimer main window
kitchentimer main window
kitchentimer config window
kitchentimer config window

ktimer

ktimer was the first version. It's in Perl/Tk, so it can run on a much wider range of platforms than kitchentimer. Other than bringing up an instance of the Perl interpreter with every instance of itself, which threatened to load down my old-and-slow kitchen computer when I ran more than a few instances at once, it works fine. It even changes the button's legend to show what clicking it will do, which is something I couldn't easily figure out how to do in Gtk in the time I was willing to spend.

ktimer screenshot
ktimer's window.
All config is in the script itself, but the relevant options
are now commandline-scriptable.
personal pages