Wine Question or Suggestion?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Wine Question or Suggestion?

Post by oViXo »

First off GREAT PROGRAM!

It's the Wine team that is loosening the tyrannical grip of the "Other" software company on the computer using community worldwide, while at the same time making it easy for Linux users to still have the use of the programs they are used to, in turn making a transition of operating systems easy.

That said, on to the issue. The issue is when using Wine holding in the ALT key and then using the Mouse 2 button, or right mouse button, brings up a context menu. Which in itself is fine, except it usually happens in a game, like Guild wars, ALT selects only certain players, and Mouse 2 pans the camera. So my question(s) are...

Does anyone know of a registry tweak or something to disable that context menu?
or if there is no way to configure it out..
Can you devs re-map the key from ALT to a Function key or somewhere else for 1.0? :)

Thanks for any help, it's greatly appreciated.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine Question or Suggestion?

Post by vitamin »

oViXo wrote:First off GREAT PROGRAM!

It's the Wine team that is loosening the tyrannical grip of the "Other" software company on the computer using community worldwide, while at the same time making it easy for Linux users to still have the use of the programs they are used to, in turn making a transition of operating systems easy.

That said, on to the issue. The issue is when using Wine holding in the ALT key and then using the Mouse 2 button, or right mouse button, brings up a context menu. Which in itself is fine, except it usually happens in a game, like Guild wars, ALT selects only certain players, and Mouse 2 pans the camera. So my question(s) are...

Does anyone know of a registry tweak or something to disable that context menu?
or if there is no way to configure it out..
Can you devs re-map the key from ALT to a Function key or somewhere else for 1.0? :)

Thanks for any help, it's greatly appreciated.
That is standard window manager feature and has nothing to do with Wine. Consult your manual for Gnome/KDE/whatever window manager you are using.
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Post by oViXo »

That is standard window manager feature and has nothing to do with Wine. Consult your manual for Gnome/KDE/whatever window manager you are using.
Well if this were true it would happen on the desktop, or when I run programs or games natively in Linux. However it ONLY happens when I use Wine to run programs. If I use the desktop manager it would totally disable the use of the key, or re maps it in a manner that changes the key use in the programs run under Wine or natively.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

oViXo wrote:
That is standard window manager feature and has nothing to do with Wine. Consult your manual for Gnome/KDE/whatever window manager you are using.
Well if this were true it would happen on the desktop, or when I run programs or games natively in Linux.
Not true, if those games grab keyboard (as most do). But not Wine.
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Post by oViXo »

Not true, if those games grab keyboard (as most do). But not Wine.
I don't understand that reply.

I get the phrase "grab keyboard" but not in the context you have it written. Are you stating that Wine doesn't "grab keyboard"?

Anywho, since it ONLY happens when Wine launches a program, it seems that it's Wine that needs to be tweaked. I looked into changing the keyboard using the desktop managers but thats not a solution for my situation.

THANKS for any help.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

oViXo wrote:
Not true, if those games grab keyboard (as most do). But not Wine.
I don't understand that reply.

I get the phrase "grab keyboard" but not in the context you have it written. Are you stating that Wine doesn't "grab keyboard"?
Correct.
oViXo wrote:Anywho, since it ONLY happens when Wine launches a program, it seems that it's Wine that needs to be tweaked.
No there is nothing to change. You have to disable [ALT]+mouse combination in your window manager.

For KDE: Personal settings -> Desktop -> Window Behavior -> Window action -> Modifier key. Be default it's set to "Alt". Change that to "Meta". So you can use that useless window key for something appropriate.

Something along the same lines for Gnome.
Paul Johnson

Wine Question or Suggestion?

Post by Paul Johnson »

On Mon, 2008-06-09 at 19:00 -0500, oViXo wrote:
It's the Wine team that is loosening the tyrannical grip of the
"Other" software company on the computer using community worldwide,
while at the same time making it easy for Linux users to still have
the use of the programs they are used to, in turn making a transition
of operating systems easy.
Well, Linux users don't need Wine to run the programs they're used to.
That's a Windows-user problem for the most part. For us, Wine is merely
a compatibility layer to run games originally made for an operating
system that is a very, very long way off from being ready for the
desktop at the rate it's progressing.
That said, on to the issue. The issue is when using Wine holding in
the ALT key and then using the Mouse 2 button, or right mouse button,
brings up a context menu. Which in itself is fine, except it usually
happens in a game, like Guild wars, ALT selects only certain players,
and Mouse 2 pans the camera. So my question(s) are...
Sounds like your window manager is trapping alt-right clicks. Not
enough details about what your environment is to continue.

--
Paul Johnson
[email protected]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://www.winehq.org/pipermail/wine-us ... chment.pgp
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Post by oViXo »

It's the Wine team that is loosening the tyrannical grip of the
"Other" software company on the computer using community worldwide,
while at the same time making it easy for Linux users to still have
the use of the programs they are used to, in turn making a transition
of operating systems easy.
Theres one word missing in that that kinda changes the whole meaning of the statement, what it should have read...

It's the Wine team that is loosening the tyrannical grip of the
"Other" software company on the computer using community worldwide,
while at the same time making it easy for new Linux users to still have
the use of the programs they are used to, in turn making a transition
of operating systems easy.

I'm not sure of what kind of info you'll need, but heres a start. On every version of Wine from 9.3(ish) to current on desktop managers KDE and Gnome. Linux distributions where it happens in Wine =

Slackware 9, 10, 11, 12, and 12.1 (KDE),
Ubuntu 6.06 to 8.04 (Gnome)
Fedora Core 3 to Fedora 9 (Gnome)
SuSE 10 to 10.3 (KDE & Gnome)-I'll try 11 in a few days
Linux Mint based on Ubuntu 7.10 (Gnome)
Debian Sarge, Etch, Lenny (KDE & Gnome)
Mandriva 2007 & 2008 (KDE & Gnome)

Those are all the distributions I've tried with different versions of Wine with my non Linux native programs where the context menu pops up when I'm holding the ALT key and use the Right mouse button. Its the same context menu that pops up when you use the Right mouse button on a program in the system tray in Linux.

Just post what other info you need. Anything to resolve this.
THANKS for your help.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

You again failed to do what I asked you to do.

I'm telling you the last time this is standard behavior of ALL window managers. You have to disable this IN WINDOW manager NOT Wine.

You can run Wine in it's own X display if you can not configure your window manager (or refuse to do so).
njmacinnes

Wine Question or Suggestion?

Post by njmacinnes »

I don't know about KDE, but in Gnome, go to System > Preferences > Windows.
Under Window movement select 'Super (or "Windows logo")'. That should free
up your Alt key for whatever you need.
-N

2008/6/16 vitamin <[email protected]>:
You again failed to do what I asked you to do.

I'm telling you the last time this is standard behavior of ALL window
managers. You have to disable this IN WINDOW manager NOT Wine.

You can run Wine in it's own X display if you can not configure your window
manager (or refuse to do so).





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Post by oViXo »

Thanks for the replys, it is much appreciated. :)

I'll look into it and post a reply with any success or failure. I had to tank my o/s's due to a mobo failure. I'll be a couple days until I get a new rig up and running. Currently I'll be using a Gnome desktop manager.

Incidentally the option to edit "Keyboard Shortcuts" was hidden and the only option I was able to choose was "Keyboard" which didn't allow me to disable any combo key's.
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Solved

Post by oViXo »

I'm back to having a working rig.

It seems that the problem was that for whatever reason Wine views the keyboard shortcut to "Activate window menu" option of "Alt+Space", as "Alt+Right mouse button".

Once I was able to un-hide the option of "Keyboard Shortcuts" (System -->Preferences -->Keyboard Shortcuts -->Window Management -->Activate Window menu), and change "Alt+Space" to "Alt+something else" the problem of it happening in Wine using Alt+Right Click stopped.

Using the new version of Ubuntu (8.04) the menu option "Keyboard Shortcuts" option is not hidden. Also on my own computer the fore mentioned workaround is successful in OpenSuSE 11 as well. Both o/s's are using the Gnome Desktop/Window manager. I'm not sure how to get to the "Keyboard Shortcuts" option in KDE.

THANKS again for all of your posts and suggestions!
oViXo
Level 1
Level 1
Posts: 9
Joined: Sun Jun 01, 2008 10:05 am

Problem is Back

Post by oViXo »

It seems that the problem of the "Activate Window Menu" popping up when you hold the ALT key and clicking the Right mouse button is back when using programs that Wine has launched. Both versions 1.1.0 and 1.1.1 of Wine this happens using the Gnome Desktop Manager, under Ubuntu 8.04 and OpenSuSE 11.

Gnome sees the command as ALT+Space for some reason Wine does it when using ALT+Mouse2. With the option disabled in Gnome, it still happens in Wine. I went further and disabled ALL Windows Management keyboard shortcuts in both operating systems and Wine Still does it.

Anyone have any suggestions?
Locked