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?
It is from the
Ubuntu
session which is the default at login screen.session Name Ubuntu -> is the one
/usr/share/xsessions/ubuntu.desktop
and its contents are
Observe the line
Exec=
in which it is setting the environment variable