Small Issue: Centering Application Ubuntu 8.10

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
czerro
Newbie
Newbie
Posts: 4
Joined: Fri Mar 27, 2009 5:51 am

Small Issue: Centering Application Ubuntu 8.10

Post by czerro »

I recently migrated to ubuntu 8.10, from fedora 10 and opensuse 11.1 before that. Curiously, when in fullscreen mode wine draws applications to the upper left of the screen as opposed to center. Im sure there is a simple command line param to fix this, I don't see it in the wiki though...
czerro
Newbie
Newbie
Posts: 4
Joined: Fri Mar 27, 2009 5:51 am

Post by czerro »

To elaborate:

Desktop = 1024x600
App = 800x600

When running App in fullscreen mode App is rendered in the upper left hand portion of my monitors full resolution as opposed to being centered in it. I have never had this issue with any other distribution, but as I said it seems there should be a parameter if not to center, to force x and y offsets
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

czerro wrote:To elaborate:

Desktop = 1024x600
App = 800x600

When running App in fullscreen mode App is rendered in the upper left hand portion of my monitors full resolution as opposed to being centered in it. I have never had this issue with any other distribution, but as I said it seems there should be a parameter if not to center, to force x and y offsets
Make sure you have that 800x600 resolution available from X.

To verify run 'xrandr' command. It will list all available video mods. If 800x600 isn't there you need to add it to xorg.conf and restart X.
czerro
Newbie
Newbie
Posts: 4
Joined: Fri Mar 27, 2009 5:51 am

Post by czerro »

Well, that occured to me, but...

I am running linux (again ubuntu 8.10 currently) on a lenovo s10 netbook. Most of its hardware is integrated intel and integrated oem-only hardware. I've wrestled with a lot of distributions getting everything working correctly, but oddly some of the distributions like Fedora 10 and Ubuntu 8.10 apparently do not use xorg.conf. I'm guessing whatever intel drivers these particular distributions are using has usurped xorg.conf's control, but I have no idea where this configuration file is and I would be wary of messing with it. This is my scantly configured xorg.conf:

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Obviously a lot of information is missing. Infact looking at my xorg.conf I would think x11 wouldn't work. Yet I run gnome with compiz with no issues...

Since I have puzzled over this issue for a while with many distributions with no solution, it doesn't seem like a viable way to tackle the problem. Secondly as far as I can tell, there are no other supported resolutions for the netbook LCD outside of 1024x600. Forcing them through xorg.conf in distros that actually use xorg.conf simply breaks the windows manager (opensuse 11.1). Fedora 10 will display wine programs running in fullscreen mode of a resolution that is smaller than the desktop centered in the screen (geez is there an easier way to say that?).

There really isn't a wine parameter to control the render position of the app in reference to the desktop?
Locked