This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Attempts to look in trash yield malformed URL

Tags: None
(comma "," separated)
User avatar
xmanmonk
Registered Member
Posts
141
Karma
0
OS
Mint 12 KDE. Click on Trash can applet on desktop, get a popup titled "Error -- KIOExec" with this text: "Malformed URL trash:/". Mom always told me not to dig in the trash, but something tells me this isn't why.


- X-Man
User avatar
xmanmonk
Registered Member
Posts
141
Karma
0
OS
Never mind. I deleted the trash db file (actually ALL files) in the ~/.local/share/Trash folder, and that seemed to solve the problem.


- X-Man
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This was likely caused by a corrupt trash file. This happens on occasion for unknown reasons, but could be due to manual deletion, alteration or multiple applications modifying the Trash at the same time.

The method you followed was the correct one to fix the issue.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
xmanmonk
Registered Member
Posts
141
Karma
0
OS
Thanks, bcooksley. I suspected as much, especially since I had just used another file manager tool (shan't happen again).


- X-Man
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
Hi,
I use openSUSE 13.2 and got the same error message. I deleted ~/.local/share/Trash/ but the problem persists.
EDIT: When I use the Wastebin shortcut from the left bar in Dolphin the Trash opens fine. It is the desktop applet which is not working.
User avatar
google01103
Manager
Posts
6668
Karma
25
try deleting the re-adding the applet


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
google01103 wrote:try deleting the re-adding the applet


This did not work (I also re-logged in).
User avatar
google01103
Manager
Posts
6668
Karma
25
in ~/.kde4/share/config there's a ktrashrc and trashrc file try renaming them (you'll need to reset your settings if you changed the defaults)


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
google01103 wrote:in ~/.kde4/share/config there's a ktrashrc and trashrc file try renaming them (you'll need to reset your settings if you changed the defaults)

There is no ktrashrc on my system. The trashrc contained:
Code: Select all
[Status]
Empty=false

I deleted it, readded the Trash widget (this time to the panel and not the desktop). No success.
User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
SOLVED. Here is what I have done:

I logged in with another user. There the Trash works. But it is opened with konqueror instead of dolphin. That lead to [1] (How can I set Dolphin to be the default file manager in KDE?). I went back to my regular user. In "Default Applications" --> File Manager I found that instead of Dolphin another app was selected as default component. I changed it back to Dolphin. This fixed the malformed URL issue.

[1] http://unix.stackexchange.com/questions ... ger-in-kde
User avatar
google01103
Manager
Posts
6668
Karma
25
weird - what app was set as default?


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
gregormi
Registered Member
Posts
87
Karma
1
OS
google01103 wrote:weird - what app was set as default?


I was a bit surprised, too. It was 'gitext-browse-master' (which is a script of mine to call the latest GitExtensions to browse the current directory). Recently I was experimenting with dolphin's Actions menu. I guess that I did something that changed the default.
Griz
Registered Member
Posts
3
Karma
0
For some reason, mine was set to "Open Folder with Thunar".

Fix (for me),
System Settings -> Default Applications -> File Manager -> Change "Browse directories using the following file manager:" to "Dolphin" hit Apply, and it works again!
kesnol
Registered Member
Posts
1
Karma
0
It also worked for me.
The default application was "dolphin" and the right one "Dolphin".
runtilov
Registered Member
Posts
1
Karma
0
OS
I had this problem as well. The default app for browsing was strangely 'Code - OSS'. Among the options there is Gwenview as well. I wonder how this list of options is created.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]