Dolphin: Backup/Restore Shortcuts?

This is starting to frustrate me beyond measure… For my “restore / deploy” scripts I want to safeguard the keyboard shortcuts from dolphin on one of my machines so I can duplicate them to others. I found ~/.config/dolphinrc and ~/.local/share/kxmlgui5/dolphin/dolphinui.rc, but neither of those seems to contain my custom shortcuts?

Go to Preferences, Keyboard, Keyboard shortcuts and there are a Import/export option at the upper right corner.

Or… take a look at the end of this file: /home/your_user_name/.config/kglobalshortcutsrc

2 Likes

You can also export shortcuts directly from Dolphin. Go to Configure → Configure Keyboard Shortcuts → Manage Schemes → More Actions → Export Scheme :wink:

2 Likes

Thank you for the replies.

I found those, but since linux prides itself on being “everything can be commandline” (and I’ve succeeded on capturing setup of most of my other tools in a script already) I was hoping to do the same for dolphin but it is proving difficult.

Hi @Blizz,

This might help:

https://askubuntu.com/a/1017921

I just created a custom shortcut for some action in Dolphin and it appeared in this file. :man_shrugging:

Can you not simply recursively search for a known pattern in ~/.local/share and ~/.config ?

2 Likes