You are not logged in.

#1 2006-04-05 00:42:27

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

firefox not launching from K menu or panel

hi all, not sure if this should go here or the pacman forum, but anyways

new arch base install, current and extra up to date, installed firefox but from the K menu, nothing launches and if i add a launcher to the panel it says "KDEinit could not launch 'firefox' could not find 'firefox' executable"

so i edit both locations and put in '/opt/mozilla/bin/firefox' %u and it launches fine

something wrong with the package? or kde?

Offline

#2 2006-04-05 01:10:45

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: firefox not launching from K menu or panel

If you just installed firefox, you need to update your PATH. either 'source /etc/profile' or logout/login.


I am a gated community.

Offline

#3 2006-04-05 01:26:10

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: firefox not launching from K menu or panel

well, never thought of that, but other apps i install i dont have to logout/in to get them to work, opera for example works fine. but i'll remove them both and try again to make sure

Offline

#4 2006-04-05 01:40:01

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: firefox not launching from K menu or panel

well now i cant get them to break, must only happen on a clean first time install, i dont ever remember having this issue with older builds and installs though or with other apps.

Offline

#5 2006-04-05 02:56:15

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: firefox not launching from K menu or panel

o2bfishn wrote:

well, never thought of that, but other apps i install i dont have to logout/in to get them to work, opera for example works fine. but i'll remove them both and try again to make sure

Presumably opera is installed to a directory that is already in your PATH while firefox is installed to /opt/mozilla, which isn't.


I am a gated community.

Offline

#6 2006-04-05 17:24:18

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: firefox not launching from K menu or panel

ahh i understand now. looking in the /etc/profile.d directory i see there are profile files for different apps. did not realize that is what happens and that loggin out and back in updated your path statements. ive probably installed firefox first before i ever fired up kde in the past, thats why i never noticed

thanks for your help!

Offline

#7 2006-04-09 00:04:30

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: firefox not launching from K menu or panel

gonna bring this up again. just installed thunderbird and adobe reader, both of which are installed into /opt and they both launched fine before i had to logoff/logon. why would i have to do that with firefox and not these other apps?

Offline

#8 2006-04-09 01:55:44

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: firefox not launching from K menu or panel

Thunderbird is installed to the same path as firefox (/opt/mozilla), so you already have that dir in your PATH from firefox. And while adobe reader is installed to /opt/acrobat, an executable is installed to /usr/bin (type 'which acroread').


I am a gated community.

Offline

#9 2006-04-09 04:53:40

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: firefox not launching from K menu or panel

stonecrest, thanks once again. however when i look at /etc/profile, it doesnt show anything for the /opt/mozilla/bin path. where is the path located?

sorry for all the dumb questions, but really shouldnt the path be updated when i install a package? i have never seen anything that says you need to logoff/logon to get something to work for certain packages. is it just the mozilla packages? cant the package update that or run source /etc/profile?

Offline

#10 2006-04-09 05:55:58

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: firefox not launching from K menu or panel

If you look at /etc/profile.d/mozilla-common.sh, you'll see that its set there.

As for your second question, I actually filed a bug report at one point asking the same thing. It's apparently not possible because pacman runs in a chrooted environment. Many distros might not have this issue because they don't use /opt. I wish something could be done as well, though, because it's a common question.


I am a gated community.

Offline

#11 2006-04-10 12:24:21

o2bfishn
Member
Registered: 2005-12-22
Posts: 53

Re: firefox not launching from K menu or panel

cool, thanks again stonecrest for your help, i am now more enlightened in the ways of archlinux  big_smile

Offline

Board footer

Powered by FluxBB