KDE Dolphin

Dolphin Config Files Location

  • https://stackoverflow.com/questions/71307393/dolphin-kde-sidebar-config-file-location-for-backup-and-export
KDE-Dolphin main configuration:

~/.config/dolphinrc (stowed)

~/.local/share/kxmlgui5/dolphin

~/.local/share/dolphin/view_properties

~/.local/share/kxmlgui5/dolphin/dolphinui.rc.

KDE-Dolphin sidebar and bookmark configuration:

~/.local/share/user-places.xbel (stowed)

KDE-Dolphin keyboard shortcuts configuration:

~/.config/kdeglobals

~/.config/kglobalshortcutsrc

~/.config/khotkeysrc

Remember Display Style for Each Folder

20240912_121146.png

Adjust the Default Settings:

92f1c93c665c008474ac57bc29cf3607.png

KDE DBUS

I jumped down the KDE dbus rabbit hole recently, trying to figure out how to replicate some of my XYplorer File Manager automation flows in Linux with the Dolphin file manager.

paru -S qt6-tools-desktop to install QT6 QDBUSViewer

Get All instances of dolphin

pgrep dolphin or qdbus6 org.kde.dolphin-* to view all dbus connectable instances of dolphin or qdbus6 | grep 'dolphin' to view all dbus connectable instances of dolphin

Get Objects

qdbus6 org.kde.dolphin-##### to list the object paths available on Dolphin

The dolphin process number changes each time: org.kde.dolphin-####, i need to get a list of dolphin processes and then use that process ID for the below commands instead of #####

  • Toggle Focus the terminal panel, if terminal is focused main window will be refocused qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/focus_terminal_panel org.qtproject.Qt.QAction.trigger

  • Copy Location of selected file: qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/copy_location org.qtproject.Qt.QAction.trigger

  • Trigger split view: qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/split_view org.qtproject.Qt.QAction.trigger

  • Open terminal HERE (cd current folder)

  • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/open_terminal_here org.qtproject.Qt.QAction.trigger

  • View details mode:

  • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/details org.qtproject.Qt.QAction.trigger

  • View ICONS mode:

  • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/icons org.qtproject.Qt.QAction.trigger

  • Sort by name (text)

  • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/sort_by_text org.qtproject.Qt.QAction.trigger

  • sort by modification time qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/sort_by_modificationtime org.qtproject.Qt.QAction.trigger

  • change the ascending/descending option for current column

  • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/ascending org.qtproject.Qt.QAction.trigger

  • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/descending org.qtproject.Qt.QAction.trigger

  • Undo closed tab

    • qdbus6 org.kde.dolphin-##### /dolphin/Dolphin_1/actions/undo_close_tab org.qtproject.Qt.QAction.trigger

https://freeaptitude.altervista.org/articles/playing-with-dbus-and-kde-applications-part-2.html

Available object paths:

 qdbus6 org.kde.dolphin-46051
/
/FileUndoManager
/MainApplication
/Sessions
/Sessions/1
/Windows
/Windows/1
/dolphin
/dolphin/Dolphin_1
/dolphin/Dolphin_1/actions
/dolphin/Dolphin_1/actions/open_kcommand_bar
/dolphin/Dolphin_1/actions/hamburger_menu
/dolphin/Dolphin_1/actions/file_new
/dolphin/Dolphin_1/actions/new_tab
/dolphin/Dolphin_1/actions/add_to_places
/dolphin/Dolphin_1/actions/file_close
/dolphin/Dolphin_1/actions/file_quit
/dolphin/Dolphin_1/actions/edit_undo
/dolphin/Dolphin_1/actions/edit_cut
/dolphin/Dolphin_1/actions/edit_copy
/dolphin/Dolphin_1/actions/edit_paste
/dolphin/Dolphin_1/actions/copy_to_inactive_split_view
/dolphin/Dolphin_1/actions/move_to_inactive_split_view
/dolphin/Dolphin_1/actions/show_filter_bar
/dolphin/Dolphin_1/actions/toggle_filter
/dolphin/Dolphin_1/actions/edit_find
/dolphin/Dolphin_1/actions/toggle_search
/dolphin/Dolphin_1/actions/toggle_selection_mode
/dolphin/Dolphin_1/actions/toggle_selection_mode_tool_bar
/dolphin/Dolphin_1/actions/edit_select_all
/dolphin/Dolphin_1/actions/invert_selection
/dolphin/Dolphin_1/actions/split_view
/dolphin/Dolphin_1/actions/split_view_menu
/dolphin/Dolphin_1/actions/popout_split_view
/dolphin/Dolphin_1/actions/split_stash
/dolphin/Dolphin_1/actions/view_redisplay
/dolphin/Dolphin_1/actions/stop
/dolphin/Dolphin_1/actions/editable_location
/dolphin/Dolphin_1/actions/replace_location
/dolphin/Dolphin_1/actions/go_back
/dolphin/Dolphin_1/actions/undo_close_tab
/dolphin/Dolphin_1/actions/go_forward
/dolphin/Dolphin_1/actions/go_up
/dolphin/Dolphin_1/actions/go_home
/dolphin/Dolphin_1/actions/compare_files
/dolphin/Dolphin_1/actions/open_preferred_search_tool
/dolphin/Dolphin_1/actions/open_terminal
/dolphin/Dolphin_1/actions/open_terminal_here
/dolphin/Dolphin_1/actions/focus_terminal_panel
/dolphin/Dolphin_1/actions/options_show_menubar
/dolphin/Dolphin_1/actions/options_show_statusbar
/dolphin/Dolphin_1/actions/options_configure_keybinding
/dolphin/Dolphin_1/actions/options_configure
/dolphin/Dolphin_1/actions/activate_tab_0
/dolphin/Dolphin_1/actions/activate_tab_1
/dolphin/Dolphin_1/actions/activate_tab_2
/dolphin/Dolphin_1/actions/activate_tab_3
/dolphin/Dolphin_1/actions/activate_tab_4
/dolphin/Dolphin_1/actions/activate_tab_5
/dolphin/Dolphin_1/actions/activate_tab_6
/dolphin/Dolphin_1/actions/activate_tab_7
/dolphin/Dolphin_1/actions/activate_tab_8
/dolphin/Dolphin_1/actions/activate_last_tab
/dolphin/Dolphin_1/actions/activate_next_tab
/dolphin/Dolphin_1/actions/activate_prev_tab
/dolphin/Dolphin_1/actions/show_target
/dolphin/Dolphin_1/actions/open_in_new_tab
/dolphin/Dolphin_1/actions/open_in_new_tabs
/dolphin/Dolphin_1/actions/open_in_new_window
/dolphin/Dolphin_1/actions/open_in_split_view
/dolphin/Dolphin_1/actions/create_dir
/dolphin/Dolphin_1/actions/renamefile
/dolphin/Dolphin_1/actions/movetotrash
/dolphin/Dolphin_1/actions/deletefile
/dolphin/Dolphin_1/actions/delete_shortcut
/dolphin/Dolphin_1/actions/duplicate
/dolphin/Dolphin_1/actions/properties
/dolphin/Dolphin_1/actions/copy_location
/dolphin/Dolphin_1/actions/basic_actions
/dolphin/Dolphin_1/actions/icons
/dolphin/Dolphin_1/actions/compact
/dolphin/Dolphin_1/actions/details
/dolphin/Dolphin_1/actions/view_mode
/dolphin/Dolphin_1/actions/view_zoom_in
/dolphin/Dolphin_1/actions/view_zoom_reset
/dolphin/Dolphin_1/actions/view_zoom_out
/dolphin/Dolphin_1/actions/zoom
/dolphin/Dolphin_1/actions/show_preview
/dolphin/Dolphin_1/actions/folders_first
/dolphin/Dolphin_1/actions/hidden_last
/dolphin/Dolphin_1/actions/sort_by_text
/dolphin/Dolphin_1/actions/sort_by_size
/dolphin/Dolphin_1/actions/sort_by_modificationtime
/dolphin/Dolphin_1/actions/sort_by_creationtime
/dolphin/Dolphin_1/actions/sort_by_accesstime
/dolphin/Dolphin_1/actions/sort_by_type
/dolphin/Dolphin_1/actions/sort_by_rating
/dolphin/Dolphin_1/actions/sort_by_tags
/dolphin/Dolphin_1/actions/sort_by_comment
/dolphin/Dolphin_1/actions/Document
/dolphin/Dolphin_1/actions/Image
/dolphin/Dolphin_1/actions/Audio
/dolphin/Dolphin_1/actions/Video
/dolphin/Dolphin_1/actions/Other
/dolphin/Dolphin_1/actions/sort
/dolphin/Dolphin_1/actions/ascending
/dolphin/Dolphin_1/actions/descending
/dolphin/Dolphin_1/actions/show_size
/dolphin/Dolphin_1/actions/show_modificationtime
/dolphin/Dolphin_1/actions/show_creationtime
/dolphin/Dolphin_1/actions/show_accesstime
/dolphin/Dolphin_1/actions/show_type
/dolphin/Dolphin_1/actions/show_rating
/dolphin/Dolphin_1/actions/show_tags
/dolphin/Dolphin_1/actions/show_comment
/dolphin/Dolphin_1/actions/Document
/dolphin/Dolphin_1/actions/Image
/dolphin/Dolphin_1/actions/Audio
/dolphin/Dolphin_1/actions/Video
/dolphin/Dolphin_1/actions/Other
/dolphin/Dolphin_1/actions/additional_info
/dolphin/Dolphin_1/actions/show_in_groups
/dolphin/Dolphin_1/actions/show_hidden_files
/dolphin/Dolphin_1/actions/view_properties
/dolphin/Dolphin_1/actions/lock_panels
/dolphin/Dolphin_1/actions/options_configure_toolbars
/org
/org/freedesktop
/org/freedesktop/FileManager1
/org/kde
/org/kde/dolphin
[yuriy@ELatitude14 Downloads]$ 


Last updated on September 12, 2024. For any questions/feedback, email me at blog@zinchuk.xyz.