2

I've installed BlueGriffon on Ubuntu 13.04 x64bit. I've add it to Unity Launcher by creating a "bluegriffon.desktop" file. Now I want to launch bluegriffon directly from terminal; assuming that the prgram folder is on the path /home/username/programs/bluegriffon and assuming that the laucher's file name is bluegriffon, which code I have to add to .bashrc and .profile?

Note: I tried to add PATH to .profile, but it doesn't work.

0

2 Answers 2

6

You can add symbolic link to /bin or /usr/local/bin for executable file. For example:

ln -s /home/username/programs/bluegriffon/EXECUTABLE.sh /usr/local/bin/bluegriffon
1

To launch it from the terminal by entering its name only (in this case 'bluergriffon') you will need the program's folder in your path. The path is set using the PATH environment variable and you can add the following to .profile to set it:

export PATH=$PATH:/home/username/programs/bluegriffon

This appends the new folder to the existing value of the PATH variable so you don't lose the existing contents.

The 'export' command makes the value of the environment variable available to subprocesses.

Hope that helps.

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.