Reset trial phpstorm linux

-->
Copy link mauricioprado00 commented Mar 31, 2023 for linux: # create a new user sudo useradd -m myphpstormuser # allow other users to run things on :0 display sudo xhost + # start user session sudo -i -u myphpstormuser # run phpstorm /opt/phpstorm/bin/phpstorm then you will need to register a user :/ with a new email address. Источник
  • mauricioprado00 commented Mar 31, 2023
  • Saved searches

    Use saved searches to filter your results more quickly

    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

    This script allow linux user to reset trial license.

    antare74/jetbrains-reset

    This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

    Name already in use

    A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

    Sign In Required

    Please sign in to use Codespaces.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching GitHub Desktop

    If nothing happens, download GitHub Desktop and try again.

    Launching Xcode

    If nothing happens, download Xcode and try again.

    Launching Visual Studio Code

    Your codespace will open once ready.

    There was a problem preparing your codespace, please try again.

    Latest commit

    Git stats

    Files

    Failed to load latest commit information.

    README.md

    Jetbrains reset Trial Linux, include (PHPSTORM,WEBSTORM, PYCHARM, RIDER, CLION, DATALORE, DATAGRIP, RUBYMINE, APPCODE, GOLAND) work for version < 2021.2

    This script allow linux user to reset trial license in 3 steps.

    2. cd to downloaded repository

    3. run: /bin/bash /path/to/start.sh

    If you want this script run automatically, you can simply following steps bellow:

    2. add this code: 0 12 */25 * * /bin/bash /home/user/path/to/start.sh

    Your script will automatically run At 05:00 AM, every 25 days.

    About

    This script allow linux user to reset trial license.

    Источник

    Сброс триала в PhpStorm и WebStorm 2022.2 на Windows и Ubuntu

    Для сброса триала необходимо выйти с текущего аккаунта JetBrains и создать новый.

    Выходим с аккаунта JetBrains

    Для создания нового аккаунта нужна почта. Что бы не плодить почтовые ящики можно воспользоваться анонимайзером у mail.ru

    Анонимайзер Mail.ru

    Закрываем PhpStorm или WebStorm.

    Для Windows
    Запускаем JetBrainsEvaluationReset.bat от имени администратора.

    Для Ubuntu
    Файлу JetBrainsEvaluationReset.sh даем разрешение на запуск и выполняем скрипт.

    chmod +x ./JetBrainsEvaluationReset.sh ./JetBrainsEvaluationReset.sh

    Скрипт вычищает триал

    После выполнения скрипта запускаем PhpStorm или WebStorm, заходим под новым аккаунтом и активируем пробную версию.

    Активируем пробную версию

    Радуемся 30 дней и повторяем операцию. Данный скрипт также чистит триал и для плагинов.

    Источник

    tmsperera / evaluation-reset.sh

    This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters

    for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine ; do
    echo » Resetting trial period for $product «
    echo » removing evaluation key. «
    rm -rf ~ /.config/ $product * /eval
    # Above path not working on latest version. Fixed below
    rm -rf ~ /.config/JetBrains/ $product * /eval
    echo » removing all evlsprt properties in options.xml. «
    sed -i ‘ s/evlsprt// ‘ ~ /.config/ $product * /options/other.xml
    # Above path not working on latest version. Fixed below
    sed -i ‘ s/evlsprt// ‘ ~ /.config/JetBrains/ $product * /options/other.xml
    echo
    done
    echo » removing userPrefs files. «
    rm -rf ~ /.java/.userPrefs

    @skalibog would be nice, will be waiting for it !

    @skalibog Could you share your solution ?

    @VladimirXIV @apsylone Sorry guys, i was sick over half year.

    #!/bin/bash for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine Rider; do echo "Closing $product" ps aux | grep -i MacOs/$product | cut -d " " -f 5 | xargs kill -9 echo "Resetting trial period for $product" echo "removing evaluation key. " rm -rf ~/Library/Preferences/$product*/eval # Above path not working on latest version. Fixed below rm -rf ~/Library/Application\ Support/JetBrains/$product*/eval echo "removing all evlsprt properties in options.xml. " sed -i '' '/evlsprt/d' ~/Library/Preferences/$product*/options/other.xml # Above path not working on latest version. Fixed below sed -i '' '/evlsprt/d' ~/Library/Application\ Support/JetBrains/$product*/options/other.xml echo done echo "removing additional plist files. " rm -f ~/Library/Preferences/com.apple.java.util.prefs.plist rm -f ~/Library/Preferences/com.jetbrains.*.plist rm -f ~/Library/Preferences/jetbrains.*.*.plist echo "restarting cfprefsd" killall cfprefsd echo "That's it, enjoy ;)" 

    unfortunately this doesn’t work

    this doesn’t work for 2022

    Would be great if there was a working solution for 2022 version

    If i don’t mistake, required JetBrains account for trial in 2022 version of RubyMine.
    I was dowload RubyMine 2021.1.3 and run my script

    For linux users(dont working on MacOS), and RubyMine max version => 2021.1.3

    for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine; do echo "Resetting trial period for $product" echo "removing evaluation key. " rm -rf ~/.config/$product*/eval # Above path not working on latest version. Fixed below rm -rf ~/.config/JetBrains/$product*/eval echo "removing all evlsprt properties in options.xml. " sed -i 's/evlsprt//' ~/.config/$product*/options/other.xml # Above path not working on latest version. Fixed below sed -i 's/evlsprt//' ~/.config/JetBrains/$product*/options/other.xml echo done echo "removing userPrefs files. " rm -rf ~/.java/.userPrefs 

    rm -rf ~/.config/$product*/eval — this doesnt work, ’cause folder «eval» is not exist
    I am using phpstorm 2022.2

    Yes it replys jetbrains account in 2022 version.

    Unfortunately, it doesn’t work.
    Ubuntu 20.04.5 LTS
    PhpStorm 2020.3

    #!/usr/bin/env zsh # Description: Reset JetBrains IDE Product Trial # # Requeriments: # - JetBrains IDE Product # - unix system; # - zsh; # # How to use: # 1 - Get organized! Install all JetBrains products you use and run this script so that all evaluation dates are reset. # 2 - Put this script in Cron and program it to run on the date that the products will expire. ### other.xml ## Listing others=$(ls $HOME/.config/JetBrains/*/options/other.xml 2> /dev/null) ## Change/Remove if [[ ! -z $others ]]; then for other in $others; do sed -i 's/evlsprt//' $other # # You can choose to remove instead of change in the line below; # rm -rf $other done fi ### .key ## Listing .key keys=$(ls $HOME/.config/JetBrains/*/eval/*.key 2> /dev/null) ## Remove if [[ ! -z $keys ]]; then for other in $keys; do rm -rf $keys done fi ### userPrefs for product in PyCharm DataGrip CLion IntelliJIdea WebStorm PhpStorm GoLand RubyMine; do # # To use with Bash, replace $ with $ userPrefs=$(ls $HOME/.java/.userPrefs/jetbrains/$:l> 2> /dev/null) if [[ ! -z $userPrefs ]]; then rm -rf $HOME/.java/.userPrefs/jetbrains/$:l> fi done echo "Done!"

    Are there any scripts that work for version 2022.2 ?

    Are there any scripts that work for version 2022.2 ?

    Requeriments:

    — JetBrains IDE Product

    Are there any scripts that work for version 2022.2 ?

    After 2021.1.3 the evaluation was only possible with an account. So it is very easy to check the real eval time for JetBrains.
    You would need a new account for a new eval time, which is a bit unhandy (you need a new email each time etc.).
    There are many «keys» in the net for activation, but none of them will work (Jetbrains will mark them as unvalid, as soon as they are available).

    By the way, the essentials of that linux script for me is just these two lines:

    rm -r /home/myusername/.config/JetBrains/PhpStorm2021.1/eval/* sed -i 's/where "myusername" is my username. 
    Ubuntu 22.04 with PhpStorm 2021.1.3, it seems to work I guess.
    The first line removes that key, which could has different names, so the . /*
    The second line (with sed) is just to remove the line where you find evlsprt. ( e.g.: )
    Delete the whole line is ok, I think.

    But anyway, PhpStorm is a very good software, to test it for free is ok, but I will bye it then later.

    -->
    Copy link

    mauricioprado00 commented Mar 31, 2023

    for linux:

    # create a new user sudo useradd -m myphpstormuser # allow other users to run things on :0 display sudo xhost + # start user session sudo -i -u myphpstormuser # run phpstorm /opt/phpstorm/bin/phpstorm

    then you will need to register a user :/ with a new email address.

    Источник

    Читайте также:  Linux time to log
    Оцените статью
    Adblock
    detector