Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there a general program, that start my GUI program, and able to specify the size and location of this program ? Not just X programs, but also other GUI libs.

share|improve this question
    
You could also start the application, and then use wmctrl to set window size (see also How to set window size and location of an application on screen via command line? - Unix & Linux Stack Exchange); however, you need a window ID to wmctrl, and I'm not sure what is the best way to get it non-interactively. –  sdaau Feb 19 at 14:38

1 Answer 1

up vote 4 down vote accepted

Devil's Pie does have such an option. See e.g. the Ubuntu wiki and this howto. In X11 parlance, a window's size and location make up its geometry. Write something like

(if (is (application_name) "Foo")
    (geometry "400x200-0+20"))
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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