Clan x86

Technical (Development, Security, etc.) => Unix / Linux Discussion => Topic started by: Joe on April 10, 2006, 09:58:28 PM

Title: Wine help?
Post by: Joe on April 10, 2006, 09:58:28 PM
Ok, so I'm running D2 in Wine, got it working properly and everything. However, it's confined to a 800x600 "emulated desktop" window otherwise it fubar's my actual resolution. That's just fine with me, but when I click outside the window (which I often do on accident), wine tells D2 that it got minimized and D2 "chickens" out of the game, causing me great annoyance.

Anyone know how to stop that from happening?
Title: Re: Wine help?
Post by: Chavo on April 10, 2006, 11:24:46 PM
I don't know how well it works with Wine, but there are many applications for windows that allow you to press a hotkey that locks your mouse into the current window or screen.  I use UltraMon, but I'm sure thats not what you need.
Title: Re: Wine help?
Post by: Joe on April 11, 2006, 01:37:04 AM
There's a setting in wine itself that allows D3D programs to lock the mouse on them, but then I don't have the option to go change the song when I'm back in the chatroom, etc.
Title: Re: Wine help?
Post by: Chavo on April 11, 2006, 02:09:18 AM
bind a hotkey to the setting?
Title: Re: Wine help?
Post by: Sidoh on April 11, 2006, 02:29:57 AM
Crimor or Windows! :P
Title: Re: Wine help?
Post by: Joe on April 11, 2006, 02:46:11 AM
Quote from: unTactical on April 11, 2006, 02:09:18 AM
bind a hotkey to the setting?

Impossible. Even if it were possible, settings are loaded on startup, so it wouldn't affect it until the next run anyhow.
Title: Re: Wine help?
Post by: Sidoh on April 11, 2006, 02:51:03 AM
/me starts chanting.

Windows, Windows, WINDOWS!

/me notices that this is the Unix discussion board and shuts up...

Edit -- Haha, 6969 posts.  69 orgy!
Title: Re: Wine help?
Post by: Joe on April 11, 2006, 03:10:20 AM
Windows failed me, perminantly. The disk ran away. Either that or these multiple Linux disks sitting on my desk where the Windows disk should be have slaughtered it and hidden the corpse.
Title: Re: Wine help?
Post by: Chavo on April 11, 2006, 10:23:44 AM
Quote from: Joe on April 11, 2006, 02:46:11 AM
Quote from: unTactical on April 11, 2006, 02:09:18 AM
bind a hotkey to the setting?

Impossible. Even if it were possible, settings are loaded on startup, so it wouldn't affect it until the next run anyhow.

No, it is definately possible and doable.  My 'question' was a suggestion ;)  Then again, if you using a comparatively featureless gui like xfce, binding hotkeys may not be a builtin feature.

Shell scripts work wonders for loading settings on startup.

lol @ Sidoh
Title: Re: Wine help?
Post by: iago on April 11, 2006, 10:54:10 AM
I'm not sure which of these work, but try:

xvidmode
xrandr
dxgrab

Or you can try Cedega.  Cedega comes with all three of those and uses the best one automatically.