manually reload Dolphin session?

Bug Reporter bugreporter11 at gmail.com
Tue May 8 18:08:19 BST 2018


Thanks for the helpful responses. See comments inline.

On Tue, May 8, 2018 at 1:23 AM, Duncan <1i5t5.duncan at cox.net> wrote:

> Bug Reporter posted on Mon, 07 May 2018 18:49:16 -0400 as excerpted:
>
>
> > I often keep a lot of tabs open in Dolphin and I would like to be able
> > to open all those tabs / locations again. I have seen an old feature
> > request for Dolphin saved sessions. I'm not asking for that. I just want
> > to know if I can do it manually. For example, I see some older session
> > files that seem to belong to Dolphin. Here's an example:
> >
> > /home/myuser/.config/session/
> dolphin_10d1d6cd65000151042956000000012150067_1510464775_250905
> >
> > Are files like that currently used by Dolphin? If I have one, can I
> > reload it into Dolphin?
>
> AFAIK those are your kde/plasma session restoration files, not dolphin
> session files.
>
>
That could be. See next comment.

>
> The default is restore the previous session, and these session files are
> the session-manager's method of tracking what's open, with window sizes
> and locations, virtual desktop, activity, etc.
>
> That dolphin file, therefore, is unlikely to contain specific information
> about the dolphin session, but rather, where your dolphin windows were in
> that particular session when you logged out.
>
>
If I leave Dolphin open when I log out of Plasma desktop, upon logging back
in Dolphin is restored with all my open tabs and each location within the
split views of those tabs remembered as well. It even remembers which tab
was active. So not only is window size and position remembered, but many
details of the Dolphin session are remembered. Since this can be done when
logging out of the desktop, my preferred solution is to find where that
info is stored, make a copy of it with a "session name" and then load it
manually on demand. I assume I might have to use the dbus scripting hint
provided below by stephen to accomplish this. However, I guess the first
obstacle is finding there this Dolphin session info is saved. I have not
been able to find it yet.

On Tue, May 8, 2018 at 11:07 AM, Stephen Dowdy <sdowdy at ucar.edu> wrote:

>
> dolphin has a DBus interface that you can script as well.
>
> Looks like here's a good example of using a small bit of this interface:
>
> https://github.com/schmunsler/personal-scripts/blob/master/dolphin
>
> Of course, loading common directories/URLs into the places container is
> useful for quick recall.
>
>
Thanks stephen. Where can I learn more about scripting Dolphin in this way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20180508/587accab/attachment.htm>


More information about the kde mailing list