run Smartgit in Ubuntu 13.04

20,028

Solution 1

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.

Solution 2

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 smartgithg.sh you can find add-menuitem.sh. To install Smartgit you can run it once by doing:

  • cd smartgithg-4_5_5/bin
  • sudo ./add-menuitem.sh

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 ./remove-menuitem.sh

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

Share:
20,028
nasirkhan
Author by

nasirkhan

I am a software engineer, with more than 8 years experience in developing custom web applications for government and number of other companies. I have experiences in developing applications with large data volume and high traffic.

Updated on September 18, 2022

Comments

  • nasirkhan
    nasirkhan over 1 year

    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 smartgithg.sh 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.

    • Kvvaradha
      Kvvaradha over 7 years
      I have written the installation steps in my blog. kvcodes.com/2016/03/install-uninstall-smartgit-ubuntu
    • nasirkhan
      nasirkhan over 7 years
      Thanks for the link. Actually SmartGit is releasing .deb packages which is easy to install than the other packages.
  • nasirkhan
    nasirkhan almost 11 years
    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
  • Mike L.
    Mike L. almost 11 years
    The auto-update feature also works when launching bin/smartgithg.sh directly.
  • PhatHV
    PhatHV almost 10 years
    It works for ubuntu 14.04. Thanks you.