Siduction Forum

Siduction Forum => Software - Support => Topic started by: delta9 on 2013/11/24, 20:37:50

Title: Trash will not work properly on kde
Post by: delta9 on 2013/11/24, 20:37:50
Hello,

i have kde 4.11.3 installed from debian repositories.

I have added a trash icon-widget. When i press on the trash icon it opens my home directory and not the trash directory.

Any suggestions ?

Thanks a lot in advance
Title: Re: Trash will not work properly on kde
Post by: dibl on 2013/11/24, 21:15:28
I had never used that widget before, so today I tried it.  Steps:


1. Unlock widgets
2. "Add Widget"
3. Searched for "Trash", found it, double-clicked it.  The icon appeared on my panel.
4. Opened Dolphin, selected 3 files in my home folder, right-clicked and chose "Move to Trash".
5. Observed the trash icon change to show something at the top.
6. Clicked the trash icon to open it.
7. Observed the 3 files that I had deleted from my home folder.


So, I cannot replicate your issue -- does the included trash function in Dolphin work correctly?
Title: Re: Trash will not work properly on kde
Post by: delta9 on 2013/11/24, 21:43:07
Hi,
thanks for your relpy.

Yes, trash in dolphin works properly
Title: Re: Trash will not work properly on kde
Post by: dibl on 2013/11/24, 21:53:55
I just tried it again -- but this time I added it to my desktop rather than the panel.  Same result -- it works correctly.  I note that when you open the icon, you are actually opening Dolphin.  So this icon appears to be simply a way to invoke the Dolphin trash function from the desktop or panel.


Is your KDE desktop mostly still in default settings?  Do you have many customizations on your desktop settings?


Have you removed the icon, and then installed it again?  Did you try installing on the panel, rather than the desktop?
Title: Re: Trash will not work properly on kde
Post by: drb on 2013/11/25, 16:54:04
It didn't work in the initial dist upgrade to 4.11 (opened up home view rather than trash) but is now working. Are you fully dist-upgraded?
Title: Re: Trash will not work properly on kde
Post by: piper on 2013/11/25, 19:56:03
delta9

What is the output of

Code: [Select]
ls -l ~/.local/share/Trash/files
and

Code: [Select]
ls -l ~/.local/share/Trash/info
Perhaps try

Code: [Select]
rm -rf ~/.local/share/Trash/files/*
rm -rf ~/.local/share/Trash/info/*

to empty.

If that don't work, try

Code: [Select]
rm -Rf /home/username/.local/share/Trash/*
rm -Rf /home/username/.local/share/Trash/files/*
rm -Rf /home/username/.local/share/Trash/info/*

To empty root trash
 
Code: [Select]
rm -Riv ~/.Trash/*



Title: Re: Trash will not work properly on kde
Post by: delta9 on 2013/11/30, 16:39:54
Hi,

thanks for your replies. Problem is still here.

@piper: I can empty Trash. I have no problem with that.

@drb: my system is fully upgrade

@dibl: I dont have any special customizatios and my desktop is mostly on default settings
Title: Re: Trash will not work properly on kde
Post by: spacepenguin on 2013/12/01, 09:14:06
Funny (more or less), I now have the same problem in a vbox Kubuntu test-installation: a click on the trash widget in the panel opens my home folder but from dolphin's places bar I can open the trash without problems...
Title: Re: Trash will not work properly on kde
Post by: piper on 2013/12/01, 16:43:44
Quote from: delta9
Hello,

i have kde 4.11.3 installed from debian repositories.

I have added a trash icon-widget. When i press on the trash icon it opens my home directory and not the trash directory.

Any suggestions ?

Thanks a lot in advance

It should point to

Code: [Select]
trash:/
I have zero problems with trash icon
Title: Re: Trash will not work properly on kde
Post by: spacepenguin on 2013/12/02, 06:28:20
The only difference I see in the trash widget in siduction panel (working) and the kubuntu panel (not working): the working trash has a small overlay icon, which opens a two entry menu on leftclick (for open and delete), the not working trash doesn't have this overlay icon...

BTW: There's a bug report: https://bugs.kde.org/show_bug.cgi?id=327479
https://bugs.kde.org/show_bug.cgi?id=327224
Title: Re: Trash will not work properly on kde
Post by: piper on 2013/12/02, 13:38:40
Quote
K.J. Petrie

The problem seems to be Dolphin-specific. If the default browser is set to konqueror function is as expected. It seems dolphin doesn't recognise
 the trash: protocol.

In a terminal, compare:

$ dolphin trash:/

with

$konqueror trash:/

Hope that helps narrow things down.

My default browser  is set to konqueror, as I like it much better than dolphin. I also have no problems
Title: Re: Trash will not work properly on kde
Post by: Santa on 2013/12/03, 17:58:46
Hello,

i have kde 4.11.3 installed from debian repositories.

I have added a trash icon-widget. When i press on the trash icon it opens my home directory and not the trash directory.


I think this problem was fixed with this patch
Quote from:

kde-baseapps (4:4.11.3-0r1) UNRELEASED; urgency=low


  * Add ignore_unsuppported_files.diff.


 -- José Manuel Santamaría Lema <panfaust@gmail.com>  Thu, 07 Nov 2013 11:00:39 +0100


which as you can see I have included almost a month ago. I think this patch wasn't included in debian, and that's why you have this problem while other people which has kdenext activated don't have it.


In any case the patch came from a fellow KDE developer and it's fixed in 4.11.4.

Any suggestions ?


As a suggestion - add the kdenext repository to your sources.list.
Title: Re: Trash will not work properly on kde
Post by: delta9 on 2013/12/06, 18:42:40
Thanks a lot for your reply Santa.

Well i guess its time to move to kdenext repository