Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: File associations broken in Folder View (I think).

  1. #1
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default File associations broken in Folder View (I think).

    Hi

    I've got desktop folder view set to layout = "folder view" and location = "show the desktop folder".

    If I attempt to click open a folder (i.e. directory), Gwenview (instead of Dolphin) opens and displays icons for the contents on the folder/directory. If I right-click and select to open the directory with Dolphin, it works and opens in Dolphin, but despite I tell it to set the system to use Dolphin, that system setting does not stick.

    and also

    If I attempt to click open a simple text file in the Desktop directory, LibreOffice Writer (instead of Kwrite) opens opens and displays the text. If I right-click and select to open the text file with Kwrite, it works and opens in Kwrite, but despite I tell it to set the system to use Kwrite, that system setting does not stick.

    So just to see what happens I uninstalled Gwenview and LibreOffice. Than when I attempt to open a directory in the Desktop directory or a text file in the Desktop directory, I get a message that I am running KDE su and I should enter the root password. However I have checked and the ownership of contents is mine and the permissions are normal e.g. here is an example of ls -l for Desktop:
    Code:
    john@Tumbleweed421:~> cd ~/Desktop
    john@Tumbleweed421:~/Desktop> ls -l
    total 100
    -rw-rw-rw- 1 john users   284 Nov 11 19:48 apache
    -rwxr-xr-x 1 john users   891 Sep 15  2012 arrow.xcf
    -rw-rw-rw- 1 john users    88 Jan  7 21:19 EZTV
    drwxr-xr-x 2 john users  4096 Nov  2 21:03 FP.USA
    -rwxrwxrwx 1 john users  2145 Nov 16 12:29 FStudy60.ini
    -rw-r--r-- 1 john users     5 Jan 24 21:47 index.php.txt
    drwxr-xr-x 3 john users  4096 Jan 31 10:50 manuals
    Any suggestions? I'm almost at the point of re-installing.

    [Furthermore a trash folder on the Desktop occupies about 1/20th of the screen real estate and I can't shift it. But bad widgets are another matter.]
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  2. #2
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: File associations broken in Folder View (I think).

    Extra information: this happened immediately after a "zypper dup" on the weekend which brought in maybe 450 associated file upgrades/swaps.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  3. #3

    Default Re: File associations broken in Folder View (I think).

    The folderview widget just uses the standard KDE means to open files.
    So this is a general KDE (KF5) problem.

    A faulty patch has been added to kservice unfortunately. It has been removed again a few days ago, but that change is not in Tumbleweed yet.

    Judging from other threads it seems to only affect the "Default Applications" configuration module though, you should still be able to change the default application for folders in "File Associations" (mimetype "inode/directory").

    For moving/resizing plasmoids, you need to click on it and hold the mouse button for a few seconds.
    You can revert to the old behavior (the handles appearing as soon as you move the mouse over a plasmoid) in the (Desktop or Folderview) settings that you can reach via right-clicking on the desktop or via the desktop's toolbox icon. It's the second option in "Tweaks".

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: File associations broken in Folder View (I think).

    Thanks, that fixed the associations.

    And also: The Trash widget is now smaller and in place where I like to have it.

    However if I attempt to peer inside the trash I get the error message "malformed url trash:/". Any thoughts on that?

    [Temporarily I have replaced the trash widget with a Desktop Link to URL (Trash:/) because I can see inside that icon by hovering.]
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  5. #5

    Default Re: File associations broken in Folder View (I think).

    Quote Originally Posted by swerdna View Post
    However if I attempt to peer inside the trash I get the error message "malformed url trash:/". Any thoughts on that?
    The "trash:/" protocol is part of kio-core which should be installed in any case.

    Maybe try to run "kbuildsycoca5 --no-incremental" (as user) to recreate KDE's caches.

    Temporarily I have replaced the trash widget with a Desktop Link to URL (Trash:/) because I can see inside that icon by hovering.]
    So "trash:/" works there?
    Then the trash plasmoid should work too.
    Maybe remove it and add it again.

  6. #6
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: File associations broken in Folder View (I think).

    I ran "kbuildsycoca5 --noincremental". I didn't see obvious change in behaviour.

    There have been a few "zypper dup" instances sine I last wrote here. I still have to adjust the file associations in "configure desktop".

    The url-based trashcan folder no longer works for me. And the widget trashcan doesn't work still. Both now give the response "malformed url trash:/".
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: File associations broken in Folder View (I think).

    Also, just to test, I added another username account. Logged in to that account. Same problems.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  8. #8

    Default Re: File associations broken in Folder View (I think).

    Quote Originally Posted by swerdna View Post
    There have been a few "zypper dup" instances sine I last wrote here. I still have to adjust the file associations in "configure desktop".
    Well, apparently kservice contained a broken patch. But this should be removed in TW since two days again.

    But the glib2 fix is not in Tumbleweed yet, it still overrides all file associations with GNOME's defaults (if you don't have GNOME installed, that could probably also cause gwenview getting the default application for folders).
    Does it help if you rename /usr/share/applications/mimeapps.list to gnome-mimeapps.list?

    See https://bugzilla.opensuse.org/show_bug.cgi?id=966739 and the fix https://build.opensuse.org/request/show/364661
    Code:
    - Follow the freedesktop conventions for the mime handler
      associations. The created link is gnome specific, so make it
      specific (gnome-mimeapps.list). This prevents association
      problems in Plasma 5 (boo#966739)
      https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-latest.html

    The url-based trashcan folder no longer works for me. And the widget trashcan doesn't work still. Both now give the response "malformed url trash:/".
    Can you navigate to "trash:/" in dolphin or the file open/save/dialog?

    Try to delete/rename the folder ~/.local/share/Trash/, maybe the info files are broken somehow.
    Last edited by wolfi323; 05-Mar-2016 at 05:28.

  9. #9

    Default Re: File associations broken in Folder View (I think).

    PS: according to this the Trash problem might just be caused by the wrong file association for drawers:
    https://forum.kde.org/viewtopic.php?...100899#p327795

    But I think now I misunderstood the problem you have with the trash.

    You get this error when you try to *open* the trash, right?
    I thought the applet shows this error instead of the icon...

  10. #10
    Join Date
    Jun 2008
    Location
    where I am is where I am
    Posts
    1,164

    Default Re: File associations broken in Folder View (I think).

    Swerdna,

    I had similar problems my fixes:

    TRASH:
    System Settings>Applications>Default Applications
    Click Dolphin click Apply
    If all goes well you'll have your trash back.

    THE FILE ASSOCIATIONS

    Rename your ~/.local to say was.local
    Then C & P only the folders from your was./local/share into your new ~/.local/share

    Hope that works for ya'
    I'm just a curious cat
    My 64 bit: RADEON RX 570 |CPU AMD - Ryzen 5 1600
    MOTHERBOARD B450M D53H GGABYTE
    Opensuse Tumbleweed Plasma 5

Page 1 of 2 12 LastLast

Posting Permissions

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