Please notice the spinner next to the text " Thunderbird Mail ". I replaced the spinner icon in
usr > share > icons > Yaru
scalable-max-32 > status
and in
scalable > status
both icons have name process-working-symbolic
Even after that, I get this old spinner everywhere. Is it possible to change it to an icon of our choice. ? Thanks.
Path of the Image in Question is hard coded as
'resource:///org/gnome/shell/theme/process-working.svg'
and this is from the.gresource
file being used.This resource file could be different for login screen and desktop session.
Assuming you are using Default Ubuntu 20.04
you need to edit/replace the file
process-working.svg
from the.gresource
file.for Default Ubuntu 20.04
/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource
file is the one to edit.I have gone through this process and replaced
process-working.svg
file with some .svg's and fell in a login loop.the default
process-working.svg
file is like this.and its properties are like this.
There seems to be a trick with svg images, Its a single svg image with different spinners. So I googled and got some 512 x 32 pixels with similar gnome-shell theme and could successfully change the spinner.
Getting/Creating the SVG is going to take much time.. So I used vanilla gnome's spinner and default Yaru's
Yaru's
Vanilla GNOME's
Edit:
have edited the original
process-working.svg
file with inkspace like this for testing purpose keeping the original size 512 x 32 px with svg format and tested it.For Automation Purpose, the below script can be used.
Requirements
process-working.svg
in/tmp
directory.libglib2.0-dev
with below commandsudo apt install libglib2.0-dev
then save the below script in a plain text file as
pwsvg.sh
(process-working.svg)run the command
sudo bash pwsvg.sh
and reboot.in case anything wrong, from any tty replace the edited gresource file with the backup one which is
/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource.BAK
Tested in Ubuntu 20.04.2
The icons are cached separately from their location, so any changes you make to a theme's assets will not be reflected until that cache is updated ... which can sometimes take years if you never apply updates to a system.
Fortunately, here's how you force the cache to rebuild:
If this doesn't work ...
gtk-update-icon-cache
command:Hopefully, you will see that Yaru's
process-working-symbolic
icon has been replaced with the icon you want to see ?