On 28 August 2013 11:17, Peter C. Ndikuwera <[email protected]> wrote:
> cd ~/Desktop
> ln -s "<PATH TO PROGRAM>" "<NAME OF SHORTCUT>"
>
> To do it for all (new) users.
> cd /etc/skel/Desktop
> ln -s "<PATH TO PROGRAM>" "<NAME OF SHORTCUT>"
>
> To do it for all existing users.
> cd /home
>   for i in *; do
>   ln -s "<PATH TO PROGRAM>" "$i/Desktop/<NAME OF SHORTCUT>"
> done
>
> Hope that helps
>
> Peter

That's a terrible way to do it, if we're talking about desktop
shortcuts. You should use the freedesktop specification for .desktop
shortcut files instead. The stock ones in /usr/share/applications
ought to get you started.
_______________________________________________
The Uganda Linux User Group: http://linux.or.ug

Send messages to this mailing list by addressing e-mails to: [email protected]
Mailing list archives: http://www.mail-archive.com/[email protected]/
Mailing list settings: http://kym.net/mailman/listinfo/lug
To unsubscribe: http://kym.net/mailman/options/lug

The Uganda LUG mailing list is generously hosted by INFOCOM: 
http://www.infocom.co.ug/

The above comments and data are owned by whoever posted them (including 
attachments if any). The mailing list host is not responsible for them in any 
way.

Reply via email to