You are not logged in.

#1 2005-12-16 01:19:01

amdviaman
Member
From: Panama City, Florida
Registered: 2005-04-15
Posts: 28
Website

must restart after installing firefox and kde...WHY????

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

#2 2005-12-16 01:20:56

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: must restart after installing firefox and kde...WHY????

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

#3 2005-12-16 01:24:55

amdviaman
Member
From: Panama City, Florida
Registered: 2005-04-15
Posts: 28
Website

Re: must restart after installing firefox and kde...WHY????

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

#4 2005-12-16 01:51:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: must restart after installing firefox and kde...WHY????

You can also just "source /etc/profile" - but that won't help your window manager or anything

Offline

#5 2005-12-16 04:08:45

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

Re: must restart after installing firefox and kde...WHY????

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 am a gated community.

Offline

#6 2005-12-16 04:20:24

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: must restart after installing firefox and kde...WHY????

stonecrest wrote:
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

#7 2005-12-16 16:12:41

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: must restart after installing firefox and kde...WHY????

stonecrest wrote:
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

Board footer

Powered by FluxBB