PDA

View Full Version : [ubuntu] Windows open in top left corner



tad1073
February 20th, 2009, 02:15 AM
How do I get my application windows to open in the middle of my screen?

Or at least the first window.

Or how do I get conky to be always on top?

cph05a
February 20th, 2009, 02:52 AM
I'm not sure that there is a setting for controlling where all your applications open. When you're writing an application using GTK+, you can specify where you want the window to open. The default location is the top left corner.

If you're interested, here's how you can tell your own GTK app to open in the center:

gtk_window_set_position(GTK_WINDOW(window), GTK_WIN_POS_CENTER);

jeffjohnson
March 5th, 2009, 06:58 PM
Did you ever get this fixed. I am having the same problem. It happened after I did a system Restore.