You are not logged in.

#1 2012-09-30 20:24:01

Yorak
Member
From: Pennsylvania
Registered: 2007-06-09
Posts: 12

[Solved] XFCE - Having Trouble Centering Windows

So I am a bit OCD, and I would like my terminal window to open up perfectly centered on my screen (actually, I would prefer everything to open in the center). I tried Window Manager Tweaks --> Placement, setting the size to small and to open at the center of the screen, but it still does not work. Thunar nor the terminal will open in the center of the screen while some settings menus will. Any idea what I could do here to fix this? I read up about xfwm4-tiling package, and to be perfectly honest I am not entirely sure how to use it. From the looks of it, this is probably much more than I need, but if it works - great. Any help would be greatly appreciated. :-)

- Yorak

Last edited by Yorak (2012-10-01 03:29:05)

Offline

#2 2012-09-30 21:35:15

Yorak
Member
From: Pennsylvania
Registered: 2007-06-09
Posts: 12

Re: [Solved] XFCE - Having Trouble Centering Windows

I solved this problem by using devilspie. I remember that package from a long long time ago, surprised it still works so well. I did not have anything specific for the window to do other than to open centered on the screen, so the following script worked wonders:

(if
    (is (application_name) "Terminal")
    (begin
       (center)
    )
)

Offline

Board footer

Powered by FluxBB