I'll take for example gnome desktop ..because I don't use kde..
..not very familiar with gnome either
a basic desktop shortcut looks like this:
file name : ekiga.desktop
file content:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Ekiga Softphone
Name[en_CA]=Ekiga Softphone
Name[en_GB]=Ekiga Softphone
TryExec=ekiga
GenericName=IP Telephony, VoIP and Video Conferencing
GenericName[en_CA]=IP Telephony, VoIP and Video Conferencing
GenericName[en_GB]=IP Telephony, VoIP and Video Conferencing
Comment=Talk to people over the Internet
Comment[el]=Μιλήστε σε ανθρώπους μέσω του διαδικτύου
Comment[en_CA]=Talk to people over the Internet
Comment[en_GB]=Talk to people over the Internet
StartupNotify=true
Exec=ekiga
Icon=ekiga
Terminal=false
Type=Application
Categories=GNOME;GTK;Network;Telephony;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=ekiga
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=2.0.12
Name[en_US]=ekiga
Creating links with ln doesn't look very pretty...
So I guess your script has to have a list for all the programs you want to make shortcuts...create the associate files for each program ..lets say firefox.desktop mplayer.desktop on users desktop (/home/$USER/Desktop/) ..fill the files with the content like the one I specified for ekiga above(adapt for each program)...
I think it might work....:P
When finished...post the script here :d
|