LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Creating a Javascript Desktop Icon (https://www.linuxquestions.org/questions/linux-software-2/creating-a-javascript-desktop-icon-241304/)

gothrog 10-11-2004 09:53 AM

Creating a Javascript Desktop Icon
 
I have an apache server running with my local domain. http://www.mydomain.com

I want to create a link on my desktop that will start up my domain.
Right now have this, but the browsers starts and then crashes:

[Desktop Entry]
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec='/usr/local/mydomain/index.html'
GenericName=
GenericName[en_US]=
Icon=exec
MimeType=
Name=mydomain
Name[en_US]=mydomain
Path=/usr/local/mydomain
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false
X-KDE-Username=

What am I doing wrong?:scratch:

gothrog 10-11-2004 11:35 AM

Alright I got a little bit farther. I'm able to get my domain to come up when I click the icon, but it is coming up in Konquer and not Mozilla. How do I get Mozilla to come up.

Exec=mozilla does not work, anyone know how to fix that?

Again here is the link source info:
_________________________________________
[Desktop Entry]
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec=mozilla
GenericName=
GenericName[en_US]=
Icon=exec
MimeType=
Name=mydomain
Name[en_US]=mydomain
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Link
URL=http://mydomain
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
__________________________________________
So that other people know I had to switch the "Type" to equal "Link" and not "Application" and then set the URL.

jschiwal 10-14-2004 06:15 PM

Do regular url's on the screen come up with mozilla?

In other words is mozilla your default web browser?

To create the url link, you could of typed in your local server address in the browser and then dragged the icon from the address bar onto the desktop.


All times are GMT -5. The time now is 10:03 AM.