Saturday, February 4, 2012

Create SMath launcher in Unity Environment (Ubuntu)

SMath requires mono to run. Running SMath from the terminal by typing a typical command
mono /folderlocation/SMathStudio_Desktop.exe

The following steps create an SMath launcher on unity desktop. Running SMath can be just clicking the launcher.

Step 1 - Installation gnome-panel
Open Ubuntu terminal: Ctrl+Alt+T
~$ sudo apt-get install gnome-panel

Step 2 - Create launcher using gnome-panel
~$ gnome-desktop-item-edit ~/Desktop/ --create-new
Name:       SMath
Command: mono /home/SMath091/SMathStudio_Desktop.exe

/home/SMath091 is the path location of the executable file SMathStudio_Desktop.exe

Confirming OK will create an icon on your desktop.
 Step 3 - Change icon with SMath icon
  • Download SMath icon svg image (smath.svg) from this link and save in a folder
  • Right click the smath icon on your desktop then select properties
  • Click the icon, go to the folder where you save smath.svg
  • Now running SMath is just clicking this SMath icon.