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.

C

painkiller101

12 years ago

Thank you for your comment.

That's right. Like i wrote into the changelog i just added compression support for multiple files.
Supporting multiple files for extraction is not that goog idea.

First szenario:
By choosing more than one archive the servicemenu appears for the first one, which is f.e. a tar.gz-archive. If the second one is a zip-archive the script, which is executed by the servicemenu, would first extract the tar-gz one and then the zip archive. But this script can't extract zip archives, because it uses the tar-command.

Second szenario:
I could also remove the limitation of only one file and let every selected archive extract after the other. This sounds not bad, but if you choose f.e. 10 archives to extract, a Dialog, which says that the extraction is done, will appear 10 times and doesn't look very good.

Because of these problems i decided to limit the number of simultan extractions to one file.
If you like the second szenario look inside your servicemenu directory to edit the files extract_***.desktop and change the "%F" to "%f".
Try it out and give me your feedback.

Thank you in advance.

Report

amr2205

12 years ago

I missed this feature when recently installed kde4, but now we got it!
Thank you very much for the effort you have made!

Report

C

painkiller101

12 years ago

Thank you for your feedback!

It's nice to hear that so many other people missed that.

Report

artemisfowl2007

12 years ago

Just a reccommendation about the changelog section.

It would be better, to my view, if you only provided the changes of the last 1-2 versions in the Changelog section. Providing all the changelog makes the project page a bit "heavy". The previous changes can be of course be preserved in a ChangeLog file in the tarball.

Yet, if you really want to provide all the changelog in the project page, the latest changes should be always up. The reason for this is because most users that would read the changelog (including me) don't want to scroll down all the page.

;-)

Report

C

painkiller101

12 years ago

Thanks for this hint!

It's already changed;-)

Report

artemisfowl2007

12 years ago

Nice. It is much better now :)

Report

dovidhalevi

12 years ago

If I run as user and then enter the root password, the thing just sits there.

If I run sudo, it cannot get to all that kde3 stuff it is running. Get rid of that--we are using kde4! I made a symlink so it could find kdesu but the folder dialog did not work and there were other error messages.

Meanwhile, I am willing to copy the stuff manually like before. Please give me instructions.

Thanks.

Report

C

painkiller101

12 years ago

First of all thank you for your comment.

Btw before you are saying that installation problems exist for you, make clear that you are using KDE3. This servicemenu is espacially for KDE4.
I've done this servicemenu, because a servicemenu like this existed in KDE3 but not KDE4. That's also the fact why I used kde4-prefixes.

But if you want to use this servicemenu in KDE3 just copy the *.desktop files to
$HOME/.kde/share/apps/konqueror/servicemenus
and the scripts, including the dialogs, to
$HOME/bin.
For systemwide installation copy the *.desktop files to
$KDE/share/apps/konqueror/servicemenus
and the scripts, including the dialogs, to
/usr/local/bin

I hope that this will help you and you understand why i can't remove the kde4-prefixes.

Report

Damijan

12 years ago

Hi,

Any chances to enable multi files compressing? At the moment you can choose just one file to compress. You cannot choose e.g. 5 files and select to compress it.

Would it be possible to enhance this great option in menu and add an extra option like 'Select multiple files to compress/extract'?

Many thanks,

D.

Report

C

painkiller101

12 years ago

Hello,

this feature, beside a progressbar or activity notification, is really a thing i would like to have in this servicemenu, but is also a thing which isn't really easy to do. Until then i limited the number of compressing files/folders to only one.

I'll see what i can do, but don't want to promise too much.

Thanks again for your feature request!

Report

GuSArg

12 years ago

Mmmm... limited to just one?
Compressing files is not only matter and a tool if we could compress the size of one file, but is useful to compress many files in just one package... So i think is very necessary for a common use.

As well, the progressBar or something that shows that the operation is running, cause imagine a very large file, a common user will not notice what is happening.

Cheers.

Report

C

painkiller101

12 years ago

Hi,

with the new Version (1.4) multiple file selection for compression is added.
I hope you like it and give suggestions if you want.

Report

goona

12 years ago

Jo, a "real" progressbar would be a "Killer-Feature". But it should be a realtime-thing, and not a bar that roll forward and back again, like in Ark...&...&...&...

Report

lazyboy

12 years ago

the problem with the installer is gone :)
thx

Report

C

painkiller101

12 years ago

Oh, that's fine!

Thank you again for your feedback.

Report

Mar91

12 years ago

I have found 2 bug:

If you have an archive and a folder with the same name and you try to extract the archive, the folder will be overwritten by the extracted files.

If you change the extension ( i tried from zip -> nth ( nokia theme ) ) and you try to extract, you get an empty folder.

Great app :)
Good Luck!

Report

C

painkiller101

12 years ago

Thank you for your feedback!

The first problem is a thing that i have to improve.
Actually the standard extraction method is that the extracted archive will overwrite existing files.
to change this i will have two possibilities:
1. showing a dialog that ask if you want to overwrite or not
2. automatically adding "(2)" or "_2" at the end of the extracted archivenames.

The second problem has something to with the structure of this servicemenu.
By now if extraction is chosen the script looks at the fileextension and decides what to do. This makes the whole source of this servicemenu smaller and lighter, but causes your problem.
To solve this dirty problem the amount of the source will raise definitely a lot. But it has to be solved.
just give me some time.

For now i've added the extension *.nth to the extraction script. Just download the servicemenu again.

Thank you again for reporting this problems!

Report

lazyboy

12 years ago

The problem is not fixed and I don't think it's related to white spaces, because there are no white spaces in the path.

The message now is:
Command '/home/mikko/.eandatemp/src/copyroot.en' not found.

I'm executing the script from: /home/mikko/ExtractAndCompress_v1.2.1/INSTALL.sh

Report

C

painkiller101

12 years ago

Ok, slowly i'm getting crazy with this problem, because it doesn't exists for me anymore.
Could you please download the archive again, because i've edited the INSTALL file once more, which make this file, that doesn't execute for you, exclusively executable.
please write back with results.

Thank you!

P.S.: Does anybody else have this problem?

Report

google01103

12 years ago

yes"

chosen installation type: systemwide
mv: cannot move `.' to `.eandatemp': Device or resource busy
cp: cannot stat `/root/.eandatemp/copyroot': No such file or directory
chmod: cannot access `/root/.eandatemp/src/copyroot.en': No such file or directory
./INSTALL.sh: line 79: cd: /root/.eandatemp/src: No such file or directory

Report

C

painkiller101

12 years ago

Hello,

can you tell me exactly how you execute the INSTALL.sh file?
I'm wondering if you're always logged in as root or you just executed the file as root.

Thanks in advance.

Report

google01103

12 years ago

I installed logged in as root when I posted the error, starting as user seems to give the same error

thanks,

Report

C

painkiller101

12 years ago

Ok,
could you please execute it (as normal user) like this
sh "/path/to/folder/INSTALL.sh"
in a konsole and post me the output again while clicking through the installation-steps?

Thank you.

Report

C

painkiller101

12 years ago

Ok, I've updated the install script.
I think, hope and pray that all these problems are fixed now.

Thank you guys for reporting it!

Report

C

painkiller101

12 years ago

Interesting!

I'll look at this once more.
Just to point it out:Just clicking the INSTALL.sh file should also work, right?

Thank you again for your feedback!

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