On Wed, 09 Feb 2005 11:07:19 +0100, Alexandre Aractingi
<aar...@li...> wrote:
> > The problem I encounter is that MGT doesn't restore its state when new
> > gnome-session starts. When I select the "save current setup" when
> > logging out from the gnome-session, MGT stores its positions into some
> > configuration files. When I log in again, MGT is shown in the previous
> > positions, but it doesn't remember its geometry (i mean the size of
> > the terminal). Instead, MGT shows very small window which shows only
> > the parts of the title bar and menu. I also have the same problem with
> > FC3.
>
> I think it's more a Gnome problem... I use XFce and my session restores
> MGT with geometry.
> Can you try with other GTK-1 applications to see if it's related to
> GTK-1 vs GTK-2?
>
I tried xmms, which i think gtk-1 application since it depends only on
libgtk1.2, not on libgtk2. xmms restores its status without any
problem.
I will describe the situation in more detail. (which I have done in
the first post...)
* I have the following entry in ~/.gnome2/session
0,id=117f000001000110797778700000030440002
0,Program=multi-gnome-terminal
0,CurrentDirectory=/home/mgcho
0,DiscardCommand=rm /home/mgcho/.gnome//multi-gnome-terminal-AcW1en/
0,CloneCommand=multi-gnome-terminal --sm-config-prefix
/multi-gnome-terminal-AcW1en/
0,RestartCommand=multi-gnome-terminal --sm-config-prefix
/multi-gnome-terminal-AcW1en/ --sm-client-id
117f000001000110797778700000030440002
* The following is the content of ~/.gnome//multi-gnome-terminal-AcW1en
[0]
bak_cmds= None
bak_cmds_names=Shell
bak_cmds_paths=/home/mgcho
bak_cmds_classes=Config
geometry=80x24+434+92
tabclass=Config
winclass=Win-Config
terminal_id=0
termname=xterm
start_terminal_factory=false
use_terminal_factory=false
[dummy]
num_terms=1
[factory]
start=0
use=0
* And, if I run the RestartCommand stored in gnome-session file as
follows *after* log-in, MGT restores its status successfully.
$ multi-gnome-terminal --sm-config-prefix
/multi-gnome-terminal-AcW1en/ --sm-client-id
117f000001000110797778700000030440002
* However, it makes the following warnings.
class: Config prefix: /MultiTerminal/Win-Config/
Gnome-WARNING **: invalid gnome config path 'termname=xterm'
Gnome-WARNING **: invalid gnome config path 'start_terminal_factory=false'
Gnome-WARNING **: invalid gnome config path 'use_terminal_factory=false'
Gnome-WARNING **: invalid gnome config path 'terminal_id=-1'
* So, my guess is that 1) MGT saves its status correctly, and 2) there
is a problem when MGT is executed for restore when logging in.
Any idea/comment where I should look at?
Thanks in advance, again.
Min-gyu Cho
|