Caja remembering file associations

I downloaded a Java JAR containing a nice simple paint program (Pixelator). I launch it with java -jar /path/to/pixelator.jar.

I tried to add it to the right-click context menu in Caja, but right clicking on a jpg file, then "other application," then "Use a custom command." I entered the command above, and clicked "remember..." then Open. The program starts with the file opened, but it doesn't show up in the context menu next time.

What might I be doing wrong?

Just right-click file in question, select Open with > Other application... in the pop-up context menu.

2 Likes

You can restore to default file associations with:
cp /usr/share/applications/mate-mimeapps.list ~/.config/mimeapps.list
For information, I set this command to be run automatically at start of UM, on computer for old people. Because they change file associations by mistake often.

3 Likes