Announcement

Collapse
No announcement yet.

Dolphin service menu specific mimetype issue

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Dolphin service menu specific mimetype issue

    I have created a service menu that runs a python script on a selected file and it works fine. However, I am trying to restrict it to only one single video mimetype - mkv.

    It works for all video mimetypes using this:
    Code:
    MimeType=video/*;
    but not at all if I try this:
    Code:
    MimeType=video/mkv;
    Any suggestions?

    Please Read Me

    #2
    Try MimeType=video/x-matroska;

    Which should be the default MimeType for mkv files

    Comment


      #3
      Perfect! Thanks - I knew there had to be a simple answer.

      Please Read Me

      Comment


        #4
        You can run the command mimetype (mimetype [options] [-] files) to identify the mimetype for specified files.
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          You can also use the GUI (if preferred): System Settings->Default Applications->File Associations

          Comment

          Working...
          X