I am trying to edit the systemd unit that starts Gnome on login.
I believe I have located the unit under /user/lib/systemd/user/org.gnome.Shell@wayland.service
and tried to edit it, but:
> ls /usr/lib/systemd/user/org.gnome.Shell@wayland.service
'/usr/lib/systemd/user/org.gnome.Shell@wayland.service'
> sudo systemctl edit org.gnome.Shell@wayland.service
No files found for org.gnome.Shell@wayland.service.
Run 'systemctl edit --force --full org.gnome.Shell@wayland.service' to create a new unit.
Why is this “not found”? Should this not create an override under /etc/systemd
that “replaced” the immutable one in /usr
?
How can I achieve what I need?