You are not logged in.

#1 2013-10-25 00:23:38

Dornith
Member
Registered: 2013-02-19
Posts: 84

i3 make windows open in constant arangement

I use gimp and cinelerra a fair bit, but every time I open them I have to rearrange all the windows.  I was wondering if there is any way to force them to open in a constant configuration?

Here are images of what I hope to make i3 do by default:
Cinelerra-CV: http://farm3.staticflickr.com/2890/1046 … f14c_o.jpg
GIMP: http://farm8.staticflickr.com/7418/1046 … 37dc_o.jpg

Offline

#2 2013-10-25 17:01:46

mikemintz
Member
Registered: 2013-08-02
Posts: 10

Re: i3 make windows open in constant arangement

I think there's no simple solution yet:

https://faq.i3wm.org/question/2106/can- … -it-later/

But you might find some hints here:

https://faq.i3wm.org/question/2425/idea … -on-login/
https://faq.i3wm.org/question/2026/auto … x4-layout/
https://faq.i3wm.org/question/245/how-c … n-startup/

My proposed solution would be as follows:

1. Open gimp with https://github.com/drbig/i3-exec-wait (I've never used it, but it looks like it can wait until your windows are all open). I'm assuming there are command line options to open with all of the windows you want.

2. After i3-exec-wait has completed, run a script to focus each of your windows one at a time and issue i3-msg commands. I think you can use "xdotool windowfocus" for focusing, and things like "i3-msg move down'

Offline

#3 2013-10-25 17:35:06

progandy
Member
Registered: 2012-05-17
Posts: 5,280

Re: i3 make windows open in constant arangement

For GIMP you could use the single window mode, it should look similar.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

Board footer

Powered by FluxBB