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

Archived topics about LMDE 1
Forum rules
User avatar
det4100
Level 4
Level 4
Posts: 227
Joined: Mon Dec 10, 2007 9:51 am
Location: New York

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

Postby det4100 » Sat Oct 06, 2012 2:59 pm

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.
det4100

Running Mint Debian

User avatar
Flemur
Level 9
Level 9
Posts: 2820
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

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

Postby Flemur » Sat Oct 06, 2012 4:19 pm

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.
Mint 18 Mate/fluxbox/pulse-less - Xubuntu 16.04/fluxbox/pulse-less
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: 227
Joined: Mon Dec 10, 2007 9:51 am
Location: New York

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

Postby det4100 » Sun Oct 07, 2012 9:10 am

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


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 0 guests