LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   add new application on start-up? (https://www.linuxquestions.org/questions/linux-newbie-8/add-new-application-on-start-up-231230/)

vickr1z 09-16-2004 03:07 AM

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...

ganja_guru 09-16-2004 03:27 AM

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..

vickr1z 09-16-2004 03:40 AM

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..

classicalcraig 09-16-2004 03:57 AM

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

vickr1z 09-16-2004 04:17 AM

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?

classicalcraig 09-16-2004 04:22 AM

I'd try what ganja_guru said, using the "/home/kriz/.mozilla/firefox" path

vickr1z 09-16-2004 05:15 AM

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??

ganja_guru 09-16-2004 06:01 AM

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

vickr1z 09-16-2004 11:35 PM

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!!!


All times are GMT -5. The time now is 05:03 AM.