[Gllug] Enlightenment menus

Chris Hutchison chris.hutchison at blueyonder.co.uk
Sat Nov 26 18:47:27 UTC 2005


On 26 Nov 2005, at 17:32, Paul Rayner wrote:

>
> On 25 Nov 2005, at 12:28, Chris Hutchison wrote:
>
>>
>>> Where do you define your path?
>>
>> Hhmmm ... I'm stumped.  My /etc/profile file reads:
>>
>> 	# System-wide .profile for sh(1)
>>
>> 	PATH="/bin:/sbin:/usr/bin:/usr/sbin"
>> 	export PATH
>>
>> so I guess it ain't there.  But since I set the $PATH from the 
>> prompt, I've no idea where
>> 	/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
>> is defined
>
> /sw/bin on OS X, Fink I presume?

Yep.

> If so, the /sw/* additions to the path are from the line
>
> 	test -r /sw/bin/init.sh && . /sw/bin/init.sh

I'd already looked at that.  It reads:

# setup fink related paths. we assume that the fink directories exists.
if [ -z "$PATH" ]; then
   PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin
else
   prepend_path PATH /sw/bin:/sw/sbin
fi
export PATH

> which is added to your ~/.profile file when you install fink. I would 
> guess that enlightenment does not run this file on startup, whereas 
> xterm (or whichever terminal program you use)

Gnome-terminal

>  does. I would suggest you try adding the /sw/* directories to your 
> path in /etc/profile, and see if that fixes the problem.

... which now reads:

	# System-wide .profile for sh(1)

	PATH="/bin:/sbin:/usr/bin:/usr/sbin:/sw/bin"
	export PATH

	[ -r /etc/bashrc ] && source /etc/bashrc

but, even after a re-boot, still didn't fix the problem.

But maybe I'm just tired this evening ... I'll get back to it in the 
morning when I'm fresh.  Thanks for the advice.

cheers

Chris

> On my installation I have made that line into a one line script, which 
> I have put in /usr/local/bin so that I can run command line fink apps 
> from OS X Terminal.
>
> Regards,
>
> Paul
>
> --
> Paul Rayner
> Ylem Solutions Ltd ~ 32-38 Leman St, London. E1 8EW
> Office: 020 7173 6241 ~ Mobile: 07739 143 763 ~ 
> Paul.Rayner at YlemSolutions.com
>
> -- 
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
>
-- 
Chris Hutchison
Richmond upon Thames
Surrey, UK

"Computers are like air conditioners, they don't work properly if you 
open Windows"

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list