I am using Unity on Ubuntu 16.10.

When I open a terminal, the window appears in the top left corner.

How can I get it to open in the center of the screen?

  • Near duplicate of 143422
    – ubfan1
    Jan 28, 2017 at 23:00

1 Answer 1


You can use the --geometry charsxline+x+y to select both size and position of a program, like gnome-terminal. Adjust the x and y to fix your display, they are in pixels. Edit the file /usr/share/applications/gnome-terminal.desktop adding to the "Exec" line, for example:

Exec=gnome-terminal --geometry 130x24+500+400

Save and exit.
Close all existing open terminals, and the new ones will have the selected geometry.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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