On the Mac with Firefox, the favicon is present:
@Jim you could convert png to ico and put it in right folder of NS
Perhaps an Apple extension is required to see the icon also on the desktop and splash screen:
I really don’t think an extention can help, because the favicon of the nethserver comunity is ok.
Depend on the wikipedia link, perhaps is the version of the .png.
Is it easy to convert the .png in the .ico… Or there have to put the hands on the e-smith layer/template
By “extension” I was meaning
<link rel="apple-touch-icon" ...>
@jim if you have an Apple client you can check it out. I need your help to open a new enhancement!
Where to put this code?
At home I have a Mac,
If I understand correctly the Wikipedia page, Mac and some Android devices use that LINK tag for the desktop shortcut and site preview, that is not necessarily the Favourite links!
We could add that LINK line after this one:
The path on the server should be
The favicon.png is under
Sources are here:
@Jim would you like to take on this challenge?
I think this feature is not a priority but is a very good “junior job” to practice our development process and the new packages.nethserver.org!
Indeed, we should re-work this post with new jobs
I will do it, don’t worry about this.
I like things well polished…
<link rel="apple-touch-icon-precomposed" href="/usr/share/nethesis/nethserver-manager/images/favicon.png" />
But it’s not work
I’d try to replace the existing line by
<link rel="icon" type="image/png" href="/usr/share/nethesis/nethserver-manager/images/favicon.png" />
With the same result… Not work
href value is a web URL, not a filesystem path!
It should a sort of https://server_name:980/images/favicon.png ?
Edit: how to find this path? As server_name can be everything?
PHP knows it: copy the href value from the line below
<?php echo $view['favicon'] ?>
I will continue tomorrow
Now that I’ve got a NS Vm, I will do this junior job
There are tree workaround:
- There are an HTML5 recommendation ignored by Apple and Google.
- Ios5 and above, and some Android devices use
<link rel="apple-touch-icon" href="somepath/image.png" />
- Safari, on OS X, seem work but with a function WebClip that bring another problem.
Can I recommend the traditional favicon.ico solution?
Why there’s a favicon.png is in /etc