Can't add user installed program to the "Open With" menu

Archived topics about LMDE 1 and LMDE 2
Locked
User avatar
det4100
Level 4
Level 4
Posts: 222
Joined: Mon Dec 10, 2007 9:51 am
Location: New York

Can't add user installed program to the "Open With" menu

Post by det4100 »

Running LMDE UDP 5, cinnamon DE. I installed the program maxview from a .deb package as it is not in the repositories. I created a launch item in the Menu. I am now trying to associate the program with .max files. (paperport files). The program does not show up as an option in the "Open With" menu. I didn't expect it to. However, the add button is grayed out. I tried going through "properties" of a .max file. but the add button only adds the highlighted program (programs already listed) to the default open with list. I've tried this as both user and with root privileges. How do I get the "Open With" menu to add this program to the list. I'm sure I just overlooked something simple.

Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
det4100

Running Mint Debian
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Can't add user installed program to the "Open With" menu

Post by Flemur »

Q: Can you modify the "open with" programs on more common files, like .txt?
-- If so, the .max file may have to be defined somewhere - glocal MIME definitions ...?
Edit: I don't think so; I created "a.max" of random numbers, "unknown type", and could set default via pcmanfm)

Anyway -

Check in ~/.local/share/applications (~/.local/share/mime didn't have anything useful on my setup)

I added the wine app "iview" - a stand-alone program that wasn't "installed" in any way - as a default for jpg files, and "Open with" via pcmanfm created the file: "userapp-iview-LU7WLW.desktop", and stuck more info in the file "mimeapps.list" (it also makes redundant .desktop files)

If all else fails you can probably add your own .desktop file and modify the mimeapps.list by analogy to existing files.
(My file locations are for mint/xfce).

FWIW, the linux implementation of MIME and associating defaul programs to file types out-windows windows; it's bad. IMHO, of course.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
det4100
Level 4
Level 4
Posts: 222
Joined: Mon Dec 10, 2007 9:51 am
Location: New York

Re: Can't add user installed program to the "Open With" menu

Post by det4100 »

Thank you Flemur,

I'm poking around .local/share/applications and see that the Maxview desktop configuration file is there. It does not have the .desktop extension. I will look further into this and try to figure out the syntax to add it to mimeapps.list and have it associated with .max files.
det4100

Running Mint Debian
Locked

Return to “LMDE Archive”