The directory /usr/share/gnome-shell/modes/
contains the following configuration files that specify which style sheet to use, from the specified gresource, for the Gnome Shell Top Bar, Dash, and Lock Screen.
initial-setup.json
ubuntu.json
yaru.json
How does gnome shell know which of these config files to use/load?
There must be a place where the names initial-setup
, ubuntu
, or yaru
are configured?
/usr/share/wayland-sessions/ubuntu-wayland.desktop
does the same for Wayland sessions? – Enterprise May 30 '20 at 23:07/usr/share/xsessions/ubuntu-custom.desktop
file.This file points to a customizedgnome-shell-theme.gresource
(through/usr/share/gnome-shell/modes/
), so I do not need to replace the original.gresource
file and worry about system updates reverting it. I also tested creating an option for Wayland by creating a/usr/share/wayland-sessions/ubuntu-custom-wayland.desktop
file and it works as well. – Enterprise May 31 '20 at 01:35