Results 1 to 2 of 2

Thread: Quckly change Application Preference Order

  1. #1
    Join Date
    Jun 2008
    Beans
    78
    Distro
    Kubuntu 10.04 Lucid Lynx

    Quckly change Application Preference Order

    In KDE, the system chooses the program to launch an individual file according to the System Settings->File Associations->Application Preference Order. This is a really nice way to do it, but my problem is, I want to update all 35 mimetypes at the same time to make VLC the top choice.

    Is there any way to mass-update mimetypes' Application Preference Orders in Kubuntu?

    Thanks!

  2. #2
    Join Date
    Apr 2007
    Location
    /dev/random
    Beans
    3,052

    Re: Quckly change Application Preference Order

    The "InitialPreference" property determines which app is chosen to be the default (i.e., the one with the highest InitialPreference is the default). If the .desktop file for Amarok doesn't have that property, then just add a line that says "InitialPreference=9"
    In the case of VLC, the file would be /usr/share/applications/vlc.desktop.

    See this and this thread for general information about .desktop files. The mimeapps.list approach mentioned in them could do the trick too, but more work.
    ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •