Extract And Compress KDE4

Dolphin Service Menus

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
5 .8
Description:

This is a Service Menu to compress and extract files and folders.

After a long period of not maintaining this servicemenu (Sorry, sorry, sorry!), I'm back to fix some bugs and add translations.
Because of having Ark and it's Service Menu back, I won't add new features or make a huge rework of this one.

Thanks for your appreciation.


Installation:
1. Download and extract
2. go inside the extracted folder
3. execute the install-script (install.sh) and follow the dialogs
4. enjoy:-)

NOTE: The programs p7zip, bunzip2, bzip2, gzip, rar, unrar, tar, zip, unzip and unace must be installed.

Supported languages:
German, English, French, Italian, Spanish, Chinese Simplified, Portuguese (Brazilian), Czech, Polish, Turkish, Danish, Russian and Catalan.

NOTE:
If your language isn't supported yet then just do this:
- add your language strings to the .desktop-files
- go inside the dialogs-folder
- add your language strings to the dialog-scripts
- send me a message
Last changelog:

11 years ago

v1.4.4

- added detectection for local servicemenu-folder inside install-script (thanks to bitcrazy)
- fixed bug in root-uninstallation
- fixed corupted translation files (thanks to rakekniven)
- fixed non-XDG-Standard desktop-files (thaks to sarhugo)
- fixed bug that doesn't istalled "extrac_7zip_pw_to_folder" as root (thanks to superandrzej)
- added catalan translation (thanks to lesergi)

--------------------------------
v1.4.3

- added russian translation (thanks to peabody for the translation!)

---------------------
v1.4.2

- added danish translation (thanks to cb400f for the translation!)

---------------------
v1.4.1

- added uninstall-script (uninstall/uninstall.sh)

---------------------
v1.4

- added support for compressing multiple files to one archive (by choosing more than one file/folder a dialog appears and asks for a nome of the archive - NOTE: If you choose bz2 or gz and you selected more than one file, a tar.bz2 or tar.gz archive will be created)
- renamed INSTALL.sh to install.sh

-------------------------------

You will find a complete changelog inside the archive.

echoes

12 years ago

i am working with 7zip archives.

Report

C

painkiller101

12 years ago

Hi,

while i've tested it with all filetypes and espacially with 7z (extracting here, extracting to,, and extracting to subfolder) i can't find a problem with files that have a '#' in their name. Sorry.

Do you actually use the newest version of this servicemenu?

Report

GuSArg

12 years ago

Hi!

It is much to ask a progress bar if is possible?

Cheers.

Report

C

painkiller101

12 years ago

No, it's not too much ;-)

I had this already in mind but i still have to learn a bit more about dbus calls.

It will be implemented after 1.0 i think.

Report

GuSArg

12 years ago

Thanks ;)

Report

mherbert

12 years ago

Hi,
first: why have I seen this only now...
Thats something I really missed...

I have seen that you use a static localprefix for your installation and that some people have problems with it...
perhaps you can use:

LOCALPREFIX=`kde4-config --localprefix`
cp compress.desktop $LOCALPREFIX/share/kde4/services/ServiceMenus

to install the files in case some got another directory structure

Mark

Report

C

painkiller101

12 years ago

Thank you for this hint!

I'm not really a guru in scripting you can see. But I'm trying my best.

Thanks again!

Report

mherbert

12 years ago

me neither ;)
I had to look how to declare variables before I wrote that :D but I knew that there is "kde4-config" which can give you a lot of useful infos about your kde-installation...

Report

GuSArg

12 years ago

When i try to extract a file, it says that can't find extract.sh.

Any tip?

Report

goona

12 years ago

I have to move the scripts to `/usr/lib/kde4/bin`. After that it`s working.

Report

GuSArg

12 years ago

Yeah... I've modified the .desktop files to specify my own path to scripts anyway, to not mess with system kde4 path.

Report

C

painkiller101

12 years ago

Hello and sorry for my late answer.

I forgot to hint that other distributions than mine use another dir-structure for this.
But good to hear that it works now for you.

Report

chrisKA

12 years ago

Can't you use GNU gettext to do the internationalisation? Creating a copy of the complete set for every language looks like a real PITA.

Report

C

painkiller101

12 years ago

Hello and thank you for this hint!

I'll look how to implement it and think that it will be supported soon.

Instead of this it's not real PITA for now to make a complete set for every language, because just 6 files have to be translated (with a one line string) and the desktop-files are all the same.

But thanks again for your useful hint!

Report

rowancompsciguy

12 years ago

I forgot how much I missed having these convenient service menus in KDE4.

Report

nihui

12 years ago

hi,
I've made translation for Chinese Simplified.

Here it is.
http://ftp.magiclinux.org.cn/nihui/kde4/tmp/ExtractAndCompress_v1.0RC1-Chinese_Simplified.zip

;)

nihui

Report

C

painkiller101

12 years ago

Hello and thank you very much for your translation work!

I've uploaded it now for everyone's availability.

Thanks again.

Report

arandamandi

12 years ago

A little bug
tar.bz2 compressed file
has only "extrat here" voice.

p.s=someone can translate in italian
this app?
Thanks

Report

C

painkiller101

12 years ago

Hello.

This bug is now fixed!

For an italian translation i have to translate the servicemenus (not much work) and the dialogboxes inside the scripts (a little bit more work)

if you translate me the following strings i'll try make it available a soon as possible:

Extract here, Extract to...,Extract to subfolder, Enter path, Please enter the password, Extraction, Compression, Extraction done, Compression done.

Thank you!

Report

arandamandi

12 years ago

Extract here=Estrai quà
Extract to..=Estrai in..
Extract to subfolder=Estrai nella sottocartella
Enter path=Inserisci percorso
Please enter the password=Per favore inserisci la parola chiave
Extraction=Estrazione
Compression=Compressione
Extraction done=Estrazione terminata
Compression done=Compressione terminata

I found another little bug
if i try to extract a file with .tgz
extension return an error.
Thanks

Report

C

painkiller101

12 years ago

Hello and thank you for the translation!

I've uploaded the italian version and added compression to tgz-files.
I extracted tgz files and couldn't reproduce this bug. Can you tell me the exact error message and which extraction action you used?

Thanks!

Report

arandamandi

12 years ago

Bug is solved now.
For the tranlation,thanks
but is better

"Comprimi in"
and not
"Comprimere a"

Report

C

painkiller101

12 years ago

Sorry for that mistake.

It's corrected now.

Report

goona

12 years ago

I just noticed that I can`t extract archives if they are on a ntfs-partition. It comes a message that the archive has been completely unpacked, but nothing is happened.

If the archive is on a ext3-partition everything works perfectly.

Has any other this problem too?

Report

C

painkiller101

12 years ago

Maybe it has something to do with writing permissions. Do you have them set on your ntfs-partition?

Also the 'Extraction done' dialog is just a static text which executes after the extraction-commands are finished.

Report

11 years ago

v1.4.4

- added detectection for local servicemenu-folder inside install-script (thanks to bitcrazy)
- fixed bug in root-uninstallation
- fixed corupted translation files (thanks to rakekniven)
- fixed non-XDG-Standard desktop-files (thaks to sarhugo)
- fixed bug that doesn't istalled "extrac_7zip_pw_to_folder" as root (thanks to superandrzej)
- added catalan translation (thanks to lesergi)

--------------------------------
v1.4.3

- added russian translation (thanks to peabody for the translation!)

---------------------
v1.4.2

- added danish translation (thanks to cb400f for the translation!)

---------------------
v1.4.1

- added uninstall-script (uninstall/uninstall.sh)

---------------------
v1.4

- added support for compressing multiple files to one archive (by choosing more than one file/folder a dialog appears and asks for a nome of the archive - NOTE: If you choose bz2 or gz and you selected more than one file, a tar.bz2 or tar.gz archive will be created)
- renamed INSTALL.sh to install.sh

-------------------------------

You will find a complete changelog inside the archive.

12345678910
1
product-maker devdol Dec 29 2015 9 excellent
Be the first to comment
usrkl
Nov 13 2009
bobcollard
Aug 26 2009
Montblanc
Mar 27 2009
SeaJey
Jan 04 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.4.4
updated Mar 12 2009
added Jun 28 2008
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6