Re: X11 newbie
Re: X11 newbie
- Subject: Re: X11 newbie
- From: Jeremy Huddleston <email@hidden>
- Date: Wed, 17 Dec 2008 18:34:07 -0800
On Dec 17, 2008, at 18:19, Marty Fix wrote:
Hi all,
I am having an issue with X11, I think. I have installed Gnucash
using Fink. Once it was installed, executing the command "gnucash"
from an xterm window did not start the program. The nice people on
the gnucash mailing list said I needed to type in . /sw/bin/
init.sh. Once I did this, Gnucash ran just fine when typing the
command "gnucash". The problem is, every time I close that xterm
window or start the X11 application fresh, it will not recognize
"gnucash". I have to type in the init.sh command before it will run.
Any ideas on how I can get the gnucash application to work without
typing in the init.sh command?
You need to make sure your environment is setup right in your xterm.
That '. /sw/bin/init.sh' essentially tells your shell "execute
everything in /sw/bin/init.sh to set up your environment". You have
some files that setup your shell environment for every user on your
system (/etc/profile and /etc/bashrc) as well as similar files for
each user (~/.profile and ~/.bashrc). I'd recommend doing something
like this to get it setup for your system (from a terminal prompt):
sudo sh -c 'echo ". /sw/bin/init.sh" >> /etc/bashrc'
After doing that, you should be able to execute any of the fink
commands from a new terminal.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden
References: | |
| >X11 newbie (From: Marty Fix <email@hidden>) |