Delete start up apps in terminal

Hi
I have added something to the start up apps in mate control center that is causing problems with the desktop not starting up properly.

What file do I delete, I have taken a look in .config, but I am lost.

Hi, @not_Rich :slight_smile:

You wrote:

I may be wrong, but I think you need to go to the ~/.config/autostart directory and then do NOT remove the ".desktop" file that you consider to be "suspicious", but add the following line at the end of that "suspicious" file instead:

Hidden=true

Here's an answer written by @Bill_MI in a somewhat similar topic, posted a few years ago (in February 2018):

3 Likes

In addition to the more elegant solution offered by @ricmarques and @Bill_MI ...

If there is no file there relevant to the application that you "started", then ...

Not sure ... but ... if you look at the directory

/etc/xdg/autostart

you may spot a reference to the application that you "toggled". Hopefully the developers were smart and gave it a name including the string "autostart", to make it that much easier to identify, but there is no guarantee that it does. :slight_smile:

MAYBE ... (big maybe) ... if you rename that *.desktop file to something like *.desktop.HOLD, then reboot, it may solve the problem.

BUT ... make sure you correctly rename ONLY the file which is the offending application. Otherwise, you could create a different set of problems. :slight_smile: If that happens, at least you can rename it back to what it was to restore its original functionality ... and "pick on" another file!

1 Like

Thanks guys that did it. I already had "mate-panel --replace" since the panel was not starting at login I added compiz -- replace which caused the problem.

The second solution may have worked but as I see it if the first solution works why go back and break it to try the second. :smile:

3 Likes

It seems Picom in the startup apps causes problems with Compiz as I found out recently on my testing hard drive.
Panels missing and unable to right-click context menu on desktop.

This time the offending item was in the above directory, I edited the picom desktop file and added Hidden=true
Thanks guys.

3 Likes