From: Thomas Leonard <tal00r@ec...> - 2001-02-08 13:58:16
On Thu, Feb 08, 2001 at 12:47:23PM -0000, Sprague, ITSN wrote:
> > > - Some applications (like my Trashcan) which change their
> > icon by linking
> > > AppIcon.xpm to the corresponding file stopped working.
> > I spotted that one... just change 'symlink' to 'link' to create a hard
> > link instead... (only the file's owner can create hard links)
> But, hard links don't work across filesystems... This might be an issue if
> someone has things mounted weirdly... Or, if a user wants a diricon on his
> local home dir to be the same as the diricon for his homedir on another box,
> that's mounted via SMB/NFS... Just points to ponder.
I meant change the code for Trashcan so that it uses hardlinks for its
icon (which is always stored in the same directory so no problems).
You can set the diricons for anything by using the 'Set Icon...' thing on
the menu - that doesn't create a .DirIcon.png file, it just uses the
The implication when using .DirIcon is that you want the directory to be
portable => the icon should be somewhere inside the directory.
So, I don't think it will ever be a problem, and it might even same us
some grief (ie, people distributing applications whose icons are symlinks
to /home/james/mystuff/icon, etc).
Thomas Leonard http://rox.sourceforge.net