Making wine default to the Mac Driver on OS X

Per Johansson per at morth.org
Tue Mar 5 02:11:57 CST 2013


On Mon, Mar 4, 2013 at 8:36 PM, Alexandre Julliard <julliard at winehq.org> wrote:
> Ken Thomases <ken at codeweavers.com> writes:
>
>> If the concern is what you get when you're ssh'd into a remote system,
>> then it's probably possible for the Mac driver to detect when it
>> doesn't have GUI console access and fail.  Then, Wine could fall back
>> to X11.
>
> If that can be made to work, it would certainly be a nice solution.

The current session type can be queried by the command

launchctl managername

It'll say Aqua for GUI console and either Background or StandardIO for
ssh. It seems to be using a private API to fetch this though:
http://www.opensource.apple.com/source/launchd/launchd-442.26.2/support/launchctl.c

Regards,
-- 
Per Johansson



More information about the wine-devel mailing list