TortoiseBZR-Style Right-Click Menus in KDE

I think most folks are probably well aware of the Windows Subversion client, TortoiseSVN. It has been around for a number of years, and is easily one of the most handy version control clients on any platform.

Recently, I have been wanting to be able to do the same thing in Linux. Simply right-click and update. Sure I can use the command line, and sure I could even use Bazaar Explorer, but I don't always have a terminal open, and Bazaar Explorer doesn't work with files as much as workflow, and that doesn't always fly.

So, I started looking around to find out how I could edit Konqueror or Dolphin's context menu, or "service menu" as it is known in FreeDesktop terms. After much hunting, looking at existing service menu files, I was able to put together a submenu for QBazaar, the Qt dialogs for Bazaar (the same dialogs that get used in TortoiseBZR, in fact).

You can get my QBazaar.desktop file from the Scripts & Programs section on my blog. Once you have downloaded it, you need to copy it into the following location:

~/.kde/share/kde4/services/ServiceMenu

Note: The capitalisation is required, so don't make "ServiceMenu" all small letters.