Apps :: Making an Opera icon in desktop



I have installed Opera 6.03 and I would like to know how to make an icon in the desktop. If someone could write the whole script would be great.

juan

All the icons and lnk scripts are in /home/damnsmall/.xtdesktop

This is the script for xMMs

table Icon
 Type: Program
 Caption: xMMs
 Command: xmms
 Icon: .xtdesktop/xmms
 X: 25
 Y: 270
end

-------------------------------------------

Caption = name
Command = path to application plus arguments may just be opera or /usr/bin/opera
Icon    = path to icon
X:      = pixels from left hand side of your screen
Y:      = pixels from the top of your screen

save as opera.lnk in /home/damnsmall/.xtdesktop

Juan,

Actually, someone did write a whole script :-)

See the message post below for details:

http://damnsmalllinux.org/cgi-bin....2;t=90;

Well, I have made a stand-alone version of cbagger01's script:
-----------------------
http://www.angelfire.com/ms/telegram/icon_opera
-----------------------
To use this script, download it into /home/damnsmall
then #cp icon_opera .icon_opera
next, #chmod 755 .icon_opera
Now, you need to check your path to the icon on your system.
Look at cbagger01's post just prior for the script that he uses
and use that path in your script if mine is not pointing to your icon.
----
This script can make an icon for any application, if you have an icon
somewhere to use. Perhaps you can find one on the internet, download
it, and use that. Who knows?
----
I tested the script, and found it to work, as long as I have Opera installed
on my DSL system (through a restore from backup.tar.gz, of course)
---
:)

Oh, and make sure that this part of the script points to the script you want to use with that icon.
The .start_opera script used in this line:
echo '  Command: sh /home/damnsmall/.start_opera' >> /home/damnsmall/.xtdesktop/opera.lnk
----
However, on my machines, I use:
echo '  Command: sh /home/damnsmall/.boot_opera' >> /home/damnsmall/.xtdesktop/opera.lnk
To use the boot_opera script I have here:
http://www.angelfire.com/ms/telegram/boot_opera
----
That setup goes with my other scripts (adapted from cbagger01's work)
and referenced here:
http://www.angelfire.com/ms/telegram/general_howto
---
So, in making your own icons on the desktop for various other
applications, you need to be aware of that, and the path to the icon
in the first line, and name the icon a unique name, so as to not overwrite
any others in the icon directory.
---

:)

Next Page...
original here.