[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] Me again :-) how do I globally remove icons from the desktop



> #!/bin/bash
> 
> [ ! -L $HOME/Desktop/Drop ] && ln -s /home/Drop ${HOME}/Desktop/Drop
> [ ! -L $HOME/Desktop/Public ] && ln -s /home/Public ${HOME}/Desktop/Public
> 
> I login and no links :-(
> 
> If I run ln -s /home/Drop ~/Desktop/Drop at the command line the link creates 
> fine, same with the Public link.  Ideas?

Even though I know it is dangerous....I got to thinking :-)  The result is I change teh
${HOME} variable to ~ like I did in my command line tests and it worked!

Thanks Petre!

-- 
This message has been scanned for viruses and
dangerous content by the Cotter Technology 
Department, and is believed to be clean.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]