CKB:Changing the favicon for the browser tab: Unterschied zwischen den Versionen

Aus Cryptshare Documentation
Wechseln zu:Navigation, Suche
(Imported from text file)
 
Keine Bearbeitungszusammenfassung
Zeile 7: Zeile 7:
== Purpose: ==
== Purpose: ==
[[File:37388298.png]][[File:37388304.png]]
[[File:37388298.png]][[File:37388304.png]]
This is a step-by-step guide on changing the favicon shown in the browser tab.
This is a step-by-step guide on changing the favicon shown in the browser tab.


== Solution: ==
== Solution: ==
# create a PNG image file in size 16x16 px and save it as '''favicon-16x16.png'''
1. create a PNG image file in size 16x16 px and save it as '''favicon-16x16.png'''
# create a PNG image file in size 32x32 px and save it as '''favicon-32x32.png'''
 
# create an ICO image file in size 24x24 px and save it as '''f''''''avicon.ico'''
2. create a PNG image file in size 32x32 px and save it as '''favicon-32x32.png'''
# if it doesn't exist, create the folder '''img''' in '''<Cryptshare installation folder>/resources/ui'''
 
3. create an ICO image file in size 24x24 px and save it as '''f'<nowiki/>'''''avicon.ico'<nowiki/>''
 
4. if it doesn't exist, create the folder '''img''' in '''<Cryptshare installation folder>/resources/ui'''
  '''img'''
  '''img'''
   
   
Zeile 19: Zeile 23:
  insgesamt 4,0K
  insgesamt 4,0K
  drwxr-xr-x 2 csuser csgroup 4,0K 15. Mär 14:06 img
  drwxr-xr-x 2 csuser csgroup 4,0K 15. Mär 14:06 img
# copy the files '''favicon-16x16.png''' and '''favicon-32x32.png''' to the folder '''<Cryptshare installation folder>/resources/ui/img'''
5. copy the files '''favicon-16x16.png''' and '''favicon-32x32.png''' to the folder '''<Cryptshare installation folder>/resources/ui/img'''
  cryptshare:/opt/cryptshare-3 # ls -lh resources/ui/img/
  cryptshare:/opt/cryptshare-3 # ls -lh resources/ui/img/
  insgesamt 8,0K
  insgesamt 8,0K
  -rw-r--r-- 1 csuser csgroup 6,8K 15. Mär 14:06 favicon-16x16.png
  -rw-r--r-- 1 csuser csgroup 6,8K 15. Mär 14:06 favicon-16x16.png
  -rw-r--r-- 1 csuser csgroup  11K 15. Mär 14:06 favicon-32x32.png
  -rw-r--r-- 1 csuser csgroup  11K 15. Mär 14:06 favicon-32x32.png
# copy the file '''favicon.ico''' in the folder '''<Cryptshare installation folder>/resources/ui'''
6. copy the file '''favicon.ico''' in the folder '''<Cryptshare installation folder>/resources/ui'''
  cryptshare:/opt/cryptshare-3 # ls -lh /opt/cryptshare-3/resources/ui/
  cryptshare:/opt/cryptshare-3 # ls -lh /opt/cryptshare-3/resources/ui/
  insgesamt 8,0K
  insgesamt 8,0K
  -rw-r--r-- 1 csuser csgroup 1,9K 22. Mär 17:48 favicon.ico
  -rw-r--r-- 1 csuser csgroup 1,9K 22. Mär 17:48 favicon.ico
  drwxr-xr-x 2 csuser csgroup 4,0K 22. Mär 16:55 img
  drwxr-xr-x 2 csuser csgroup 4,0K 22. Mär 16:55 img
# restart the Cryptshare service
7. restart the Cryptshare service{{InfoBox|title=|content=On Cryptshare appliance the following command can be used<br />'''rccryptshare restart'''
{{InfoBox|title=|content=On Cryptshare appliance the following command can be used<br />'''rccryptshare restart'''
}}
}}

Version vom 14. Januar 2022, 12:26 Uhr


Applies to:

All versions of Cryptshare Server

Purpose:

37388298.png37388304.png

This is a step-by-step guide on changing the favicon shown in the browser tab.

Solution:

1. create a PNG image file in size 16x16 px and save it as favicon-16x16.png

2. create a PNG image file in size 32x32 px and save it as favicon-32x32.png

3. create an ICO image file in size 24x24 px and save it as f'avicon.ico'

4. if it doesn't exist, create the folder img in <Cryptshare installation folder>/resources/ui

img

cryptshare:/opt/cryptshare-3 # ls -lh resources/ui/
insgesamt 4,0K
drwxr-xr-x 2 csuser csgroup 4,0K 15. Mär 14:06 img

5. copy the files favicon-16x16.png and favicon-32x32.png to the folder <Cryptshare installation folder>/resources/ui/img

cryptshare:/opt/cryptshare-3 # ls -lh resources/ui/img/
insgesamt 8,0K
-rw-r--r-- 1 csuser csgroup 6,8K 15. Mär 14:06 favicon-16x16.png
-rw-r--r-- 1 csuser csgroup  11K 15. Mär 14:06 favicon-32x32.png

6. copy the file favicon.ico in the folder <Cryptshare installation folder>/resources/ui

cryptshare:/opt/cryptshare-3 # ls -lh /opt/cryptshare-3/resources/ui/
insgesamt 8,0K
-rw-r--r-- 1 csuser csgroup 1,9K 22. Mär 17:48 favicon.ico
drwxr-xr-x 2 csuser csgroup 4,0K 22. Mär 16:55 img

7. restart the Cryptshare service

On Cryptshare appliance the following command can be used
rccryptshare restart