Is it possible to define a Dolphin bookmark with two folders that opens in "split view"?

I frequently copy (or move) data from one directory to another (surprise :slightly_smiling_face:)

While I can open directories through bookmarks, I need to do that manually for each panel of the split view, after enabling split view.

Currently my workaround is to use a shell script that starts Dolphin using --new-window --split directory1 directory2 (the --new-window is necessary, because -split won’t open a split view in an existing window)

But using a shell script either means navigating to the script’s directory first, or put a link on the desktop. So it would be nice if that is somehow possible through a single click inside Dolphin’s bookmarks.

Is that possible?

No, it doesn’t…

Put it in your path! I made scripts for stuff like connecting the phone, changing the audio, and then renamed them ‘audiosw’ and ‘connph’ and moved them into my ~/.local/bin folder - launch those from a keyboard shortcut, or launch from krunner.

dolphin --split ~/mnt/T3/TV /mnt/T4/TV

For balancing/deleting storage and stuff that didn’t get handled by Sonarr…

Now it’s saved as a file in bin called tv-balance.

I used to do it with a mouse gesture, but now krunner is the next fastest (No mouse gestures on Wayland)…

You could probably do it with ‘session management’ but I didn’t really think of that at the time… and using zoxide (F4 terminal) makes it really simple to jump about and manage the panels and locations.

I think sessions just restores the last state… so not what you want here.

1 Like

there is a 3rd party service menu to compare using meld that could easily be adopted to open any two selected folders in a split view using your command line … you would of course still need to use the bookmarks to navigate the folders.

if you are not familiar with service menus, they are not that complicated and can be really handy.

the bookmarks.xml is in your ~/.local/share/Dolphin if you wanted to write a script to parse that.

Thanks, that looks interesting. I will have a look.

Something to consider, just an idea. To get you started.

Some servicemenu, let’s name it heavytry:

[Desktop Entry]
Type=Service
Icon=qa.svg
X-KDE-ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
Actions=Heavy
X-KDE-Priority=TopLevel
#X-KDE-Submenu=
Encoding=UTF-8

[Desktop Action Heavy]
Name=HeavyTry
Icon=qa.svg
Exec=dolphin --new-window --split %F $(kdialog --getexistingdirectory)

What it does is open a split from a chosen kdialog directory. Far from perfect. Just an idea.