Libre Office, open file with other application
With Libre Office open and showing a list of files in a directory, right click on a dot cpp file and select
Quote:
Quote:
What are the steps needed to add vi to the list of Recommended Applications? |
Generally, you can use a mime editor to update what application is used to open files. In a graphical desktop environment, you probably will need to make a .desktop file in /usr/share/applications/.
Copy one of the existing .desktop files in there, and update it to execute /usr/bin/vi, along with the other properties that are fairly obvious. Once you have that vim.desktop, your DE should be able to show you vim in the list of "other applications." |
I am a Linux novice but I did try this:
Quote:
Quote:
Quote:
|
Quote:
Nope. You're going in the wrong direction. Generally, a desktop environment looks at the contents of the .desktop files. Each file represents a single application. Here's an example file for you: /usr/share/applications/vim.desktop Code:
[Desktop Entry] You can get more details about what these items in a desktop file mean: https://specifications.freedesktop.o...ec-latest.html |
Quote:
Mate has a bunch of .desktop files. I did find this one: Quote:
Quote:
If you have MATE on your system and know how to edit the dot desktop files, please tell me where and how to edit in order to add vi to the list of other application for opening a file. |
All times are GMT -5. The time now is 12:25 PM. |