The first step to adding RazorSQL to the Ubuntu menu launcher is to make a slight modification to the script that is located in the base RazorSQL directory.

The file needs an additional line added prior to the line that looks like the following:

./jre/bin/java -Xms64M -Xmx384M -client -jar razorsql.jar

The following line needs added directly before this line. Make sure that the directory path matches the location where you extracted the RazorSQL Linux zip file. In this example, RazorSQL was extracted to the Desktop of the user "testuser".

cd /home/testuser/Desktop/razorsql

After the .sh file is modified, right-click on an empty space on the toolbar at the top of the Ubuntu desktop.

Select the "Add to Panel" option.

Select "Custom Application Launcher"

In the type dropdown, select "Application in Terminal"

For the name, enter a name such as RazorSQL.

For the Command, browse to the newly modified file.