Share your file-opener script - Programming On Unix
Users browsing this thread: 2 Guest(s)
|
|||
I rely on the freedesktop utility xdg-open as it already has full integration with mime types and desktop files. I kind of pointed it a bit in this discussion about default programs.
So what I usually do is xdg-open, and if it doesn't call the program I want then I can switch it using mimeopen -a. In the case where my program isn't listed, I create a desktop file in ~/.local/share/applications, then update-desktop-database. Most of the time, this solves my issues, otherwise I can dive into adding my own mimetype in ~/.local/share/mime/application. |
|||
Messages In This Thread |
Share your file-opener script - by seninha - 30-05-2020, 07:40 PM
RE: Share your file/link-opener script - by z3bra - 31-05-2020, 03:55 AM
RE: Share your file/link-opener script - by venam - 31-05-2020, 04:12 AM
RE: Share your file-opener script - by jkl - 10-02-2021, 03:40 PM
RE: Share your file-opener script - by neeasade - 13-02-2021, 12:16 PM
RE: Share your file-opener script - by venam - 07-03-2022, 02:47 AM
|