After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 578941 - remember last used geometry and use it if i open a new terminal
remember last used geometry and use it if i open a new terminal
Status: RESOLVED WONTFIX
Product: gnome-terminal
Classification: Core
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-14 16:08 UTC by Mark
Modified: 2010-03-30 14:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mark 2009-04-14 16:08:57 UTC
Hi,

Just a minor annoyance in gnome-terminal is that is doesn't remember the size i set it to.

My proposed way of doing this:
1. Add 2 gconf keys in /apps/gnome-terminal/profiles/Default
 -- x-geometry (or x-size)
 -- y-geometry (or y-size)
2. when the terminal is loaded it looks at those 2 conf values for it's size
3. when a resize is done those 2 values will be updated with the new size

And that should be roughly all that's needed to remember and use the size of the last used terminal.

And i can imagine a few special cases.
1. Multiple terminals are open with multiple sizes
 - In this case update the size if you close a terminal resulting in the last closed terminal as the new size for the next one that you open.
2. How would you do a terminal that's never resized but maximised right after it's opened and multiple terminals are open.. If you close all terminal windows and the maximised one as the last one then you next terminal will open maximised.. which is probable wrong.

another idea for the profiles might be an extra option that says:
[x] Next terminal uses last known size (or something like it)
which would be on by default from gnome 2.30 (?) and can be turned off for those that just want to use the default size that's specified somewhere (in the code??)

I hope you like this idea and that it can be implemented in gnome-terminal

Mark.
Comment 1 Ben 2010-03-30 05:02:18 UTC
Someone reported this downstream as well (https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/360752). 

I like mark's ideas, I think it should be an option in the profile settings.

I can not confirm but the downstream bug reporter is claiming that this worked in older versions.
Comment 2 Behdad Esfahbod 2010-03-30 14:59:30 UTC
We now have settings for default size of the terminal.  I don't think we want to remember the last used geometry.

The user may have been referring to the session save stuff?