LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-23-2004, 10:07 PM   #1
Cursor
LQ Newbie
 
Registered: May 2004
Posts: 5

Rep: Reputation: 0
Mozilla Shortcut


Hey, I just downloaded and installed Mozilla on my Redhat 9 pc. Its in the /usr/local/mozilla directory. for me to start mozilla i have to run ./run_mozilla.sh is there a way that i can create a shortcut like on my desktop that would start it for me? Thanks
-Cursor
 
Old 05-23-2004, 10:33 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Hello there Cursor!!!

Welcome to LinuxQuestions.org. There're several ways of creating a shortcut. First, let's create a link from Mozilla executable to your /usr/bin, to keep things organized:

Code:
ln -s /usr/local/mozilla/mozilla /usr/bin/mozilla
Hint: not sure if you knew this already, but Linux has an auto-completition system, so just type a few characters, then TAB, it will complete the hole path/folder/file for you . Remember also that you've to be root to perform those operations.

You should now be able to start mozilla from anywhere by simply typing mozilla at the terminal. Now, to create a shortcut to the desktop, it depends the desktop you are using. This example applies for KDE, but Gnome should be similar. Right click on an empty place of your desktop, then choose "Create new" >> "Link to Application". A window will open, fill the "General" tab with the application name, say, Mozilla. Then on the tab "Execute", theres a "Command" field. Simply write "mozilla" in there without the quotes.

Hint2: Linux is a case sensitive Operating System, unlike Windows, meaning that "mozilla" is different of "Mozilla", which is different of "MOZILLA".

Good luck mate!
 
Old 05-23-2004, 10:42 PM   #3
Cursor
LQ Newbie
 
Registered: May 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Hey Thanks welcome for the great Info!
(Hint 1. Is that for the Terminal?)
 
Old 05-23-2004, 10:51 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Cool! my pleasure

yeah, the auto-completition thing is for the terminal. However, a few other applications might also work, a "run" applications such as grun and so on. I try that everywhere actually
 
  


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
No Icon or shortcut in startmenu installing Mozilla ronronson Linux - Newbie 2 06-02-2004 12:47 PM
Mozilla mail shortcut ndn Linux - Newbie 2 05-16-2004 07:37 PM
Mozilla 'mark all read' shortcut in mail/news not working EdoardoC Linux - General 3 03-10-2004 03:46 AM
Segfaults in Mozilla, Mozilla Firebird, and Mozilla Thunderbird Ninja Cow Linux - Software 2 02-02-2004 02:33 AM
Possible Shortcut? AliasE Linux - Software 1 01-15-2004 08:06 PM


All times are GMT -5. The time now is 01:16 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration