Neo4j-Desktop opens Zotero when i try to open neo4j.conf

Whenever I try to open the neo4j.conf by clicking on the 3 dots in the corner of an instance card in neo4j-desktop and choosing “Open ne04j.conf” its my Zotero application that gets opened and not a text editor. I am using Ubuntu 24.04, already tried setting a different default application for text files and for conf files. I know where to find the file and I can open it from there, but if anyone has an idea with this specific behavior it would be a lot more convenient. Thanks.

It means that your Ubuntu has the *.conf extension associated with Zotero … not the text editor, and it is not a specific Neo4J configuration issue.

Something like this:

I dont think that is the problem, as I stated in my question, I already tried setting another default in that way before asking the question. Im adding a screenshot of my texteditor being the default. I have also since then restarted and logged out of my computer but still face the same issue.

In principle, what application is used to open files is the role of the OS, unless the app is associated with the file (like XLS → Excel or DOC → Word) and it does that on installation.

Neo4J doesn’t open CONF files - those are text files, and your screenshot shows that Zotero is an option (and maybe it was the default option before? I'm not sure).

But it also looks like Text Editor is now your default, so not sure what is the problem?

It was always my default but the button still opens neo4j.conf in Zotero, even now. Could be some Ubuntu problem, but I have no idea in which file it would store to open only that one neo4j.conf file with zotero. Or neo4j-desktop cached the program to open its conf file somewhere.

Neo4j won’t/shouldn’t open conf files; they are just text files that need to be opened with a text editor.

Neo4j doesnt open anything, but the button in the attached screenshot does. But it doesn’t use my system default to do so but some arbitrary application (Zotero).

Yes - Neo4J is opening the default file association in Ubuntu.

On my Mac, it is asking me to “search for an app to open the file” …

As I mentioned in my original message, this is fixed in Ubuntu:

Its not using my default for some reason, which is the problem. Apparently there is some extra mimetype cache somewhere telling some programs to use other applications for opening files. I found this mimeinfo.cache file in ~/.local/share/applications/mimeinfo.cache which says to open everything in zotero. Simply removing/renaming that file makes the button in neo4j-desktop open neo4j.conf in the text editor again.
Thanks for your help trying to debug this.

1 Like