LinuxQuestions.org
Visit Jeremy's Blog.
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 09-16-2004, 04:07 AM   #1
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Rep: Reputation: 15
add new application on start-up?


good day to all.
im running slackware 10. and install firefox under /usr/local/firefox-installer/
when i run my x i usually goto Actions then i run my firefox application.

what i want to know is, how can i add new application such this firefox be included in my Applications in X..

does any one have clear idea? please give me step-by-step instruction on how to do it..
thanks in advance...
 
Old 09-16-2004, 04:27 AM   #2
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
do u use kde or gnome? or something else?
if kde, then u have to create a link to the firefox binary in your '
/$HOME/.kde/Autostart' folder

ln -s /usr/local/firefox/firefox /$HOME/kde/Autostart
should do the trick...replace with wherever uve installed firefox..
 
Old 09-16-2004, 04:40 AM   #3
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ganja_guru
[B]do u use kde or gnome? or something else?
that's a good question..

im using GNOME.
AND i try to find into which file look like to edit same with kde but can find one.
they are very different..
 
Old 09-16-2004, 04:57 AM   #4
classicalcraig
LQ Newbie
 
Registered: Sep 2004
Location: England
Distribution: Mandrake 9.2
Posts: 17

Rep: Reputation: 0
erm Im a newbie too, but your path to the program says "firefox-installer", so does the program require additional setup to run? This may be stupid, but it seems logical to someone from Winland
 
Old 09-16-2004, 05:17 AM   #5
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by classicalcraig
erm Im a newbie too, but your path to the program says "firefox-installer", so does the program require additional setup to run? This may be stupid, but it seems logical to someone from Winland
yeah i think so.. coz the one i run came from the source..
but i have also in here:

/home/kriz/.mozilla/firefox

so how can i add this program to my applications?
 
Old 09-16-2004, 05:22 AM   #6
classicalcraig
LQ Newbie
 
Registered: Sep 2004
Location: England
Distribution: Mandrake 9.2
Posts: 17

Rep: Reputation: 0
I'd try what ganja_guru said, using the "/home/kriz/.mozilla/firefox" path
 
Old 09-16-2004, 06:15 AM   #7
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ganja_guru
do u use kde or gnome? or something else?
if kde, then u have to create a link to the firefox binary in your '
/$HOME/.kde/Autostart' folder

ln -s /usr/local/firefox/firefox /$HOME/kde/Autostart
should do the trick...replace with wherever uve installed firefox..

if '/$HOME/.kde/Autostart' is the start up application for the KDE then whats the Autostartup for GNOME??
 
Old 09-16-2004, 07:01 AM   #8
ganja_guru
Member
 
Registered: Dec 2003
Location: Chennai, India
Distribution: Arch Linux 0.7
Posts: 393

Rep: Reputation: 30
please use the search feature more often ...it saves everyone time...u can get the answer for a question like this in a few seconds if u just search..

anyway...

add the path to the binary in your /$HOME/.xprofile

if this file does not exist, then u have to create it..

so...ure .xprofile should look like this


/usr/local/firefox/firefox


DO NOT FORGET THE '.' its .xprofile and not just xprofile


if .xprofile doesnt work try adding it to /$HOME/.xinitrc

also note that for xinitrc , the last line should always be the command to start the windows manager..this method would work only if u use 'startx' to get into ure WM(i think)...tell me what happens..

try .xprofile and then .xinitrc
 
Old 09-17-2004, 12:35 AM   #9
vickr1z
Member
 
Registered: Mar 2004
Location: manila, philippines
Distribution: RH 7.3
Posts: 63

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by ganja_guru
try .xprofile and then .xinitrc
Big thanks for trying help me out here bro's...

after the digging the web and searching for an answer, and exploring my X.
i found out this todo and does solve my problem by adding short-cut application of firefox in my X:

with GNOME right click on my desktop then i chose 'Create Launcher'.
then i fill in those Name, Generic name, Command(Browsing the application i want to run) and Application and the last was choosing an icon for mozilla.
thats it! i have now my application was on my desktop, instead of running it from xterm.

Really Slack to Rock!!!
 
  


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
Add/Remove Application Problem Coldfish Fedora 2 09-10-2005 07:43 AM
Could not add app to the application database... iammike Ubuntu 3 05-19-2005 06:05 AM
add an programm eto application menu mohit dhawan Linux - Newbie 3 05-05-2005 12:58 AM
How to start an application when the fedora start ivonne Fedora 9 11-12-2004 02:40 PM
how to add application icon in the main menu?? shasow Red Hat 2 04-11-2004 10:41 AM


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