[dolphin] [Bug 502770] Dolphin does not restore open tabs when "Show on startup" is set to "Folders, tabs, and window state from last time"

"Rafael Linux User" <[email protected]>
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=502770

--- Comment #45 from Rafael Linux User <[email protected]> ---
I’m sorry for sending another message here, but this is really the solution for
all those who, like me, don’t have a backup of the contents of the ~/.config/
folder.

As I mentioned in my previous email, I found it really strange that the size of
my file "dolphin_dolphin_dolphin" was much larger than the other copies, and it
was very frustrating to have lost the more than 8 tabs with dual panels that I
usually keep open (I manage servers). Well, determined to find out what was in
that file, I discovered the simplest solution using a text editor to recover
your "lost" tabs without needing backups:
1 - Close Dolphin
2 - Run "kate ~/.config/session/dolphin_dolphin_dolphin"
3 - Search (Ctrl + F) for the text "Tab Data" and go to the last line where
that text appears. For example, for me, the last line containing that string
was "Tab Data 9=". Take note of the number and add 1 to it. In my case, 10.
4 - Go to the beginning of the file, find the line "Tab Count=", and change the
number there to the one you calculated. For me, it became "Tab Count=10".
5 - Save the file
6 - Open Dolphin and magically, all your tabs will reappear.

And now, I’ll stay quiet.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.