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.

Sometimes when I resize a window in gnome 3 and then switch tasks, the window snaps back to it's previous size. How can I make it retain the size that I change it to?

For instance, if I drag at the sides of a terminal window to make it a new size it will resize, however when I click on any other window the size of the terminal will shrink back to exactly the same size it was before I resized it.

It might only be the terminal window that does this. Other windows I have seem retain their size.

share|improve this question
1  
please a little bit more details to be clear and avoid too wide range of answers ... what do you means for "making it stick" ? –  swift Mar 25 '13 at 8:51
1  
it sounds like an environment bug or conflict ... if it isn't related to the Terminal settings then I think it can be some compiz overrides conflict. –  swift Mar 26 '13 at 1:16
    
i guess i can check the compiz settings... it's been a while. –  leech Mar 26 '13 at 15:26
add comment

2 Answers

Usual user settings for a Terminal window sizing based on the rows and columns.
Not a pixel size. So you need change Profile Preferences.

Edit > Profile Preferences > General > Default Size ( columns / rows )

Or to maintain different window sizes for Terminal you can create new profiles for each:

Edit > Profiles > New
Name your new profile and tune it.
Later you can switch them Terminal > Change Profile

Also window sizing templates already exist in menu Terminal

Update:

However, also look this Q/A:
Setting gnome-terminal window size from within ~/.bashrc

it means that ~/.bashrc configuration can override columns/rows size.

share|improve this answer
1  
Thanks, i tried changing the size by switching profiles, but it didn't retain the size when i switched windows. Default helps when creating a new terminal, but not the one I have presently. Even changing the size with the "Terminal" menu will not be retained by the Terminal when the window is switched. –  leech Mar 26 '13 at 15:24
1  
I used the default profile size, created a new window, and merely moved my tabs to the new window. I guess that's the best that can be done now. –  leech Mar 26 '13 at 15:48
    
updated answer –  swift Apr 1 '13 at 10:41
1  
The answer does not specify this so I thought I would clarify. For some reason setting a Custom starting width and height in the Default profile suddenly gives the resulting terminal an ability to remember its dragged final size--having it as blank causes it to snap back –  harijay May 9 '13 at 21:54
    
Yes you're right. I will edit this answer. Be free to help and we can compose better answer together :) –  swift May 20 '13 at 16:29
add comment
up vote 1 down vote accepted

This is apparently a bug.

https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/1040885

They mentioned a workaround, select the first tab and resize. Apparently this only happens when the first tab isn't selected.

share|improve this answer
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.