Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want my program's windows to appear in the center of the screen because when i start a program it all was hides the dock. or if the dock i allways on under them.

And im talking unity here:)

share|improve this question
2  
Possible duplicate - does this AU question and answer help? askubuntu.com/questions/39014/… –  fossfreedom May 4 '11 at 20:15

2 Answers 2

In CompizConfig Settings Manager go to:

Window Management -->Place windows.
Change Placement Mode from Smart to centered.

For me this fixes the problem in 11.04.

share|improve this answer
    
I am using 12.04, and windows were appearing partially under the top panel. I changed this same setting to 'Cascade' a few days ago and it seems to have fixed it. I don't think the 'Smart' setting is very smart :). –  Jazz Aug 25 '12 at 0:28

I guess you can forget about that, right now it's not possible to center windows and apps on the screen. That's why I haven't upgraded to Ubuntu 11.04 yet.

In Ubuntu 10.04.2 you could do it buy either editing the gconf-editor.

/apps/metacity/general/focus_new_windows

smart to centered, and

/apps/compiz/plugins/place/screen0/options/mode

Options are:

Algorithm to use for window placement (0 = Cascade, 1 = Centered, 2 = Smart, 3 = Maximize, 4 = Random)

setting: 1

Or simply by using the compizconfig-settings-manager.

Now both methods do not work under Ubuntu 11.04 anymore!

It freaking sucks to be honest with you, I don't know why linux users are so obsessed with windows popping up on the right or left...

Kind regards, Stuart

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.