LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-01-2008, 08:05 PM   #1
emer_son
Member
 
Registered: Jul 2004
Location: Boston
Distribution: Ubuntu
Posts: 44

Rep: Reputation: 15
Find application files to execute app


Hi
When I click on a link to open a file the default application
is often not the correct one. How to I peruse the filesystem to
find the program?

Thanks
 
Old 06-01-2008, 09:26 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,747

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Right click on the file you want to open, click on Open With ... from the pop-up menu, then select the application to use to open the file.
 
Old 06-01-2008, 10:51 PM   #3
axobeauvi
Member
 
Registered: Apr 2003
Posts: 128

Rep: Reputation: 16
try "whereis" then the program name
 
Old 06-02-2008, 11:16 AM   #4
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 201

Rep: Reputation: 44
This is a good trick if you do not know the specific filename of the executable:

from command line:

Code:
cd /usr/bin
ls | grep ENTER_PART_OF_THE_FILE_NAME
E.G.
Code:
cd /usr/bin
ls | grep fox
this will list all files containing the phrase 'fox'
most if not all files in cd /usr/bin should be executable files for starting the all user applications.
try it

also for root applications use the /sbin directory
E.G.
Code:
cd /sbin
ls | grep ENTER_PART_OF_THE_FILE_NAME

Last edited by dh2k; 06-02-2008 at 11:26 AM.
 
Old 06-04-2008, 07:02 AM   #5
m_wielgus
LQ Newbie
 
Registered: Apr 2006
Location: Gliwice, Poland
Distribution: Debian testing
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by emer_son View Post
How to I peruse the filesystem to
find the program?
It's not a filesystem issue.

If you're using KDE, do what bigrigdriver said, but you'll have to turn the "Remember association..." option if you want to make it permanent. You can also right-click the file icon, go to "Properties", click the tool icon next to the "type" section and set the default program (and other things as well) there.
 
  


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
Unable to execute an application with wine kamlendu Linux - Software 2 06-03-2008 12:48 AM
How to execute an application through web browser? marklhy Programming 10 05-11-2007 05:36 AM
How do I find application files? lumix Linux - Newbie 1 03-12-2007 05:03 PM
configuring a server so that clients can execute different instances of same app. drsparikh Linux - Networking 3 02-18-2006 08:24 AM
Execute an application automatically after startx gilan Debian 6 03-24-2005 10:34 PM


All times are GMT -5. The time now is 02:27 AM.

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