Results 1 to 9 of 9

Thread: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

  1. #1

    Default File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    I upgraded to 12.2 from 12.1 the other day.

    Today I'm trying to get VUE - a mind map application - to work. The thing I'm trying to do is get image files, PDFs, and text files embedded as links in the mind map and then open them in their default external applications by double-clicking.

    This works fine with PDFs - they open in Adobe Reader when I double-click the link or single-click the little "PDF" icon attached to the link.

    I have Gwenview installed as the default app for image viewing. But when I click on an image in VUE, it opens in GIMP. I then removed GIMP from all the image file types in the KDE File Associations dialog - and VUE still opens the image file in GIMP. So I uninstalled GIMP completely because I don't use it anyway. So Gwenview was the ONLY application set up for the jpg file type. Then VUE opened the image file in Comix! So I installed the minimalist Viewnior image viewer utility and set it as the default image viewer for jpgs - and that works fine in VUE. Gwenview did not work - Viewnior does. I don't understand it.

    Now I have the SAME problem with plain text files! They open in LibreOffice, despite the fact that LibreOffice is not set ANYWHERE in the file associations as the preferred app for ANY kind of text files. Kate is set for all text files. But VUE - or KDE - appears to be ignoring Kate completely. But if I left click on a text file from Dolphin, Kate opens the file fine.

    Why is that a left click in Dolphin honors the file associations, but a call from VUE - a Java app - does not - except in the case of PDFs?

    What is going on and how can I fix it? Where are ALL the places in KDE and openSUSE where file associations are set? There has to be some place I've missed or something broken somewhere.

    It appears that the issue with Gwenview might be a broken or missing kde-gwenview.desktop file, according to one bug report I saw. A guy had a similar problem in that he had to have both kde-gwenview.desktop and kde4-gwenview.desktop files installed or Gwenview would not be called properly. I don't understand .desktop files much, so if anyone thinks this might be the issue, let me know how I can fix it.

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,138

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    I do not know what VUE is, but when it is not a KDE application (or KDE oriented), why should it follow the KDE configuration?
    I guess that, when possible at all, you should find a VUE configuration feature to configure this "file association" (either by the last few characters of the file name or by the contents of the file).
    Henk van Velden

  3. #3

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    Because it does follow them in the case of PDFs. There is no file association setup in VUE itself.

    Not that it matters now. I found the mimeapps.list config file that controls the mime file types association in ~/local/share/applications and edited it. I moved the "Added Associations" for the jpg and plain text types down to the "Default Applications" section of the file - and that seems to have fixed it. Why this didn't work from the KDE File Associations dialogs I don't know.

    And it still doesn't work for Gwenview for jpgs. Viewnior works, but Gwenview doesn't no matter what I do.

    I can live with the current situation now that I have a config file I can manipulate.

    Someone needs to sit down and write up some coherent documentation on how all this stuff works. Doing a Google search for info on this topic sends you all over the place, and half the info is for KDE 3 not 4. And frankly, I think the way this is done is ridiculously complicated.

  4. #4
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,442

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    I had similar issues where GNOME apps were being called (Nautilus) instead
    of KDE(Dolphin). I have not noted it happening as of late after a reboot.



  5. #5
    Join Date
    Jun 2008
    Location
    Delta Quadrant
    Posts
    1,442

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    > I had similar issues where GNOME apps were being called (Nautilus) instead
    > of KDE(Dolphin). I have not noted it happening as of late after a reboot.


    You might also try running zypper up until it comes back with Nothing to do.
    Those are the two things that I did.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,138

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    Quote Originally Posted by richardstevenhack View Post
    Because it does follow them in the case of PDFs. There is no file association setup in VUE itself.
    Can you elaborate on that. In my KDE PDF files are opened by Okular (and I have the strong idea that that is the default). In your first post say that VUE opens them with Adobe Reader. Except when you explain that you changed the default KDE association from Okular to Adobe Reader (which you didn't), this does not prove that VUE followes the KDE file association configuration (rather the opposite).
    Henk van Velden

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    Quote Originally Posted by hcvv View Post
    Can you elaborate on that. In my KDE PDF files are opened by Okular (and I have the strong idea that that is the default). In your first post say that VUE opens them with Adobe Reader. Except when you explain that you changed the default KDE association from Okular to Adobe Reader (which you didn't), this does not prove that VUE followes the KDE file association configuration (rather the opposite).
    I bet that if he opens the file associations settings, one will see Adobe Reader above Okular in the list of preferred applications.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,138

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    Quote Originally Posted by Knurpht View Post
    I bet that if he opens the file associations settings, one will see Adobe Reader above Okular in the list of preferred applications.
    I have Okular, Adobe Reader, Gimp. But this is KDE 4.6. They may have changed the default in the mean time.

    In any case,, the OP's statment is not complete without him telling that he observed that changing the KDE settings does change the behaviour of his application. To make sure that this is not by incident.
    Last edited by hcvv; 11-Nov-2012 at 06:08.
    Henk van Velden

  9. #9
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,845
    Blog Entries
    14

    Default Re: File Associations Behaving Strangely after openSUSE 12.2 Upgrade

    Quote Originally Posted by hcvv View Post
    I have Okular, Adobe Reader, Gimp. But this is KDE 4.6. They may have changed the default in the mean time.

    In any case,, the OP's statment is not complete without him telling that he observed that changing the KDE settings does change the behaviour of his application. To make sure that this is not by incident.
    You're competely right. But ..... I've seen situations like this before, where all PDF was being opened in GIMP. IIRC it was the mozilla mime-types that were interfering.
    @OP: take a look in the Firefox settings, specifically at the settings for PDF, PS, JPG
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

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