There are a couple of not that trivial ways to remove the "Starred" item in the left bar of nautilus. The second option involves editing source code and recompiling. I will only cover the first way here.
1 - Create a folder to store the override
2 - Extract the resource description of the main window:
gresource extract /bin/nautilus \
3 - Edit the properties of the GtkPlacesSidebar object: open the file you created in the previous step:
and change the property
false as in following code snippet:
<object class="GtkPlacesSidebar" id="places_sidebar">
4 - Set the environment variable to make GLib use this override:
5 - You also need to set this via ~/.pam_environment, because Nautilus is started via D-Bus:
and add following line
where you change "confetti" by your own login name.
(with thanks to JusticeforMonica and DK Bose for the hints)
You need to log out and back in before this will take effect.