PDA

View Full Version : Wine desktop with fixed placement and no decorator?


Winston
January 17th, 2008, 06:20 PM
I have kubuntu gutsy and compiz fusion installed from repo and everything works pretty much as it should, except a few things.

I've got two screens and am using twinview with these and have figured out that if I run fullscreen applications in wine in a virtual desktop with the same size as one of my screens (1280x1024) I can play and do other stuff at the same time absolutely perfect. This makes gaming in linux ten times more pleasant than in windows :)

However I need to remove the decoration for this to be done, in kwin it's real easy but how do I make it work with compiz? I think I could simply add "!title=something" in windows decoration options in the compiz configs. Removing any makes all window decos disappear.

"any | !title=" should work but how do I figure out what to type after = ?

Also I want to change move windows from ALT + Button1 to SUPER + Button1 but everytime I try it just reverts back. Very annoying.

And last but not least :) I want the scale plugin at button8, it works but I have to keep button8 pressed, would rather have it toggle. Doable?

Winston
January 26th, 2008, 02:54 PM
| means or, & means and. So the line in Window Decorator should be any & !name=explorer.exe
This will disable window decoration around Wine Desktop windows.
Thanks.

I pretty much found out how to do it here. (http://wiki.compiz-fusion.org/WindowMatching)

I still can't use fixed placement. I can place all other applications but wine desktop get the same placement all the time.

Deciare
January 26th, 2008, 03:50 PM
Also I want to change move windows from ALT + Button1 to SUPER + Button1 but everytime I try it just reverts back. Very annoying.
Half of that is a bug (bug 565 (http://bugs.opencompositing.org/show_bug.cgi?id=565) on bugs.opencompositing.org) with the GConf configuration backend, and half of that is a design decision.

Open ccsm, click on Preferences near the lower-left corner, then disable the option labelled Enable integration into the desktop environment. If that doesn't work for you, also change the Backend to Flat-file configuration backend.

And last but not least :) I want the scale plugin at button8, it works but I have to keep button8 pressed, would rather have it toggle. Doable?
That is also a bug (bug 11331 (https://bugs.freedesktop.org/show_bug.cgi?id=11331) on bugs.freedesktop.org). A patch (https://bugs.freedesktop.org/attachment.cgi?id=11924) has been posted for the problem, and I've confirmed that it works, but it seems that nobody else is paying attention to it.

It seems that we would like to use the same mouse binding for Scale. ^_^ It corresponds to the left thumb button, here.

I still can't use fixed placement. I can place all other applications but wine desktop get the same placement all the time.
Works for me when matching by 'name=explorer.exe'. You're putting the rule into ccsm->Place Windows->Fixed Window Placement->Windows with fixed viewport?

Though you did mention you were using two screens, and if it's a physically separate screen, I'm not sure how you would go about doing that.

some-guy
January 29th, 2008, 12:46 AM
what about ccsm->Place Windows->Fixed Window Placement->Windows with fixed positions, and set the x, y value :D

Winston
February 5th, 2008, 03:10 PM
what about ccsm->Place Windows->Fixed Window Placement->Windows with fixed positions, and set the x, y value :DYeah and I've done that, it works for every application EXCEPT winedesktop...

wingnux
March 2nd, 2008, 08:49 AM
Is there any way to make wine run fullscreen (without a virtual desktop) when running compiz? When I try to do it the taskbar stays on top of wine's window and then it makes the whole wine screen go black =/

Almost the same thing happens to sdlmame, it won't go fullscreen because of the taskbar but it works fine, tough.