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.

I often use a stack of terminals one above the other. And I've notice I do it always the same way, resizing each terminal window so as it occupies circa 1/3rd of the screen. I wanted to have a short key for doing this automatically.

Obviously the command exists (cf. fluxbox manual), called ResizeTo.

in ~/.fluxbox/keys I have tried:

  • Shift Mod4 a :ResizeTo -100% -33%

  • Shift Mod4 a :ResizeTo 100% 33%

I've also launched Reconfigure so as to have the new keymapping working. However when pressing Shift + Windows key + a, there is nothing happening.

Any idea what I'm doing wrong ?

share|improve this question
    
Doesn't a restart of Fluxbox help? –  schaiba Jan 27 '13 at 19:35
    
No, it doesn't help. Log out/in neither. I suppose it's my syntax. –  Stephane Rolland Jan 27 '13 at 20:01
    
Check out wmctrl and xdotool - there is a lot on that here, although the question itself is a somewhat different scenario (actually, my answer to that question, would be better as an answer to your question). –  Emanuel Berg Jan 27 '13 at 22:38
    
state, which version of fluxbox you are using. –  akira Jan 28 '13 at 6:58
    
@akira fluxbox --version returns 1.3.2 –  Stephane Rolland Jan 28 '13 at 8:00

1 Answer 1

up vote 2 down vote accepted

For me it does not accept % even though it's documented like that.

If you don't use multiple resolutions try giving it the pixel size without %.

share|improve this answer
    
good ! I have several screens, so I have multiple resolutions. However one of the screens is my main screen, where I always put my stack of terminals into. And for the moment your trick simply does it very well:-). –  Stephane Rolland Jan 27 '13 at 22:25

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.