-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Change icon name on Linux for icon theme compatibility #62650
Conversation
This change is made under the assumption that the '-oss' part is removed for final official distribution builds. The issue it resolves can be read about here: numixproject/numix-core#2964
Unable to open |
@wmyhen6 what is it that you are unable to open? |
Thanks for the PR but this is not all that would be involved in changing this and it could have knock on effects for some other projects. Seems to me like numix should just add a code icon numixproject/numix-core#2964 (comment) I opened discussion when I joined the team about changing the command from code to vscode to avoid potential conflicts, but at that point it was already too late. Now we're aligning things with the command name, and there haven't been any conflict issues to my knowledge. |
@Tyriar I see no reason to rename the command. This PR is only to rename the the icon name in the generated .desktop files. |
The same concerns exist for the name though, and they turned out not to be a problem. Changing the icon alone would cause work for us and other teams and I don't think it's worth it when numix can just use "code". |
@Tyriar The point has been touched on in other issues but to recap for here, the |
@Foggalong do you have an example of one of these? |
The new freedesktop standards asks dev's to use a RDNN for the desktop file name and the icon name to avoid this kind of issues. Please don't change the icon to yet an other name and follow the specs. |
@Tyriar The topic of VS Code's name has come up that many times across that many different Numix repos now that I'll be dammed if I can find the one which had the examples in it. Admittedly I'd imagine it's less of a problem now than when VS Code first came out because other devs will now avoid the generic name to avoid conflict with VSC, but there'll always be some legacy applications which won't switch. To clarify on what @bilelmoussaoui said (because the terminology used wasn't clear to me), this is an example for VS Code of the Freedesktop icon name standard. It ensures that even if too installed applications have the same name, icon name, etc there won't be a conflict in files. |
For the FreeDesktop specs:
|
Sounds good, I opened #65750 to track this. It needs a bit more work though, mostly in our product build. I don't have time to look into it just now though. |
@Tyriar Thank you so much for looking into this further! |
@joaomoreno I think this is ready to go, let me know if you see any problems with it. There's a corresponding commit to distro in the tyriar/62650-linux-icon branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you run a build and everything works OK, then this lgtm.
Can anyone determine which is the right solution to the current merge conflict? |
@beruic I'll be merging this today, it will finally happen this milestone 😉 |
This change is made under the assumption that the '-oss' part is removed for final official distribution builds.
The issue it resolves can be read about here: numixproject/numix-core#2964
Fixes #65750