On Mon, Dec 29, 2003 at 04:35:39PM -0600, Brendan Sullivan wrote:
> not sure it will help with the sound issue, but make sure you have these
> two lines at the bottom of your config file.
> 
> [AppDefaults\\starcraft.exe\\x11drv]
> "DXGrab" = "Y"

Below is the x11drv part of my config, which works to play wine in gnome
with metacity (this *without* DGA, because DGA won't work in
battle.net).  If you can't get keyboard, I recommend trying the various
permutations of the "Managed", "Desktop", and "DXGrab" options.

 - O

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
;
; this setup works for battle.net but is windowed (so scrolling probs):
; Allow the window manager to manage created windows
"Managed" = "Y"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
;
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
;"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
;"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

--
[EMAIL PROTECTED] mailing list

Reply via email to