5

I am currently facing a slight problem with Lubuntu.

When I open a new window, it is placed on the top left. I find this annoying because I moved my panel to the top, and therefore the window border looks the same as the panel.

How do I make it launch on the center?

6

Open the configuration file with text editor, I'll use leafpad as it was the default editor.

leafpad $HOME/.config/openbox/lubuntu-rc.xml

Scroll to the last line, search for </applications> tag, located before. Once you found it, paste following to line before </applications> tag:

<application type="normal">
  <position>
    <x>center</x>
    <y>center</y>
  </position>
</application>

Finally, apply new configuration by reconfiguring openbox:

openbox --reconfigure

Try opening program, notice now they now pop up on the center of screen.

  • it's working, thanks man – Ridgwell J. Mar 9 at 16:58

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.