Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Newbie]esound and gnome on XFree86/Darwin



At 10:19 PM -0700 6/29/01, Brian Cassidy wrote:
> Darwin does not support access of the audio hardware through
/dev/audio, so most Unix-based audio applications don't work.
(Hopefully this will change in the future.)

Let me know when it does. Life is much nicer with sound, even they are
just annoying bells and whistles.

There used to be a Darwin bug about this, but I can no longer find it. It may have been closed because it was not a product requirement for Mac OS X to support /dev/audio. It is something that would be good for the open source community to take on. The first thing that needs to happen is that Audio HAL needs to be in Darwin. (See bug #2583756 for an even more fundamental problem.)

>
>> Sound device inadequate for Esound. Fatal.
zsh: command not found: gnome-login-check

Is this in your path? If you are launching XDarwin from the Aqua GUI,
you may need to explicitly add the appropriate directory to your path
in .xinitrc. If launching with "startx -- -quartz" finds
gnome-login-check, but launching from Aqua does not, then this is
your problem. (Unfortunately Aqua GUI launching environment !=
terminal shell environment.)

I am launching X from the Aqua GUI, and I have exec sw/bin/gnome-session
following exec sw/bin/enlightenment in my .xinitrc.

Curiously however, when trying to launch w/ startx from either the
command line or when logged in as >console, I get a command not found. I did a 'find' and located it the 'Darwin-ppc/bin' folder and attempted
to run it from there, only to get an 'init: command not found" error. 'init' is also in Darwin-ppc/bin and executable. Obviously, I did
something wrong somewhere - like failing to put the appropriate path in
a file needed by startx. Is this the case, and if so, what file does
startx use?

startx just uses .xinitrc to specify what clients to launch. XDarwin launched from Aqua, doesn't actually use startx, but it does use .xinitrc. If you are going to be launching things in say, /usr/local/bin, you should add the following line to the top of .xinitrc:

PATH="$PATH:/usr/local/bin"

Since you are using fink, you can have it set your path appropriately by inserting the following line:

source /sw/bin/init.sh

--Torrey




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.