-
Notifications
You must be signed in to change notification settings - Fork 55
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
Icon for Joplin #280
Icon for Joplin #280
Conversation
Icon based on the Discord icon
joplin-desktop is consistent with the bundle identifier Laurent uses in the Mac `plist`, `net.cozic.joplin-dektop`.
|
Some further context: I added the Joplin icon here based on this comment thread, and I'm trying to get the Joplin |
|
Please don't add symbolic links for icons in the /src directory. |
|
You are right we need to do some cleanup and documentation on how to contribute. For the time being, just add the E.g. Important here is to use the We have scripts, which render the |
|
Cool, thank you for the explanation! All set? |
|
Looks good to me so far. I'll check saturday on a big screen. |
|
Hey, sorry for taking so long to review your PR. The icon looks good, but our script does not compile it. The compilation is done by running the script in the What I do, if I create a new icon:
Render the icons with the script mentioned above. You can try to run the command and see that your version does not compile. Then try this version: |
|
I'm fairly certain the problem is that I used an intermediate format and then converted it to SVG. I can poke around in the raw XML to see what's different about the underlying structure. |
I opened the file in Inkscape, selected File > Clean Up Document, and then saved it. The resulting file should read like an Inkscape file.
|
I poked around in the script, and it was calling Inkscape from an absolute path that doesn't exist on my computer. (I'm editing on my Mac, not my Linux computer.) The script also appeared to be checking for Inkscape-specific metadata. I tried opening the document in Inkscape for Mac, selecting File > Clean Up Document, and then saving it, so the XML formatting and metadata should work with the script now. FWIW you could probably stand to add more descriptive error output to the Python script. I added some preliminary exception messages in #283. |
|
Could you tell me what the error message was that you were getting? I can try running the script on my Linux computer myself, as well. |
|
I'm not familiar with Macs. I need to mention, that the script doesn't work with Inkscape version 1.0 or higher. |
|
Does it compile now? (Again, I haven't tried running the script on my Linux computer.) |
|
I got the script to compile the Joplin icon, if you take a look at #284. |
From `joplin` to `joplin-desktop`
|
Once I got the script working, I discovered that the internal name for the icon ( |
Icon for Joplin based on the Discord icon. I don't know how you do linking and whatnot, so I just uploaded the SVG of all the icon sizes to the
srcfolder.I would also appreciate some help in understanding how to format the
.desktopfile so that the shell knows to use this icon. Thanks!