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
Reboot after install to get icons. #1
Comments
Hey, thanks for the pull. I noticed we don't need a full reboot. If you're on GNOME, just press Alt+F2 and write Also, there's a command to reload icon cache we could add the script: Thanks. |
The bug has been resolved with the latest commit, or not? Sent from my Huawei VNS-L31 using FastHub |
Sorry, missed the notification about the reply. Commit? I'm on mobile but I can't see a commit referenced in the thread... Will take a look tomorrow to see if I can reproduce it with old version and then test to see if this gtk-update-icon-cache solves the problem. |
Thanks, I'm not able to reproduce the issue, so I can't help. |
This is my results after some tinkering. That command is already in the script here:
However the command by itself does not evidently solve the problem. I have to run: And finally the PATH: There are two problems with this the first being the most important, 1) The command needing elevated privileges with one should not give to random scripts on the internet, and 2) The icon directory path might not be the same on all relevant distributions. |
There is a way to get around these two problems by linking/copying the index.theme file from /use/share/icons/hicolor to the Not sure if this is a reasonable solution. |
Of course then run the gtk-update-icon cache with the .local path as argument. |
You should look into my code from Spotify-EasyRpm -noroot. Use xdg-desktop-menu as it does not require root |
And xdg-desktop-icon but i didnt need this |
Don´t ask me how but if I create a symbolic link to the system index.theme to the .local equvalent the icon appears directly after runnign the script. No need for gtk-update-icon-cache. Fixes issue paolorotolo#1
By copying the index.theme file to .local the icon shows as expected. solves issue paolorotolo#1
Thanks for the suggestion @megamaced. You are right that xdg-desktio-menu/-icon do not require root however the Spotify icon is still not shown after using them. Sometimes after using them it seemed like the shell restarted and the the icon was showed correctly but that was only occasional. |
Had to do a reboot after installation to get the Spotify icon to show up. Running Tumbleweed.
Would be nice to ether have a note of this in the instructions or a fix so that no reboot is needed.
Awesome work!
The text was updated successfully, but these errors were encountered: