Hi Menachem,

digikam 0.9 or 0.8.2 does not matter because they use the
trash support from kdebase.

 I've create a fresh default ubuntu edgy
installation, and aptitude install'ed digikam, and Pictures I deleted
in digikam ended up in ~/.local/share/Trash (that did not
exists before I started digikam.

Maybe the protection of ~/.local is wrong so kio_trash
can't create it?

Nevertheless  creating a soft link

    ln -s  ~/.Trash ~/.local/share/Trash

should fix your problem (tested here works fine.
Gnome trash gets the counting wrong from because it
does not understand the XDG draft but that's cosmetic.)


Anyway.  The hole stuff is not a bug in digikam.  digikam
uses trash kio slave (as  all conformant KDE apps should to).
So running GNOME apps in KDE desktop or vice versa
would have the problem

The kio_trash implements the XDG trash standard currently at 
http://www.ramendik.ru/docs/trashspec.html.  This draft is
referenced at http://www.freedesktop.org/wiki/Standards.

<quote>
  For every user2 a “home trash” directory MUST be available3. Its name and 
location are $XDG_DATA_HOME/Trash ; $XDG_DATA_HOME is the base directory for 
user-specific data, as defined in the Desktop Base Directory Specification . 
</quote>


I'll ping the  kubuntu/ubuntu core devs what they think,
as a real fix has impact on the hole Desktop environment.

Achim

** Summary changed:

- digikam expects trash to be in ~/Desktop/Trash - causes error in Ubuntu
+ Gnome and KDE trash are incompatible.  Was: usdigikam expects trash to be in 
~/Desktop/Trash - causes error in Ubuntu

-- 
Gnome and KDE trash are incompatible.  Was: usdigikam expects trash to be in 
~/Desktop/Trash - causes error in Ubuntu
https://launchpad.net/bugs/75435

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to