suse 9.3, kde 3.4.0: gvim session does not restore correct
Hi, I am running Suse 9.3 with the standard KDE 3.4 that comes along with it. In the control center I have enabled that the session should be restored as before logging out. That works fine so far, however, if I have gvim open with several files loaded, after logging into KDE again, gvim comes up empty. Now I was reading through the vim/gvim documentation and the KDE documentation and haven't found whether gvim itself or KDE is responsible to restore the buffers again. What I understand is that from KDE the kmserverrc file is responsible to specify what session needs to be restored. However, that file is only setup in my home directory if I store the session manually. When I do it, with a gvim open, I don't see an entry for that gvim session. Where else does KDE know to restore it? Gvim has the command :mksession <filename> to store the current session to a file. However, in order to restore that session gvim needs to be called with the <filename>. That sounds like KDE would need to initiate that command when shutting down gvim and starting it again with the session filename? Can anybody shed some light on where I have to look in order to get this going? Thanks for your help. Guenter
Hi, i don't know about gvim, but afaik KDE will only restore native KDE applications that were started when you logged out. If gvim is no KDE app, then this would explain why it is not restored upon re-login. Maybe there are indeed some tricks to have KDE restore a non-KDE app, but i can't help you there. HTH, Robert
-----Original Message----- From: dannoritzer@web.de [mailto:dannoritzer@web.de] Sent: Friday, August 19, 2005 12:54 AM To: suse-kde@suse.com Subject: [suse-kde] suse 9.3, kde 3.4.0: gvim session does not restore correct
Hi,
I am running Suse 9.3 with the standard KDE 3.4 that comes along with it. In the control center I have enabled that the session should be restored as before logging out. That works fine so far, however, if I have gvim open with several files loaded, after logging into KDE again, gvim comes up empty.
Now I was reading through the vim/gvim documentation and the KDE documentation and haven't found whether gvim itself or KDE is responsible to restore the buffers again.
What I understand is that from KDE the kmserverrc file is responsible to specify what session needs to be restored. However, that file is only setup in my home directory if I store the session manually. When I do it, with a gvim open, I don't see an entry for that gvim session. Where else does KDE know to restore it?
Gvim has the command :mksession <filename> to store the current session to a file. However, in order to restore that session gvim needs to be called with the <filename>. That sounds like KDE would need to initiate that command when shutting down gvim and starting it again with the session filename?
Can anybody shed some light on where I have to look in order to get this going?
Thanks for your help.
Guenter
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
participants (2)
-
Günter Dannoritzer
-
Robert Graf-Waczenski