The website of an inventor and tech enthusiast.

How to add a launcher for CamBam in Ubuntu

This is how to add an launcher for CamBam in Ubuntu (works for most other Linux distributions as well).

First install Cambam according to this instruction.

Create a file called cambam.sh in a convenient location (e.g. /home/username/CamBam0.9.8) with the following content.

#!/bin/sh

cd "/home/username/CamBam0.9.8" # Replace with the location where you
                                # installed CamBam.
mono CamBam.exe

Make the file executable

chmod +x /home/username/CamBam0.9.8/cambam.sh

Save a nice PNG image file to /home/username/CamBam0.9.8/cambam.png for use as an icon for the launcher. 48x48 px is a good size.

Create the file /home/username/.local/share/applications/cambam.desktop with the following content. Adjust paths according to your particular locations.

[Desktop Entry]
Type=Application
Version=1.0
Name=CamBam
Exec=/home/username/CamBam0.9.8/cambam.sh
Path=/home/username/CamBam0.9.8
Terminal=false
Icon=/home/username/CamBam0.9.8/cambam.png
Categories=Graphics;

Done! CamBam should now show up in the launcher.

Tags