KDE Dolphin integration fore restore file

Asked by Pascal d'Hermilly

Is there any chance of having Deja Dup integration in KDEs filemanager Dolphin?
I'm guessing it's a question of making two right-click actions...

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Pascal d'Hermilly
Solved:
Last query:
Last reply:
Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) said :
#1

Adding two files to /usr/share/kde4/services/ServiceMenus integrates deja dup into Dolphin:

deja_dup_restore_missing_files.desktop:
---
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=inode/directory
Actions=DejaDupRestoreMissingFiles

[Desktop Action DejaDupRestoreMissingFiles]
Name=Restore missing files in folder
Name[da]=Genskab manglende filer i mappen
Icon=edit-find
Exec=deja-dup --restore-missing "%U"
---
and
deja_dup_restore_file.desktop:
---
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=application/octet-stream
Actions=DejaDupRestoreFile

[Desktop Action DejaDupRestoreFile]
Name=Revert to previous version...
Name[da]=Tilbagevend til tidligere version...
Exec=deja-dup --restore "%U"
---

Will you consider adding this?

Revision history for this message
Michael Terry (mterry) said :
#2

I dig the idea, but it is unlikely to be added, for two reasons:

1) Deja Dup has a tight focus on GNOME and its shells ( see http://live.gnome.org/DejaDup/Mission#Targeted )

2) The nautilus plugin is relatively smart and actually only provides the context item on files in the user's backup. I would expect similar functionality from a dolphin plugin.

Revision history for this message
Pascal d'Hermilly (pascal-tipisoft) said :
#3

I understand 2) so I just documented my approach to other KDE users in this blog entry about how to integrate deja-dup into dolphin.
http://pascalandreas.wordpress.com/2012/04/04/integrate-deja-dup-into-kde-dolphin-and-konqueror-5/

Revision history for this message
Christian González (droetker) said :
#4

Why not just add a deja-dup-kde package, beginning with just this .desktop file for dolphin integration? Would be very easy and a good start.