You are not logged in.
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
If you just installed firefox, you need to update your PATH. either 'source /etc/profile' or logout/login.
I am a gated community.
Offline
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
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
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
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
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
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
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
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
cool, thanks again stonecrest for your help, i am now more enlightened in the ways of archlinux
Offline