[git] How to change SmartGit's licensing option after 30 days of commercial use on ubuntu?

while installing smartgit 3.0.4 I checked the commercial licensing option, because I was just clicking "next" button : ) (30 day trial and then you have to buy it). Now today is my 31st day of using SG and I can't change my licensing options (reinstalling smartgit doesn't help) and I'm not able to use SG anymore without paying (I'm not using it for commercial purposes). Do you know how to fix it?

I don't have these files on my ubuntu: http://www.syntevo.com/smartgit/documentation.html?page=installation

This question is related to git smartgit

The answer is


OSX

cd ~/Library/Preferences/SmartGit/
sed -i '' '/listx/d' ./*/preferences.yml
rm */license

Windows portable path to preferences.yml:

SmartGit\.settings\preferences.yml

Starting from version 19.1 they have renamed filenames:

? SmartGit grep -rl 'listx' ./19.1
./19.1/preferences.yml
./19.1/.backup/preferences.yml

It is possible to delete them to reset the license setting.


just delete the settings.xml and try againn to setup smartgitHg


My own solution on Linux (under ~/.config/smartgit/19.1) is to comment or remove line listx from preferences.yml file and reopen program.

Deleting the all folders will make you reconfigure everything (useless).


Here is a solutions for MAC PC:

Open terminal and type following command to show hidden files:

defaults write com.apple.finder AppleShowAllFiles YES

after that go to current user folder using finder, then you can see the Library folder in it which is hidden type

suppose in my case the username is 'Delta' so the folder path is:

OS X: ~Delta/Library/Preferences/SmartGit/<main-smartgit-version>

Remove settings file and change option to Non Commercial..


For mac users: in new version there is no setting.xml, alternate way is to

navigate to SmartGit preferences folder using terminal

cd /Library/Preferences/SmartGit/

use ls command to see list of folders .. simply delete SmartGit version folder you find using command rm -r <main-smartgit-version> and reopen the SmartGit app. :)


I deleted the entire Config folder but preserved the files repositories.yml repository-cache repository-grouping.yml. after running SmartGit, it created the config folder (i think it used the config from an older build (to save things like my git credentials)), then i copied back my three files and i had all my repositories which is the most important info i needed.


it would be helpful to know if you use linux or windows. in linux the settings are located in ~/.smartgit/3. You could try to remove this folder. Imho this is also worth a try in Windows.


Newest versions of SmartGit contain settings under installation folder. So to reset trial go to the install folder, ex:

C:\Program Files\SmartGit

and remove(rename) the .settings directory


on Mac:

  • First goto ~/Library/Preferences/SmartGit/19.1
  • Second goto preferences.yml file and just comment listx line
  • Third open smart git

new 2021 hack for Mac:

  • First goto ~/Library/Preferences/SmartGit
  • Second delete whatever version do you have i have deleted the whole 20.1 version folder
  • Third open smart git

I use linux and the answers did not help me.
I had to erase the folder ~/.config/smartgit to make it work again. This is what the documentation is saying

Default Location of SmartGit's Settings Directory
Windows %APPDATA%\syntevo\SmartGit\ (%APPDATA% is the path defined in the environment variable APPDATA)
Mac OS ~/Library/Preferences/SmartGit/ (the Finder might not show the ~/Libraries directory by default, but you can invoke open ~/Library from a terminal)
Linux/Unix ${XDG_CONFIG_HOME}/smartgit/ (if the environment variable XDG_CONFIG_HOME is not defined, ~/.config is used instead)


For 19.1 above on Linux,

Close the App or any window of Smartgit

Go to:

/home/[USERNAME]/.config/smartgit/[CURRENT OR LAST VERSION]

open the file:

preferences.yml

Search for:

"listx: {" in this file

You will find something like this:

listx: {ePP: 1607503071922, eUT: -9223377036854775808, nRT: -9223377036854775808, eV: '20.1', uid: emobf7q63s83}

So now all you need is delete the string inside the {} So it will be like this:

listx: {}

Now save the file and start Smartgit. You will have all repositories and other preferences and you will be asked for set the type of license.


I also raced through the first install on ubuntu and selected the default 30 day trial version instead of the non-commercial version.

There is a blog on the syntevo site that addresses this issue.

After unpacking the tar file I had a dir called smartgithg-4_0_3. I moved this folder to my home directory and renamed it smartgit. After running ./bin/smartgithg.sh, another folder was created called .smartgit (note the . prefix).

I simply deleted the .smartgit folder (the dir tree with all the .xml files) and ran the ,/bin/smarthg.sh script again. The whole install process is repeated. Select the non commercial option when it appears.


Working fine for windows by navigating to %APPDATA%\syntevo\SmartGit\ and delete all settings.xml, then open the installed software


For version 19.1 and above goto specified directory and delete these mentioned files:

  1. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\20.1<smart-git-version>

    • preferences.yml
    • license file
  2. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\20.1\.backup

    • preferences.yml

For the previous version goto specified directory and delete mentioned file:

  1. C:\Users\UserName\AppData\Roaming\syntevo\SmartGit\17<smart-git-version>

    • setting.xml

I have been using windows for the last 13 years. I found this solution to be truly working for me. I recommend you to follow these steps:

  • let's start by deleting this folder C:\Users\Your-name\AppData\Roaming\syntevo

  • Completely uninstall smart git from the control panel, uninstall programs.

  • Again re-install the smart git and change the default position of installing directory.

  • While configuring smart git, make sure that the non-commercial option is selected that will help you to use the latest as well as a free version for lifetime.