You are not logged in.
Every time I set up an arch box, when I install firefox or kde (probably others) I must restart the computer before I can even execute them. This is mighty inconvenient and un-linux-like, I noticed that during the bootup, the Updating Shared Library Links takes a little longer after installing firefox or kde, is there a command I can run that does this after installing firefox or kde that dosen't require me to restart?
Desktop: Biostar GeForce 6100-M9 + AMD64 4000+ 2.4GHz, 1MB L2 + 1GB DDR400 + 80GB PATA 500GB SATA + Nvidia 7600GT, 256MB GDDR3
Notebook: HP Pavilion DV6-1245DX + Intel Core 2 Duo T6500, 2.10GHz, 2MB L2 + 4GB DDR2 + 320GB SATA + Intel 4500MHD, 17" Widescreen + Lightscribe DVD+RW
Offline
have you tried logging out and then back in? that's usually all it takes. the problem is that stuff like kde and firefox are put in /opt/<pkgname> and the paths must be updated before you can execute them properly.
Offline
No, I haven't tried that. thank you! I will try it the next time I set up an arch box.
Desktop: Biostar GeForce 6100-M9 + AMD64 4000+ 2.4GHz, 1MB L2 + 1GB DDR400 + 80GB PATA 500GB SATA + Nvidia 7600GT, 256MB GDDR3
Notebook: HP Pavilion DV6-1245DX + Intel Core 2 Duo T6500, 2.10GHz, 2MB L2 + 4GB DDR2 + 320GB SATA + Intel 4500MHD, 17" Widescreen + Lightscribe DVD+RW
Offline
You can also just "source /etc/profile" - but that won't help your window manager or anything
Offline
You can also just "source /etc/profile" - but that won't help your window manager or anything
I wish pacman or the .install files would check to see if /opt/foo, the path that the package was just installed to, is in $PATH and automatically source /etc/profile if it's not. I swear this is a top 10 question from users and rightfully so, they shouldn't have to deal with this. In my humble opinion.
I am a gated community.
Offline
phrakture wrote:You can also just "source /etc/profile" - but that won't help your window manager or anything
I wish pacman or the .install files would check to see if /opt/foo, the path that the package was just installed to, is in $PATH and automatically source /etc/profile if it's not. I swear this is a top 10 question from users and rightfully so, they shouldn't have to deal with this. In my humble opinion.
Actually, it'd probably be smarter to make the package source /etc/profile if it installs a script into /etc/profile.d
Offline
phrakture wrote:You can also just "source /etc/profile" - but that won't help your window manager or anything
I wish pacman or the .install files would check to see if /opt/foo, the path that the package was just installed to, is in $PATH and automatically source /etc/profile if it's not. I swear this is a top 10 question from users and rightfully so, they shouldn't have to deal with this. In my humble opinion.
I'm pretty sure most do - however, that only sources it for root, not the user running - I have no idea, off the top of my head, if this works correctly under sudo.
However, the important part is that your WM/DE is running under a totally different environment setup, and the 'export' stuff does not reach it.
I can't really think of a good way to get around it - I know it's rather irritating to some people. I wonder if adding something like "/opt/*/bin" to the PATH by default would work... I don't think it globs properly though...
Offline