What is the problem?
I'm currently modifying the sources of octoprint and I want to change the icon that is displayed on the browser tab.
What did you already try to solve it?
Searched a lot on internet but couldn't find a solution
What is the problem?
I'm currently modifying the sources of octoprint and I want to change the icon that is displayed on the browser tab.
What did you already try to solve it?
Searched a lot on internet but couldn't find a solution
Sorry for not just answering your question, but the smarter thing to do is write one or more plugins. If you directly change the sources of OctoPrint, you will have to do that again when you want to upgrade to a newer version of OctoPrint when it is released (or be stuck with your old version).
You are talking about the favicon.ico. I looked through the OctoPrint source, and this is added in a unique way in Octoprint. See /src/octoprint/server/init.py on or around line 1653. You'll see that /favicon.ico is set to tentacle-20x20.png. There is javascript in /scr/octoprint/static/js/viewmodels/appearance.js on or around line 19 that performs a substitution within the themeFavicon function.
Yeah, looking at the output code it seems you would just need to replace the following pieces with your own changes...
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAgAElEQVR4Xu19CXQcxbV23Z4ZbZasnRAgPJYQAgQIYAJhCZgQQh5IM2ZR2IJjS9MtQxKyPbIHA/mz/XkvvCwEL6wJJDiBmdFYCsEmYknMZraACQQDJtgYaRZpNPtMd913yoxtWYs1S89Md1fVOT4Yq+ve+323+lN3ddUtIKIJBgQD3DIA3CIXwAUDggEiBEAMAsEAxwwIAeA4+QK6YEAIgBgDggGOGRACwHHyBXTBgBAAMQYEAxwzIASA4+QL6IIBIQBiDAgGOGZACADHyRfQBQNCAMQYEAxwzIAQAI6Sv27duuZEItEJAB2EkF1/ELEZEecRQhp2/kHEBgCoB4BdYwQRVURMAECCEJIkhLD/Tv6TlCQpQSlN2Gy2Hf9OKQ3Pnz//pYULF6Y4oto0UIUAmCZV+Qc6NDR0ZCaTOZwQciQh5AhE/DAAHJG7ufM3pO+VbxNC/kkIeQ0AXtE07WVJkl5zuVzs30WrEgNCAKpEfKluN2zYUB8MBtnNzf7suNFzfz5cqu0K908h4ksAsJkJAyK+Qgh52eVyvVjhOLh0JwTAJGlnj+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type="image/x-icon">
<link rel="mask-icon" href="/static/img/mask.svg" color="#56BE37">
<link rel="mask-icon-theme" href="/static/img/mask-theme.svg" color="#56BE37">
<link rel="apple-touch-icon" sizes="114x114" href="/static/img/apple-touch-icon-114x114.png">
<link rel="apple-touch-icon" sizes="144x144" href="/static/img/apple-touch-icon-144x144.png">
The interesting part is the base64 encoded png image file. So a jquery call like this in an asset plugin mixin with a single js file should do the trick. Just change the icon tag that is getting appended...
$('head > link[rel="mask-icon-theme"][rel="mask-icon"][rel="apple-touch-icon"][rel="shortcut icon"]').remove();
$('head').append('<link rel="icon" type="image/png" href="https://en.wikipedia.org/static/apple-touch/wikipedia.png">');
This guy favicons! Nice clean non-source altering solution!