How to open a window in the centre of the screen on Linux Mint 14.

The Gdevilspie utility.

If you want to be able to start a window in the centre of the screen without using Compiz, then the Gdevilspie utility will perform this task admirably. Firstly install this application using the command below. You do not need any extra PPA`s if you are installing this on Linux Mint 14.

john@adeptus-mechanicus ~ $ sudo apt-get install gdevilspie 
[sudo] password for john:
The Gdevilspie utility.
The Gdevilspie utility. ready to go.

After installation, go to Menu > Accessories > gDevilspie and start the application up. Then tick the “Start devilspie daemon automatically at login” box and then click start to start the Gdevilspie deamon. Click the Add button and name a new rule. Under the Matching tab, tick ‘application_name’ and type “Mozilla Firefox”, for example, in the ‘matches’ box. Under the Actions tab, tick ‘center’. Click the Save button, then your new rule will be in effect.

The Gdevilspie rules editor.
The Gdevilspie rules editor.

This will create a new rule that will make sure your Firefox window will always be in the middle of the screen when it is started up. The screenshot below shows how to define the rule that centers the window.

Centering the window.
Centering the window.

More information about this application:  https://apps.ubuntu.com/cat/applications/gdevilspie/.

Post a Comment

Your email is kept private. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Current ye@r *