Re: [Evolution] How to make Evolution remember its main window size--revisited



On 1/20/2010 11:40 AM, George Reeke wrote:
Dear colleagues,
    I am adding to this thread from last summer because a new piece
of information has come to light which might help someone give me
the answer.
    The problem was and is that, at least in RedHat EL5 with
Evo 2.12.3, after a reboot, Evo comes up with a small default
window size.  After it is resized, the new size comes back when
Evo dies, as it does about twice a day, and is restarted from its
panel icon.  Previous posts on this list mostly suggested using
gconf editor to adjust the window size.  In my hands, the size
set in this manner was not remembered.
    The new information is this:  I noticed that the small window
only comes up when Evo is on the desktop and the desktop setup
is remembered so Evo starts up automatically after the reboot
and restart of X.  If I remove Evo from the remembered setup
[I'm not sure what I did to cause this, it just disappeared recently],
i.e. so Evo does not come up automatically when startx is done,
then start Evo from the control panel icon, it comes up with the
correct larger window size that I set it to last time.
    Does this make sense to anybody?  It looks like the remembered
startup configuration is stored somewhere with a wrong window size,
and if I could find and edit that, instead of the startup window
size set in gconf editor and used when starting from the panel icon,
then everything would be OK.
    Many thanks for any insight on this,
    George Reeke


_______________________________________________
Evolution-list mailing list
Evolution-list gnome org
http://mail.gnome.org/mailman/listinfo/evolution-list

google for references to gnome user session storage.  If i had to guess, your user session would be kept in
$HOME/.config/gnome-session/ -- but that's a guess



I prefer to NOT have nautilus take ownership of my desktop, so I changed the RestartCommand for nautilus in /usr/share/gnome/default.session to be --no-desktop. So on startup, nautilus doesn't take control -- and, if i accidentally start it such that it does take control, I can kill it and the restart won't.

$ cat /usr/share/gnome/default.session
# This is the default session that is launched if the user doesn't
# already have a session.
# The RestartCommand specifies the command to run from the $PATH.
# The Priority determines the order in which the commands are started
# (with Priority = 0 first) and defaults to 50.
# The id provides a name that is unique within this file and passed to the
# app as the client id which it must use to register with gnome-session.
# The clients must be numbered from 0 to the value of num_clients - 1.

[Default]
num_clients=3
0,id=default0
0,Priority=0
0,RestartCommand=gnome-wm --default-wm gnome-wm --sm-client-id default0
1,id=default1
1,Priority=10
1,RestartCommand=gnome-panel --sm-client-id default1
2,id=default2
2,Priority=20
2,RestartCommand=nautilus --no-desktop --no-default-window --sm-client-id default2




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]