-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Local & Version Specific Not Fixed #149
Comments
It's possible that we're missing your PHP storm. Can you find the launcher for PHP storm and give us:
|
name and location of .desktop file jetbrains-phpstorm.desktop content |
This is now fixed in the latest commit thanks to @bil-elmoussaoui :D |
thank you, I'll do a "git pull" now! |
@vs0uz4 already in the database ;) |
not solved! I did git pull, and ran sudo ./fix.sh but PhpStorm icon continued in the same way! |
Can you share the desktop file content after using the script? :) also if it's possible to check the phpstorm line in the tofix.csv after starting the script please |
I certify that the hardcoded not working in PHP Storm PHP Storm,jetbrains-phpstorm,hardcoded,phpstorm this does not work jetbrains-phpstorm.desktop [Desktop Entry] PHPStorm,jetbrains-phpstorm,hardcoded,phpstorm this does not work but it works on the script https://github.com/leoheck/hardcode-fixer PHPStorm,jetbrains-phpstorm,$HOME/Загрузки/PhpStorm-141.2462/bin/webide.png,webide PHPStorm,jetbrains-phpstorm,/home/${SUDO_USER:-$USER}/Загрузки/PhpStorm-141.2462/bin/webide.png,webide I even thought that it is possible to register the most frequently used folders: PHPStorm,jetbrains-phpstorm,/home/${SUDO_USER:-$USER}/Downloads/PhpStorm-141.2462/bin/webide.png,webide PHPStorm,jetbrains-phpstorm,/home/${SUDO_USER:-$USER}/Desktop/PhpStorm-141.2462/bin/webide.png,webide PHPStorm,jetbrains-phpstorm,$HOME/PhpStorm-141.2462/bin/webide.png,webide However, any change in the version PhpStorm-141.2462 make these rules useless. You can see why hardcoded does not work? And one more bug. During normal start of your script (sudo fix.sh) in the terminal I see dozens of entries like this: mkdir: can not create directory «/home/qws/.local/share/icons/hicolor/scalable/apps/»: No such file or directory there is /home/qws/.local/share/icons/hicolor/ not scalable/apps |
My phpstorm desktop content: [Desktop Entry] My tofix.csv in script folder my tofix.csv in /tmp folder When you run the script error is generated |
@Foggalong i think this is due to the force update of tofix.csv |
I solved the error by adding the parameter "-p" to the mkdir command. running the command: |
Well that does not solve the problem is just hide the error message , do you have this folder now? |
-p, --parents "does not generate error if it already exists, create directories for parents as they are needed" By using this command, he created the folders and soon after ran the script again when the error did not appear anymore. |
I see, you can create a pull request to fix that ;) |
pull request created! |
scalable/apps/ work, but the message is received - Sessions still open, not unmounting PhpStorm not work, hardcoded not work. |
I will check that this weekend
|
I understand hardcoded trying to write new rules csv? |
what i ve done is the easiest solution, i will try to understand whats not working ;)
|
I'm confused - is this issue now fixed? Is what @fii34 is talking about a new issue? |
Not yet, I think that the hardcoded does not change to the icon path in the csv file. I will fix that this weekend ;) |
Thanks :D |
@vs0uz4 use your current version of the script to revert any changes made and then redownload and try again. It might be fixed now :) |
I will test this now! |
@bil-elmoussaoui ? |
@Foggalong Sorry i was a little bit busy those days. I will install Phpstorm and try to fix this right now |
The issue is easy to fix ;) it's in the line 155 new_current=$(grep -Gq "Icon=*$" "$app_location$launcher") the value of new current is always empty string; it's due to the regex; @Foggalong do you have any better regex to use in this case? :) |
@Foggalong, @bil-elmoussaoui that way would not solve here? *new_current = $ (grep -G "Icon = " "$ app_location $ launcher") |
After debugging here, he spent no longer return emptiness. But still does not solve the problem bo fix. Should have more somewhere else in trouble. |
Already fixed in my latest pull request
|
OK! @bil-elmoussaoui thank you. |
@vs0uz4 can you check my latest pull request and test it in your case? i think everything will work fine after that! 💃 |
It's not working for RubyMine installed via Jetbrains Toolbox. Is this issue still not fixed? My desktop entry has this line (even after running |
Reopening this thread because it appears to still not be working for me on Debian. All jetbrains software icons have not been fixed. |
I'm running Debian 10.3 , KDE Plasma and latest Toolbox and this issue still exists. What is the best workaround? |
after running sudo command ./fix.sh the same fixed several icons, with the exception of PhpStorm icon.
vs0uz4@vs0uz4-NTB:~/Code/hardcode-fixer$ sudo ./fix.sh
G: Fixing HP Printer...
G: Fixing Intel Graphics Installer...
G: Fixing Python (v2.7)...
G: Fixing Python (v3.4)...
G: Fixing Slingscold...
G: Fixing Valentina Studio...
G: Fixing YouTubeDL GUI...
result:

how to solve?
The text was updated successfully, but these errors were encountered: