LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-21-2006, 10:35 PM   #1
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Rep: Reputation: 30
Path to programs/applictions


Adobe asks me to set a path to browser, but I am not sure where to point the the file path. This goes for other programs such a media players.

Thanks for your time,
SL
 
Old 01-21-2006, 10:53 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Adobe what??? The only Adobe SW that I am aware of for Linux is Acrobat.

It sounds like it wants the path to the browser executable, so find where that is, and type it in to the Adobe ____ preferences.

eg you might find firefox in /opt/firefox---in this case the path would be /opt/firefox/firefox.
 
Old 01-22-2006, 07:01 AM   #3
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
for some reason just adding "firefox" worked in browser executable in adobe reader
 
Old 01-22-2006, 08:10 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Well good, that's because Reader is just issuing the command and assuming it is in the PATH variable---which it apparently is.....
 
Old 01-22-2006, 08:38 AM   #5
smiley_lauf
Member
 
Registered: Jan 2006
Location: NY
Distribution: Fedora 15 x64
Posts: 344

Original Poster
Rep: Reputation: 30
Pixellany, could you direct me to source where I could learn more about file paths and their interpretation. I have learnt thru trial and error (right click on an appl shortcut launcher and under properties it shows you the path to the application i.e. firefox %u, in the case of firefox. I was wondering what that meant and whther we coul duse this ofrmat for other instances where we have to specify a file path to prog launching.

forgive I am new to linux but eager to learn.
Sl
 
Old 01-22-2006, 08:59 AM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
No particular reference comes to mind--its in all the books I have read.

Two kind of paths---relative and absolute:

Relative (ie from where you are): Lets say you want the "frammus" file:
If it is in the current directory: cat frammus
If it is one up: cat ../frammus
If it is in another directory at the same level--eg "otherdir": cat ../otherdir/frammus

Similarly, to cd to subdirectory "stuff":
cd stuff
cd ../stuff
cd ../otherdir/stuff

Absolute paths always start at root, and list all the intermediate directories, so if frammus is in "otherdir", which is in your home folder (you are "smiley"), then you would get to frammus with:
cat /root/home/smiley/otherdir/frammus

If you are running executable files, the system will Look in the PATH variable first. You can bypass this behavior by specifying an absolute or relative path. For example, you often see ./command This means run command in the current directory---and dont check PATH.

to see what is in PATH, type echo $PATH

This should give you the general idea---play with it and it will start to make sense.
 
  


Reply



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
Where are the programs in linux installed (full path) Bakoulou Mandriva 5 01-22-2006 04:02 PM
Linux programs(commands) path sureshkellemane Linux - Newbie 6 03-29-2005 02:15 AM
Give ur idea for GUI Applictions munna_502 Linux - Software 0 03-23-2004 02:43 PM
How do I put my programs in my PATH? grenal Linux - Newbie 2 10-12-2003 03:08 AM
Where Should I Install User Applictions? eboggess Linux - Software 5 12-31-2002 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:24 AM.

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
Open Source Consulting | Domain Registration