It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
What a nightmare this was for me as well. Not super familiar with Mac OS yet (and of course, I hate how difficult things that are easier on other OS's are here).

After following all of the terminal commands and suggestions above (though not the deletion command; I just found each file/folder individually and deleted it myself), I still had a Gog Galaxy login item remaining.

I thought I could easily change the previous search command:
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune 2>/dev/null

to something like:
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*galaxy*' -o -iname '*gog.com*' \) -prune 2>/dev/null

but as soon as I did that it threw up a lot of errors in Terminal. I know this isn't a Mac support forum but I'm curious why that small change caused it to not search at all and gave me a zsh error.

In case anyone else is having the same "login item" still remaining, even after deleting all of the other items produced from the search command above, I managed to get rid of it by doing a regular find in terminal (after giving it "full disk access" first).

I'm pretty sure doing it this way still only searches in your user directory of the drive (but includes hidden files/folders within said user directory) and it does NOT search the entire drive like the better search command above, but I got lucky that it was thankfully inside of my user folder.

I used this command:
find . -type f -iname '*galaxy*'
and found that final login item in application support (but not under launch agent or launch daemon; it was in preferences?).
My solution: Open Finder, and type gog in the search field. Choose elements and right-click on elements you do not need, move to bin every of these
Honestly quite not 2020...
GOG Galaxy is around for quite a while now, and I took a break from it for about three years. Still feels more Alpha than Beta on macOS.

Yes, macOS isn't the ideal platform for stuff like GOG, but even for macOS, you can build a removal tool.
Some devs just integrate into the installer pkg - if you rerun the installer while the software is already there, it'll ask you if you want to remove.
avatar
Mort500: I still have an object "GOG Sp. z o.o." under General/Allow in der Background.
How can I delete this?
avatar
vadimcher: You should also delete /Library/Launch*/com.gog.*. You may also have something left in /Library/PrivilegedHelperTools/ and /private/, and maybe even some other directories.

To remove everything, first check what is left. Open Terminal, and run

(safe)
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune 2>/dev/null

This will show you everything GOG-related still present on your system. Then either manually remove each item, or ONLY IF you decide you want to delete every file/directory shown by the previous command, you can simply run (at your own risk)

(dangerous unless you know what you are doing and checked with the previous command)
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune -print -exec sudo rm -rf '{}' \; 2>/dev/null

Run this second command to remove everything found by the first command. DO NOT run it unless you already checked with the first command what is going to be deleted, and understand this is what you want. Alternatively, again, just remove files/directories found by the first command manually, which is much safer. After you use either method, you can use the first command again to double check nothing unwanted is left.
Thanks, this was the best guide on this thread. Of course I do not know what the commands mean, but it worked. I manually uninstalled the files (CMD + Shift + . to show hidden files). I hope that is the end of this.

Wonder if I could modify the command to delete all the "Espon" printer files that have followed various system restores from back ups over the years. :(
I have similar issue. I cannot believe this, this is one aspect that windows appears to be more advanced.
avatar
Innosanto: I have similar issue. I cannot believe this, this is one aspect that windows appears to be more advanced.
Eh, no. Not really. MacOS is a BSD, which is the bastard stepchild of Unix. BSD 4 and NeXTStep converge to form OS X Server, mazeltov.

The problem is that MacOS is even more tied down than Windows when it comes to user control, even if you are the system administrator.

You could have control, but that is not the Apple way.
avatar
Mort500: I still have an object "GOG Sp. z o.o." under General/Allow in der Background.
How can I delete this?
avatar
vadimcher: You should also delete /Library/Launch*/com.gog.*. You may also have something left in /Library/PrivilegedHelperTools/ and /private/, and maybe even some other directories.

To remove everything, first check what is left. Open Terminal, and run

(safe)
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune 2>/dev/null

This will show you everything GOG-related still present on your system. Then either manually remove each item, or ONLY IF you decide you want to delete every file/directory shown by the previous command, you can simply run (at your own risk)

(dangerous unless you know what you are doing and checked with the previous command)
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune -print -exec sudo rm -rf '{}' \; 2>/dev/null

Run this second command to remove everything found by the first command. DO NOT run it unless you already checked with the first command what is going to be deleted, and understand this is what you want. Alternatively, again, just remove files/directories found by the first command manually, which is much safer. After you use either method, you can use the first command again to double check nothing unwanted is left.
For those who wants to understand what the first command does in detail, let me try to explain

Full Command

```bash
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune 2>/dev/null
```

Breaking It Down

1. find /:

• find: This is a command used to search for files and directories in a directory hierarchy.
• /: The root directory, meaning the search starts from the root of the file system and includes all subdirectories.

2. -not:

• This negates the following expression. It means “do not” for the condition that follows.

3. \( -path '/System/Volumes/*' -prune \):

• \( and \): These are used to group expressions. The backslashes are needed to escape the parentheses so that the shell treats them as part of the command rather than a special character.
• -path '/System/Volumes/*': This matches any path that starts with /System/Volumes/.
• -prune: This tells find not to descend into the directories that match the -path pattern.
So, this part means: “Do not search in any directories under /System/Volumes/.”

4. \( and \):

• These group the next set of conditions.

5. -iname '*com.gog.*' -o -iname '*gog.com*':

• -iname: This is like -name, but it is case insensitive. It matches file names or directory names.
• '*com.gog.*': This matches any file or directory name that contains “com.gog.” (case insensitive).
• -o: This is the logical OR operator.
• '*gog.com*': This matches any file or directory name that contains “gog.com” (case insensitive).
So, this part means: “Match any file or directory names that contain com.gog. or gog.com.”

6. -prune:

• This tells find not to descend into directories that match the conditions set by the previous expression (in this case, those containing com.gog. or gog.com).

7. 2>/dev/null:

• 2>: Redirects the standard error (file descriptor 2).
• /dev/null: A special file that discards all data written to it. So, 2>/dev/null means any error messages will be discarded.

Summary

Putting it all together, this command:

1. Starts searching from the root directory /.
2. Excludes all directories under /System/Volumes/ from the search.
3. Searches for files and directories with names containing com.gog. or gog.com (case insensitive).
4. Does not descend into directories that match the names containing com.gog. or gog.com.
5. Suppresses any error messages that might occur during the search by redirecting them to /dev/null.

I hope you'll find this information useful ;)
avatar
Innosanto: I have similar issue. I cannot believe this, this is one aspect that windows appears to be more advanced.
avatar
dnovraD: Eh, no. Not really. MacOS is a BSD, which is the bastard stepchild of Unix. BSD 4 and NeXTStep converge to form OS X Server, mazeltov.

The problem is that MacOS is even more tied down than Windows when it comes to user control, even if you are the system administrator.

You could have control, but that is not the Apple way.
1. Get the list of GOG-related items using the command provided by edi_ferreira:
find / -not \( -path '/System/Volumes/*' -prune \) \( -iname '*com.gog.*' -o -iname '*gog.com*' \) -prune 2>/dev/null

2.Remove them using the sudo rm -rf command.

The command I used:
sudo rm -rf \
"/Library/LaunchAgents/com.gog.galaxy.commservice.plist" \
"/private/var/folders/_b/w0v0rn1n40j4swl3yprtvwhr0000gn/C/com.gog.galaxy.cef.renderer" \
"/private/var/folders/_b/w0v0rn1n40j4swl3yprtvwhr0000gn/C/com.gog.galaxy.updater" \
"/private/var/folders/_b/w0v0rn1n40j4swl3yprtvwhr0000gn/C/com.gog.galaxy-web-installer" \
"/private/var/folders/_b/w0v0rn1n40j4swl3yprtvwhr0000gn/C/com.gog.galaxy" \
"/Users/Shared/GOG.com" \
"/Users/myuser/Library/Application Support/GOG.com" \
"/Users/myuser/Library/Saved Application State/com.gog.galaxy.savedState" \
"/Users/myuser/Library/Preferences/com.gog.galaxy.cef.renderer.plist" \
"/Users/myuser/Library/HTTPStorages/com.gog.galaxy-web-installer"

Your command:

sudo rm -rf <list of GOG items YOU found>

(make sure to use the same syntax).

I have successfully removed GOG from startup completely using this method.
Post edited March 27, 2025 by Valerii_Shvachko