How to delete hidden login iterms from backgrounditems.btm? CML way is prefered
I don't think it is necessary to remove them using the commands. You can do it from settings.

Open System Preferences and click on Users &amp; Groups, then click the Login Items &gt;tab. You’ll see a list of apps (and even files and folders) that open every time you log in. - Macworld