Batch convert documents

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

2
Become a Fan
7.5

Description:
A KDE service-menu which uses OpenOffice's (or LibreOffice) UNO bindings to convert many document formats to pdf, html...

Dependencies:
unoconv
notify-send

Installation:
sudo install -m 755 batch-convert-documents-kde /usr/bin/
sudo install -m 755 batch-convert-documents-kde.desktop $(kde4-config --prefix)/share/kde4/services/ServiceMenus/

Other:
I made a GNOME version and some nautilus scripts, you can find theme in the source
If prefer command line to this stuff, you will certainly use unoconv tool
*Note: If you are running some office windows for some documents, this script will use the first window you opened as listener to convert documents. If not you won't normally start office until all conversions finished

Type 'batch-convert-documents-kde --help' for more information.
Last changelog:

0.2-3
- Fixed hang on libre office 3.4.4
0.2-2
- Fixed auto removing empty sub-folders
0.2
- Auto remove empty sub-folders
- Check supported formats of input and output file
- Support converting all files in selected directory (no recursion by default - optional)
- Write log
- Copy log path to the clipboard (optional)
- Check dependences
0.1-4
- Arrange files list in ascending order
- Added simple sharing listener among multiple conversions
- Built OpenSuse package
0.1-3
- Removed 'kdebase' from dependences list
0.1-2
- Fix notifying wrong message when no file is converted successfully
0.1
- The first release


Ratings & Comments

10 Comments

nandelbosk

Hi, congratulations for this script! Using clean Ubuntu 11.04 works well! Using clean Gentoo install don't work. Using clean Kubuntu 11.10 don't work. The process hang on working until I kill oosplash.bin, then the process finishes and the PDF is created. Any clue to solve that? I'm using libreoffice 3.4.4. Thank's!

tongphe

Sorry I'm late. Fixed it!

nandelbosk

Thank's to you! It's better late than never! ;)

jerry3904

Installed the deb on MEPIS 11 (based on Debian Stable), and it silently removed the entire LibreOffice beta suite. If this is under your control, please add a dialog box so user can decide whether to proceed.

tongphe

Sorry, I have no idea why your packages manager removed LibreOffice 3.4.3 Unoconv only requires LibreOffice >= 2.0, and my package doesn't require any version of dependences

roctheme

I cannot install the ubuntu-package on natty amd64 kde 4.6.5: unresolved dependencies: kdebase

Phorious

Wow, pretty nice idea :) > unresolved dependencies: kdebase Maybe you must install kdebase-dev for compiling?

roctheme

Why compiling? I took the package for ubuntu (*.deb).

tongphe

OK Its resolved I just removed kdebase package from the dependences list. It seems that package is named variously in various linux desktops

roctheme

Thanks, now the *.deb-package works.

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 20 years ago

Score 5.0



System Tags