File extension as determinator to open file with application

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
JohnML
Level 1
Level 1
Posts: 17
Joined: Sat Mar 20, 2010 1:13 pm
Location: frankfurt, germany

File extension as determinator to open file with application

Post by JohnML » Mon Jan 15, 2018 10:12 am

Howto associate file extension *.lpi with Lazarus for example?

Example:
project1.lpi is a XML-Document mime-type , but i need to open *.lpi files with lazarus-application per double-click in Nemo

Create a lazarus.desktop file?

Googled in vain so far .. :-(

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

Re: File extension as determinator to open file with application

Post by Flemur » Mon Jan 15, 2018 10:17 am

JohnML wrote:Howto associate file extension *.lpi with Lazarus for example?
Two easy ways, usually(*)
- rt-click on the file -> open with -> other application -> enter the program name (e.g. lazarus) AND check "use this as default".
or
- there's usually some program in the menus to set file associations.

A .desktop file will get created automagically.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less

Post Reply

Return to “Cinnamon”