Re: desktop.links entries - was Re: Advocacy report [part 2]
- From: Paul G Cooper <pgc maths warwick ac uk>
- To: Miguel de Icaza <miguel nuclecu unam mx>
- cc: gnome-list gnome org
- Subject: Re: desktop.links entries - was Re: Advocacy report [part 2]
- Date: Thu, 28 Oct 1999 09:31:04 +0100 (BST)
THanks for your help Miguel, but I have one more question (right at the
end of the mail).
On 27 Oct 1999, Miguel de Icaza wrote:
>
> You can provide arbitrary programs that setup the desktop directory, I
> think it goes something like this (just run this script):
So I copy this script (with typos corrected ;-) to setup-user-links, make
it executable,
#!/bin/sh
#
# This script is invoked by gmc like this:
# setup-user-links --desktop-dirpath
# Due to a bug
case $1
in
--desktop-dir*)
dir=`echo $1 | sed 's/--desktop-dir//' | sed 's/^=//'`
(cd $dir && ln -s /mnt/misc/floppy .)
;;
esac)
#end
then copy it like this
cp setup-user-links `gmc --desktop-linksdir`
by the way `gmc --desktop-linksdir` points to /usr/lib/mc/desktop-scripts
on my rh6 plus october gnome system, however this directory doesn't exist
- so I mkdir this directory put the script in there and hey presto the
link is made when I select Recreate default icons. OK, so my question now
is - how do I give this link the floppy icon?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]