LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-11-2004, 08:53 AM   #1
gothrog
Member
 
Registered: Jun 2004
Distribution: Yellow Dog, Fedora, RedHat, Centos, Ubuntu, Suse Linux
Posts: 98

Rep: Reputation: 15
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?
 
Old 10-11-2004, 10:35 AM   #2
gothrog
Member
 
Registered: Jun 2004
Distribution: Yellow Dog, Fedora, RedHat, Centos, Ubuntu, Suse Linux
Posts: 98

Original Poster
Rep: Reputation: 15
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.
 
Old 10-14-2004, 05:15 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating desktop icon oingram Linux - Software 6 12-31-2004 03:39 AM
How does one creating printer icon on the desktop... SuSe/KDE? pwillikers Linux - Newbie 1 10-12-2004 06:39 PM
Creating a desktop icon for Azureus Scorpio Linux - Newbie 24 05-24-2004 10:16 AM
Creating Desktop Icon biggiefatts Linux - Software 4 05-27-2002 12:46 AM
Creating Desktop Program Icon ss109 Linux - General 4 03-15-2002 11:26 AM


All times are GMT -5. The time now is 11:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration