[Thunar-dev] Delete broken link - Error: No such file or directory

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Feb 14 22:32:47 CET 2006


Harold Aling wrote:
> A few simple (as in 'seems simple to the untrained eye') buggy/feature 
> requests:
> 
> 1: When deleting a broken link, Thunar reports that he can't find the 
> file... Cut/copy/pasting the broken link works fine...

Hm works for me. Thunar uses remove(3). Maybe remove() doesn't handle
symlinks properly in glibc. Try the following program:

#include <stdio.h>
int main (int argc, char **argv)
{
  if (remove (argv[1]) < 0)
    {
      perror ("remove")
      return 1;
    }
  return 0;
}

Compile with

 cc file.c

and run

 ./a.out /path/to/broken.link

and tell me if it produces an error.

> 2: Request: Drag files/folders to the shortcut to copy/move them to the 
> location you've dropped it on... Currentle, Thunar can only create a 
> shortcut.

That's already on TODO, but not that easy to implement.

> 3: Request: Since xfdesktop displays files/launchers/folders on my 
> desktop, add ~/Desktop to the top shortcuts...

~/Desktop was initially on the shortcuts list, but since Thunar would
already display the desktop folder (which is now done by xfdesktop) this
is rather redundant IMHO. But I'm open for discussion here.

> I use the latest SVN version...
> Thanx,
> -H-

Benedikt



More information about the Thunar-dev mailing list