Lighthouse theme for Trac

Lighthouse is “beautifully simple issue tracking” (a hosted bugtracker to you and me). It looks great and is pretty much a joy to use.

At work we use Trac. Trac is a locally-installed bugtracker (plus wiki and source browser). It looks like a nightmare and there are parts which make the baby Jesus cry[1].

With that in mind, here is a greasemonkey script that makes Trac look like Lighthouse. It turns this:


into this:


(ticket titles hidden to protect the innocent!)

So far it has made my Trac usage much more enjoyable. I should point out that this is a tribute to Lighthouse, and I’ve not copied any of their actual CSS or images.

Be warned that it dials once every two weeks to see if there’s an update (since I’m sure there’s loads of things that I’ve missed and will fix as I go). To disable that, just remove lines 11-15 (the call to autoUpdateFromUserscriptsDotOrg).

We also use a couple of other simple Greasemonkey scripts for Trac at work (most of which are on our wiki here). A number of them were learning exercises, so YMMV. Caveat installer 🙂

[1] Of course, I do actually like Trac, or we wouldn’t be using it. It’s a great tool with excellent extensbility and plugins, but the UI could definitely do with some love!

Published by

6 thoughts on “Lighthouse theme for Trac”

  1. Thanks for this great work. I actually liked this script a lot!

    The only weird thing I found is that it sets “#ticket .description h3” and “#content #newticket label[for=type], #content #newticket #type” to display:none…

    Had to edit the script to get then back. Here’s my h3:

    #ticket .description h3 {
    color: #006699;

    font-size: 1.0em;

    border-bottom: 1px solid #006699;

    display: block;


  2. Hello again!

    I have ended up making another small tweeks to the script CSS. In case you want to check them out just let me know and I’ll sent the modified script to you.

    Things I’ve touched:
    * h3 was hidden
    * ticket type was hidden
    * textarea width
    * cooler and smaller layout for the ticket properties table layout
    * cooler layout for tables inside the ticket description
    * added a definition list layout
    * wiki content h1, h3…

  3. Hi. I have a problem. My greasemonkey doesnt recognize the script. It shows “No scripts installed” when I visit trac site. I would be very thankful if you can help me with that.

    Best regards,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.