Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-13-2014, 02:27 PM   #1
Senior Member
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Question: Controlling newly opened window placement in Xfce

Using Xfce4 windows manager, my goal is to open all new windows positioned to the farthest upper-right corner of my desktop. I have a row of application launchers running down the left side of my desktop that I would like to leave always visible. I am getting tired of having to move newly opened windows around manually. I have played with Xfce's Settings->WindowsManagerTweaks->Placement, set the slider to "Large", but the best I can do is to have non-maximized windows placed at the center of the screen (better than nothing, but not exactly what I want). I want upper-right.

Is there a way to do this using wmctrl or devilspie? I have heard of these two utilities, but have not used either one personally. It would be nice if I could have a general setup to cover all newly created windows, but if a unique setup has to be created for every different application window, so be it.
Old 08-14-2014, 01:06 PM   #2
LQ Addict
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i fear that xfwm (xfce window manager) is not tweakable in this way, at least not without a tool like wmctrl.

wmctrl has an option
-e <MVARG>
Resize and move a window that has been specified with a -r action according to the <MVARG> argument.
it should be possible to do sth with that.

usually positioning geometry starts with 0,0 in the top left corner - sometimes it's possible to use negative values to start counting from the opposite side, so -0,-0 might or might not refer to the bottom right corner.

you might want to consider moving your launchers to the right side of the screen.

or use a different window manager - it's not too difficult to change them in xfce.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to stop newly opened window from getting focus santana Linux - Software 1 05-08-2008 09:55 AM
Opera - changes to newly opened tab badgerbox76 Linux - Software 2 05-10-2006 06:26 AM
Newly opened Fvwm Forum! weather Linux - General 3 12-12-2004 09:44 AM
newly opened terminal shows bash-2.05$ instead of path jang Linux - General 6 01-18-2004 05:21 PM
window placement JunLitsu Linux - Software 0 04-24-2003 12:47 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration