Integrate Deja-dup into KDE Dolphin

Deja-dup is an excellent backup program – however it does not have integration with KDEs filemanager dolphin. Integration meaning that you can right click in a folder and select “restore missing files” or right click a file and select ‘Revert to previous version’

Adding “Restore missing files” to directory

Create a file the following in “~/.kde/share/kde4/services/ServiceMenus/dejadup_restore_missing.desktop”

[Desktop Entry]
[Desktop Action DejaDupRestoreMissingFiles]
Name=Restore missing files in folder
Name[da]=Genskab manglende filer i mappen
Exec=deja-dup --restore-missing "%U"

Adding “Revert to previous version”

Create a file the following in “~/.kde/share/kde4/services/ServiceMenus/dejadup_revert.desktop”

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

The above integrates deja-dup just for your user. Adding it to the following path will make it available to all users of your computer.


More documentation of the KDE servicemenus can be found here:


4G Telia USB-modem in denmark works out-of-the-box with Kubuntu linux 11.10

I just want to let you know that the Telia 4G usb modem (Huawei E392) works out of the box with Kubuntu Linux 11.10.

The guy in the store said they didn’t support linux, but I was allowed to try it out and when I threw it in I had to wait 10-15 seconds before network-manager had discovered it (due to Huawei modems think they have to emulate a CD in order to auto-install in Window, WTF! ).
After that I chose “Manage connections” in network-manager and added a new mobile broadband connection. It suggested the modem (yipee) and I chose country and provide. Within 2 seconds of clicking on the new connection I was online with this fast new modem 🙂

Very nice. So the support on Kubuntu linux 11.01 is good and I it should be the same on ubuntu since it the same base system.
BTW. I use KDE SC 4.8 (standard in 11.10 is 4.7. But now less than a month from official Kubuntu 12.04 release that uses KDE 4.8). I have no idea if it inflicts on anything with the network-manager plasma widget being developed a lot lately.

PDF stationery with the PDFCreator watermark option

I just wanted to let you know that PDFCreator (an open source pdf printer for windows) can merge your stationary PDF with whatever you are PDF-printing. The option is called watermarking, but it just merges the pages. Thus if you have a text document with “test” and you print it to a PDF with PDFCreator that is configured with your company stationary logo paper you will get a PDF with your logo paper and the text “test”.
It can be configured through Options when you print to a pdf. I created new profile called “company letter paper” and I enabled the run-after-pdf-script called “watermark”-something.

If you plan to deploy this to a bunch of machines I suggest reading this post although it is a bit old, it can still be used. I’ve used 1.0.2 for deploying, it works quite well.

Changing the name of ubuntu linux network interface.

As you attach network interfaces to Linux it will give it names.
The first network interface that is connected will usually be called eth0 if is a wired network interface.
If you have changed you network interface some times, your standard interface can now be called eth5 or something like that. It doesn’t bother a regular user, but it might be annoying from an administrators point of view that you don’t know the name of the interface.

Anyway, to change the name of the ethernet interface from eth5 to eth0 in ubuntu you just need to edit the file:

An example of the content of the file is:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="52:54:00:76:da:63", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

Just change the NAME from eth2 to eth0 if that is what you want to do.