Page 1 of 1

[Solved] Disable automatic launch at startup

Posted: Fri Oct 27, 2023 9:49 am
by linuxyz
Hi!

I can't find the solution on Linux.
There are already solution for macOS (viewtopic.php?p=299144) and Windows (viewtopic.php?t=54455), but I couldn't find any working for Linux.
I'm on Arch Linux with Cinnamon Desktop (the same as the default for Linux Mint) : There is a "Startup Applications" option, but I've checked it and OO is not listed among them.

I've seen a solution about using the Memory option (accessible with "Tools > Options > OO > Memory") and a bottom check box, but I don't see any checkbox on my OO version 4.1.14.

Thanks!

Re: How to disable automatic launch at startup?

Posted: Fri Oct 27, 2023 1:56 pm
by Bill
I assume that you installed OpenOffice from the AUR. That version may have installed .desktop files to start OPenOffice automatically, but I don't recall this happening when I used Arch. If so, you may need to remove the .desktop files manually. See if this helps find the .desktop files:

XDG Autostart

Re: How to disable automatic launch at startup?

Posted: Fri Oct 27, 2023 4:34 pm
by linuxyz
Thanks for your reply!
I need the .desktop file to launch OO from the menu though.

I found location of OO desktop files in 2 places:

Code: Select all

$ ls /opt/openoffice4/share/xdg
base.desktop  impress.desktop     printeradmin.desktop  writer.desktop
calc.desktop  javafilter.desktop  qstart.desktop
draw.desktop  math.desktop        startcenter.desktop
and also in "/usr/share/applications/":

Code: Select all

openoffice4-base.desktop
openoffice4-calc.desktop
openoffice4-draw.desktop
openoffice4-impress.desktop
openoffice4-javafilter.desktop
openoffice4-math.desktop
openoffice4-printeradmin.desktop
openoffice4-startcenter.desktop
openoffice4-writer.desktop
I don't think these are locations for startup applications, just like normal applications.
This is "startcenter.desktop" which launches at startup automatically, apparently. Was it copied somewhere else during the installation?
I made a search but didn't find any copy elsewhere.

Re: How to disable automatic launch at startup?

Posted: Fri Oct 27, 2023 8:21 pm
by Bill
Yes, the .desktop files you found are for the menu, not autostart. From the link I posted, as I understand it, the .desktop files for autostart should be in ~/.config/autostart and /etc/xdg/autostart.

Re: Disable automatic launch at startup

Posted: Wed Nov 01, 2023 11:44 am
by linuxyz
Ok, I found the solution. It was due to my system, nothing to do with Openoffice. Thanks for your help anyway. Then if a moderator can delete this thread, please?

Re: Disable automatic launch at startup

Posted: Wed Nov 01, 2023 11:51 am
by RoryOF
linuxyz wrote: Wed Nov 01, 2023 11:44 am Ok, I found the solution. It was due to my system, nothing to do with Openoffice. Thanks for your help anyway. Then if a moderator can delete this thread, please?
We prefer not to delete threads, as a solution may be of use to others.