1

I'm running notebooks on different servers, and I want a quick way to see what server a notebook is running on.

I'd like to change the little icon here: enter image description here From the default one to something I make, but can't find documentation for how to do this - anyone know?

Peter
  • 12,274
  • 9
  • 71
  • 86
  • Just a note - changing the icon.ico file in IPython/html/static/base/images doesn't seem to work – Peter Apr 16 '15 at 09:12
  • Answer below is correct. For the record the approach I listed above would have worked too, but editing the icon in Apple's Preview doesn't work - you can edit the icon and it will look like it changed and everything, but still the original image will remain hidden, and that's what's gets displayed. – Peter Apr 20 '15 at 07:21

1 Answers1

3

To change the favicon of the notebook you have to create individual profiles for the desired servers. For each profile (e.g. custom) add the favicon to .ipython/profile_custom/static/base/images/favicon.ico. Now start your server with the newly created profile like ipython notebook --profile custom and voila you have your custom favicon.
Note, that the favicons are typically .ico files as discussed e.g. here.

I tested this with a prominent favicon and now have notebooks looking like
enter image description here

This is also used by some of the available kernels like e.g. IJulia.

Jakob
  • 19,815
  • 6
  • 75
  • 94