Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have downloaded a Smartgit 4.5.5 and trying to use in Ubuntu 13.04. But the problem is when i double click on the script it opens on the Gedit. On the previous versions of ubuntu i did not face this issues.

In the previous versions, when i double click on the script it shows me few options like 'Run', 'Run in terminal', 'Close' and so on.

here i would like to mention that the execution permission is enabled for this script. and i can run the script via terminal.

share|improve this question
up vote 2 down vote accepted

As my blog post here suggests

  1. Open file explorer Files.
  2. Press Alt+F10 and select Preferences.
  3. It would show something like this.

    enter image description here

  4. In the Behavior tab, select Run executable text files when they are opened and close it.
share|improve this answer
thanks for the solutions, it works :) – nasirkhan Jun 18 '13 at 18:25

It's worth knowing that Smartgit can be installed on ubuntu - I heavily use it in Ubuntu 13.04 and 14.04 - like it was a native app (as it was installed from the Software Center).

In fact, in the same folder where you find you can find To install Smartgit you can run it once by doing:

  • cd smartgithg-4_5_5/bin
  • sudo ./

After that you can find Smartgit in the unity list of programs (just type Super and write "Smartgit"), and you can add it on the launcher.

This type of installation has also the advantage that Smartgit downloads and install the last version automatically when an update comes out, so you don't need to uninstall and re-install the new version anymore.

If you want to remove Smartgit run the commands:

  • cd smartgithg-4_5_5/bin
  • sudo ./

and remove the folder smartgithg-4_5_5. Hope that helps.

share|improve this answer
from the previous answer, no i know what was the reason of the changed behavior and i liked this solutions and using this way. thanks – nasirkhan Jun 18 '13 at 18:29
The auto-update feature also works when launching bin/ directly. – Mike L. Jun 22 '13 at 9:25
It works for ubuntu 14.04. Thanks you. – PhatHV Jun 19 '14 at 2:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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