LinuxQuestions.org
Help answer threads with 0 replies.
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 06-20-2005, 05:26 PM   #1
davethegenius
LQ Newbie
 
Registered: Oct 2004
Distribution: Ubuntu Warthog
Posts: 18

Rep: Reputation: 0
Program Associations in Gnome


First of all I'd like to thank Linux Questions.org for all the years of help and the community on this birthday of Linux Questions.org. You've all helped so much over the years and everything I learn is something I can help someone else with. But anyways, I'm running a Ubuntu Warty system with Gnome 2.0 desktop and i'm most pleased with it. I notice many programs will have just a name to execute the file. For example. To run firefox all you have to execute is the command "firefox". I do many custom installs such as new versions of software and I would rather associate a name to the program then have to type a path such as /applications/firefox/firefox. If someone could tell me where that is located. I assume there must be some configuration file barried deep in /etc that I could find. Thanks so much guys, I appretiate it.
 
Old 06-20-2005, 09:02 PM   #2
linbose
LQ Newbie
 
Registered: May 2005
Distribution: SuSE 9.3
Posts: 4

Rep: Reputation: 0
I use a SuSE 9.3 What I do is whenever I install any new program or. Write a little shell or C++ Program I also creat a little Shell script for this. All you have to do is to find out your path. Normally for my system.
one of my path is
the bin directory
/home/$user/bin
so I create the script and give and put it in my bin directory
again this bin is not /bin
it should be somewhere in your home directory
and here is the code for the scripts:
*******************************************
#!/bin/bash
# It runs the specific program
#I asume that your program's name is davthegenius
#and it $path$ is the path wherever it is
/$path$/davethegenius
*******************************************
now save this script with a name easy to type and remember
and put it in your bin directory...
also change the permission using this command:
>chmod u+x filename
that's it now try typing it in and you are good to go

Last edited by linbose; 06-20-2005 at 09:03 PM.
 
Old 06-20-2005, 10:07 PM   #3
davethegenius
LQ Newbie
 
Registered: Oct 2004
Distribution: Ubuntu Warthog
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks so much. Once again the community has come through.
 
  


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
COnfiguring Program Associations Linux24 Linux - Software 2 10-12-2004 09:14 PM
gnome has lost its program associations :( Schrambo Slackware 0 09-02-2004 01:41 AM
Dam! I messed up my program associations. lectraplayer Linux - Newbie 3 02-04-2004 10:41 PM
Program Associations rkid Linux - Software 3 10-11-2003 01:06 PM
Program associations in Gnome jsin Linux - Newbie 4 09-26-2003 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:28 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