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. Источник 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. Источник
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
@smartDev22 Yes, you can launch Linux scripts from MacOS terminal.
@VladimirXIV On MacOS not working because they have plist for IDE. I will share script later.
@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/Removeif [[ !-z$others ]];thenforotherin$others;do sed -i 's/evlsprt//'$other# # You can choose to remove instead of change in the line below;# rm -rf $otherdonefi### .key## Listing .key keys=$(ls $HOME/.config/JetBrains/*/eval/*.key 2> /dev/null)## Removeif [[ !-z$keys ]];thenforotherin$keys;do rm -rf $keysdonefi### userPrefsforproductin 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>fidoneecho"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.
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/Removeif [[ !-z$others ]];thenforotherin$others;do sed -i 's/evlsprt//'$other# # You can choose to remove instead of change in the line below;# rm -rf $otherdonefi### .key## Listing .key keys=$(ls $HOME/.config/JetBrains/*/eval/*.key 2> /dev/null)## Removeif [[ !-z$keys ]];thenforotherin$keys;do rm -rf $keysdonefi### userPrefsforproductin 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>fidoneecho"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.