Change Start Menu Icon in Zorin 17.1 Core

Did you try to use an SVG file for image? That seems to be the only thing that worked for me.

i tried with SVG, ran the script but it didnt work so i manually changed the logo using following your older instructions

1 Like

to avoid tinting i use the cron script as above but change symbolic svg to regular png

the name symbolic makes the icon tinted which i dont want

script /opt/mylogo.sh

#!/bin/bash

folder=/usr/share/gnome-shell/extensions/zorin-menu@zorinos.com
tmpfolder=/tmp/
default_file=zorin-icon-symbolic.svg
custom_file=/opt/logo.png

Nothing to do.

if [[ -h ${folder}/${default_file} ]];
then
exit 0;
fi

if [[ ! -f ${tmpfolder}/${default_file}.bak ]];
then
cp -r "${folder}" "${tmpfolder}/zorin-menu@zorinos.com.bak"
fi

sudo sed -i "s|Me.path + '/zorin-icon-symbolic.svg'|'${custom_file}'|g" /usr/share/gnome-shell/extensions/zorin-menu@zorinos.com/constants.js