Trying my hand at developing & bug fixing

WARNING: I am NOT a developer

with menu icons

One of the first applications I like to install on a fresh build of ubuntu is called gSTM or “Gnome SSH Tunnel Manager”. This allows me to setup and enable multiple ssh tunnels to/from different places with the click of a button. It provides a nice notification area icon which I can click and see at a glance all the tunnels I have preconfigured. In this same dialog box it shows the connection status of each tunnel indicated by a red(off) green(on) or yellow(?) icon to the left on the tunnel name.

Since Ubuntu 9.10, these status indicator icons are broken by default and need to be turned on by enabling “show menu icons” in the interfaces tab in the appearance preferences. Now with Ubuntu 10.04, this option has been removed from the preferences completely breaking the icons with little to no recourse(yes we can use gconf, I shouldn’t have to!).

Upon discussing (read: complaining) this problem with some of the Gnome community, I have been told that the use of these menu icons in this manner is incorrect and show be done by other means.

I plan to figure out the correct way to show these icons and resume functionality to this application and try to document my journey on here.

  • Step #1 Try to contact original developer: – fail. The contact the developer link on sourceforge gave me a bounceback email.
  • Step #3 Download the source code. – I originally downloaded the tarball from sourceforge. The problem with this is, there’s no debian directory and other magic bits to allow for easy packaging for debian/ubuntu which I would like to do in the end. I then downloaded the source in ubuntu using “sudo apt-get source gstm” which downloads all the source files to /usr/src/gstm1.2 including the packaging bits. And then I remembered about this whole Opportunistic developers thing and more specifically Ground Control by Martin Owens. I already had this installed so I just searched for “gstm” and downloaded the project and what I THINK is the correct branch to work from (gstm 1.2).

I’ve briefly looked at the icons it uses (green.xpm red.xpm yellow.xpm) and grepped for mentions of them in the code. So far i’ve come up with main.c and fniface.c.

Tonight I might try my hand at using one of the other applications mentioned in Jono’s Opportunistic Developer post called Quickly to see if I can import this project and see how it interacts with this developer environment.

continue on to part 2

  • Pingback: Fix My Website()

  • Pingback: My first bug fix « leftyfb's Blog()

  • Pingback: Absolutely Magic | Anti-Aging Blog()

  • jmarkcrowley

    Great to see people showing initiative in areas like this. I'm a fan of gSTM and lookforward to seeing your fix.

    Hope you did not loose too much time trying to round-peg,square-hole “quickly” into the equation…

    • Nope, figured out quickly wasn't the right fit after about 20 minutes of messing around and reading documentation more in depth.

      Don't forget to read the next post which is the conclusion to this bug fix 🙂

  • Mike,

    I'm also not a developer, but this application looks neat enough (and hopefully simple enough) for me to be interested in helping too.

    Let me know if you start a project on launchpad, and I'll check out the code and see if I can help indentify the problems – and hopefully help fix them.


    • Andy,

      Thanks for the offer to help. I will certainly take you up on it on future endevours. For this bug, I have spent the night and accomplished fixing the bug and submitting the fix to the launchpad project page. See my next post for more details:

  • linux000

    Where did you find the dev's email?(step 1)

    • I didn't find the email address directly. Sourceforge has a mechanism to contact the developer via email. I posted to this mechanism and soon after received an email bounceback that the email address didn't exist.

      • linux000

        Because the email is also under debian/control in the source, next to maintainer.

  • shanefagan

    You cant really import to would have to start a new quickly project and paste in the code. The packaging and distribution make it so worth it though 🙂

    • yeah, I found that out pretty quick{pun}. What code am I pasting in and where?

      • shanefagan

        Well you just need to go through the source and figure it out. It really depends on what you have to do.

    • nevermind. Quickly is useless for this journey of mine. At the moment, it's only useful for someone wanting to build a quick application based on python. Not for editing existing C source code.

  • Pingback: Mike Rushton: Trying my hand at developing & bug fixing | TuxWire()