Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I make a compiz window rule for the terminator terminal? If you read this post, you will see that terminals will resize uncontrollable. I am using the terminator terminal and need to set a window rule so it will stop resizing when I open it.

I installed compiz but I can't find instructions on how to set up a rule. Bill from the linked thread so he was able to solve this problem with window rules which has inspired to do the same except I have no idea on what to do.

I read a few of the post on compiz and window rule but one was close and the others weren't helpful.

share|improve this question
    
David Timms gave a fuller walk through of Bill's instructions here: <bugzilla.redhat.com/show_bug.cgi?id=707664#c11>; Were you able to follow those instructions? –  Phoeey Sep 15 '13 at 4:08
    
No. I dont understand resize terminal –  dustin Sep 15 '13 at 4:18
    
Ah, ok. When he says "use mouse to move and resize gnome-terminal to desired pos/size" he means that (1) you can click-and-drag on the Terminal's title bar to move the window around and (2) when you hover the mouse cursor over one of the edges or corners of the window (the mouse cursor will change) you can click-and-drag to manually resize the window. –  Phoeey Sep 15 '13 at 4:23
    
I have resized the window correctly but now what? –  dustin Sep 15 '13 at 4:25
add comment

1 Answer 1

up vote 3 down vote accepted

If you have compiz running...You can try to create a window rule with compizconfig-settings-manager

Example:

1) Open a Terminal and type:

  • sudo apt-get install compizconfig-settings-manager compiz-plugins

2) Open the compizconfig-settings-manager and go to Window Management > Window Rules

enter image description here

3) Click to enable the Window Rules and go to the tab Size Rules, then New

enter image description here

4) Fill the Width and Height and click in the Plus button

enter image description here

5) Open the application to the rule (my case gnome-terminal) and click in the Grab button in the new window named "Edit Match". (I will match with the Window Class)

enter image description here

6) Now the cursor is a cross and click in the application for the rule (my case gnome-terminal)

enter image description here

7) To finish.. click in the Add button.

8) Now in my case when I open the gnome-terminal will be resize to 200x100.

enter image description here

Hope it helps.

share|improve this answer
    
So I would put terminator-terminal instead of gnome correct? –  dustin Sep 15 '13 at 4:36
    
@dustin ... yes the gnome-terminal was an example. you should open the terminator terminal and make the rule for it. –  Roman Raguet Sep 15 '13 at 4:39
    
Thanks that worked. It started to resize but revert right back. –  dustin Sep 15 '13 at 4:40
    
@dustin. Glad to help...just in case, to revert the changes you should go to the rule and then delete it. –  Roman Raguet Sep 15 '13 at 4:42
add comment

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.