GNOME Bugzilla – Bug 618696
Remember window size
Last modified: 2011-01-10 09:49:49 UTC
I have a very small scereen (it's not extreme, but 1024x600 is not very large either) and when I start Nautilus, the window is far too large and take most of the screen space. To save space, I reduced the icon size to 75%, but then, the window is now largely empty. I have to resize it manually each time. Spatial mode remembered the size for each folder, and that was neat, now that the browser mode is the default, I'd like Nautilus to remember its last window size. That would of course not be a per-folder setting, but a general setting for all browse windows.
The default window size is covered by other bugs. Let's use this to track the consistency issue.
This seems to be a Compiz issue - it works fine with Metacity/Mutter (new windows inherit the dimensions of the last/only Nautilus window to be open).
(In reply to comment #2) > This seems to be a Compiz issue - it works fine with Metacity/Mutter (new > windows inherit the dimensions of the last/only Nautilus window to be open). Not for me. Even when I do not use compiz, a new nautilus window always launches with the default size, no matter how I have resized the last window. There is no difference between behaviours while using compiz and metacity as the window manager. Also to mention, most other gtk applications I use do remember their resized state even when using compiz. GNOME 2.30.0, openSUSE 11.3 GNOME nautilus 2.30.1 metacity 2.30.1
In GNOME 2.22 nautilus set a gconf key /apps/nautilus/preferences/navigation_window_saved_geometry which took the value corresponding to the last nautilus window size and position. This gconf key is no longer set as far as I can see in GNOME 2.30.0 [nautilus 2.30.1]. If the key is already set (for example from a previous install), then nautilus 2.30.1 reads it correctly and saves it correctly every time. All that is required therefore, in my opinion, is to set the key at install time to an appropriate default.
the key was missing from schemas in nautilus 2.30.x and this was fixed in 2.32.0 to workaround the issue on 2.30 and before, run : gconftool-2 --set /apps/nautilus/preferences/navigation_window_saved_geometry --type string 10x10 one time and then resize the window, size will be remembered. Closing as fixed for 2.32