How can I detect whether something is selected in Dolpin's right pane?

The selection will never be accessible through dbus. That’s on purpose.
That’s a security hazard if any program can poke at the current files you are working on in dolphin.

This.
We would need a new option as X-KDE-MinNumberOfUrls, something like X-KDE-IgnoreCWD X-KDE-SkipCurrentWorkdingDirectory.

1 Like